summaryrefslogtreecommitdiffstats
path: root/src/shortcuts.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-06-26 19:40:39 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-06-26 19:40:39 +0000
commit1ed5e67c01975040a78765a1cf97b942d736c14b (patch)
tree03edf93ade2b20003f04a517edb3b453efed970c /src/shortcuts.cpp
parent4. further refactor Application class; create proper singleton, encapsulate m... (diff)
downloadinkscape-1ed5e67c01975040a78765a1cf97b942d736c14b.tar.gz
inkscape-1ed5e67c01975040a78765a1cf97b942d736c14b.zip
Convert accidental member accesses into static function accesses
(bzr r13341.5.7)
Diffstat (limited to 'src/shortcuts.cpp')
-rw-r--r--src/shortcuts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shortcuts.cpp b/src/shortcuts.cpp
index 016a48d8f..e72c16de0 100644
--- a/src/shortcuts.cpp
+++ b/src/shortcuts.cpp
@@ -211,7 +211,7 @@ Inkscape::XML::Document *sp_shortcut_create_template_file(char const *filename)
void sp_shortcut_get_file_names(std::vector<Glib::ustring> *names, std::vector<Glib::ustring> *paths) {
std::list<gchar *> sources;
- sources.push_back( INKSCAPE->profile_path("keys") );
+ sources.push_back( Inkscape::Application::profile_path("keys") );
sources.push_back( g_strdup(INKSCAPE_KEYSDIR) );
// loop through possible keyboard shortcut file locations.
@@ -229,7 +229,7 @@ void sp_shortcut_get_file_names(std::vector<Glib::ustring> *names, std::vector<G
gchar *filename = 0;
while ((filename = (gchar *) g_dir_read_name(directory)) != NULL) {
gchar* lower = g_ascii_strdown(filename, -1);
- if (!strcmp(dirname, INKSCAPE->profile_path("keys")) &&
+ if (!strcmp(dirname, Inkscape::Application::profile_path("keys")) &&
!strcmp(lower, "default.xml")) {
// Dont add the users custom keys file
continue;