diff options
Diffstat (limited to 'src/inkscape.cpp')
| -rw-r--r-- | src/inkscape.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp index 4b5ca297b..3383c5594 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -464,8 +464,8 @@ Application::Application(const char* argv, bool use_gui) : const gchar *gtkIconThemeName; g_object_get(settings, "gtk-icon-theme-name", >kIconThemeName, NULL); prefs->setString("/theme/defaultIconTheme", Glib::ustring(gtkIconThemeName)); - bool gtkApplicationPreferDarkTheme; - g_object_get(settings, "gtk-application-prefer-dark-theme", gtkApplicationPreferDarkTheme, NULL); + gboolean gtkApplicationPreferDarkTheme; + g_object_get(settings, "gtk-application-prefer-dark-theme", >kApplicationPreferDarkTheme, NULL); if (prefs->getString("/theme/gtkTheme") != "") { g_object_set(settings, "gtk-theme-name", prefs->getString("/theme/gtkTheme").c_str(), NULL); } |
