summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2014-01-17 18:02:54 +0000
committerJazzyNico <nicoduf@yahoo.fr>2014-01-17 18:02:54 +0000
commit34414ec8b460d990ba48b3ed6a8e94dccc260d1f (patch)
tree494605dc5a80ad45b286275b07bcdcee4401a6f1 /src/ui
parentSimplified patch for symbols i18n and typo in .bzrignore. (diff)
downloadinkscape-34414ec8b460d990ba48b3ed6a8e94dccc260d1f.tar.gz
inkscape-34414ec8b460d990ba48b3ed6a8e94dccc260d1f.zip
GTK3 build error in symbols.cpp.
(bzr r12949)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/symbols.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/dialog/symbols.cpp b/src/ui/dialog/symbols.cpp
index 9a154209e..be22c1c5b 100644
--- a/src/ui/dialog/symbols.cpp
+++ b/src/ui/dialog/symbols.cpp
@@ -49,6 +49,7 @@
#include "symbols.h"
+#include "filedialog.h"
#include "selection.h"
#include "desktop.h"
#include "desktop-handles.h"
@@ -539,7 +540,7 @@ void SymbolsDialog::get_symbols() {
gchar *fullname = g_build_filename((*it).c_str(), filename, NULL);
if ( !Inkscape::IO::file_test( fullname, G_FILE_TEST_IS_DIR )
- && ( Glib::str_has_suffix(fullname, ".svg") || Glib::str_has_suffix(fullname, ".vss") ) ) {
+ && ( hasSuffix(fullname, ".svg") || hasSuffix(fullname, ".vss") ) ) {
Glib::ustring fn( filename );
Glib::ustring tag = fn.substr( fn.find_last_of(".") + 1 );