diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2014-01-17 18:07:22 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2014-01-17 18:07:22 +0000 |
| commit | ab4ca32239250dd70c615ec37dad2a552b66038c (patch) | |
| tree | 6312bf1d77f8f28aef44f78880608bab43c5bad9 /src | |
| parent | GTK3 build error in symbols.cpp. (diff) | |
| download | inkscape-ab4ca32239250dd70c615ec37dad2a552b66038c.tar.gz inkscape-ab4ca32239250dd70c615ec37dad2a552b66038c.zip | |
Better fix for GTK3 build error in symbols.cpp.
(bzr r12950)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/symbols.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/symbols.cpp b/src/ui/dialog/symbols.cpp index be22c1c5b..c33920117 100644 --- a/src/ui/dialog/symbols.cpp +++ b/src/ui/dialog/symbols.cpp @@ -38,6 +38,7 @@ #include <gtkmm/liststore.h> #include <gtkmm/treemodelcolumn.h> #include <gtkmm/clipboard.h> +#include <glibmm/stringutils.h> #include <glibmm/i18n.h> #include "path-prefix.h" @@ -49,7 +50,6 @@ #include "symbols.h" -#include "filedialog.h" #include "selection.h" #include "desktop.h" #include "desktop-handles.h" @@ -540,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 ) - && ( hasSuffix(fullname, ".svg") || hasSuffix(fullname, ".vss") ) ) { + && ( Glib::str_has_suffix(fullname, ".svg") || Glib::str_has_suffix(fullname, ".vss") ) ) { Glib::ustring fn( filename ); Glib::ustring tag = fn.substr( fn.find_last_of(".") + 1 ); |
