summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inkscape.cpp4
-rw-r--r--src/inkscape.h2
-rw-r--r--src/ui/interface.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index 569e957d3..d01b53e57 100644
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
@@ -372,7 +372,7 @@ void Application::argv0(char const* argv)
* \brief Add our CSS style sheets
*/
void
-Application::add_style_sheet()
+Application::add_gtk_css()
{
using namespace Inkscape::IO::Resource;
// Add style sheet (GTK3)
@@ -502,7 +502,7 @@ Application::Application(const char* argv, bool use_gui) :
auto icon_theme = Gtk::IconTheme::get_default();
icon_theme->prepend_search_path(get_path_ustring(SYSTEM, ICONS));
icon_theme->prepend_search_path(get_path_ustring(USER, ICONS));
- add_style_sheet();
+ add_gtk_css();
/* Load the preferences and menus */
GtkSettings *settings = gtk_settings_get_default();
if (settings) {
diff --git a/src/inkscape.h b/src/inkscape.h
index 9f3a0948a..9c4b7853f 100644
--- a/src/inkscape.h
+++ b/src/inkscape.h
@@ -199,7 +199,7 @@ public:
gint get_pdf_page() {
return _pdf_page;
}
- void add_style_sheet();
+ void add_gtk_css();
void add_icon_theme();
private:
diff --git a/src/ui/interface.cpp b/src/ui/interface.cpp
index 4aed4843b..38af1a173 100644
--- a/src/ui/interface.cpp
+++ b/src/ui/interface.cpp
@@ -308,7 +308,7 @@ void sp_ui_reload()
i++;
}
SP_ACTIVE_DESKTOP->_dlg_mgr->showDialog("InkscapePreferences");
- INKSCAPE.add_style_sheet();
+ INKSCAPE.add_gtk_css();
prefs->setInt("/options/savewindowgeometry/value", window_geometry);
}