summaryrefslogtreecommitdiffstats
path: root/src/widgets/toolbox.cpp
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2018-11-09 12:01:12 +0000
committerJabiertxof <jabier.arraiza@marker.es>2018-11-09 12:01:12 +0000
commit2a57459e1a0d01debbafe0884eae15fb15ea3745 (patch)
tree0d8101590e06bb6d09d58e71d8cfa7da20021cb9 /src/widgets/toolbox.cpp
parentMove icon-loader and provide a temporary fallback to render pixbuf (diff)
downloadinkscape-2a57459e1a0d01debbafe0884eae15fb15ea3745.tar.gz
inkscape-2a57459e1a0d01debbafe0884eae15fb15ea3745.zip
Fix codding style
Diffstat (limited to 'src/widgets/toolbox.cpp')
-rw-r--r--src/widgets/toolbox.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index 41b237b29..0a7c4c79c 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -137,15 +137,12 @@ GtkIconSize ToolboxFactory::prefToSize( Glib::ustring const &path, int base ) {
return sizeChoices[index];
}
-Gtk::IconSize ToolboxFactory::prefToSize_mm( Glib::ustring const &path, int base ) {
- static Gtk::IconSize sizeChoices[] = {
- Gtk::ICON_SIZE_LARGE_TOOLBAR,
- Gtk::ICON_SIZE_SMALL_TOOLBAR,
- Gtk::ICON_SIZE_MENU,
- Gtk::ICON_SIZE_DIALOG
- };
+Gtk::IconSize ToolboxFactory::prefToSize_mm(Glib::ustring const &path, int base)
+{
+ static Gtk::IconSize sizeChoices[] = { Gtk::ICON_SIZE_LARGE_TOOLBAR, Gtk::ICON_SIZE_SMALL_TOOLBAR,
+ Gtk::ICON_SIZE_MENU, Gtk::ICON_SIZE_DIALOG };
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
- int index = prefs->getIntLimited( path, base, 0, G_N_ELEMENTS(sizeChoices) );
+ int index = prefs->getIntLimited(path, base, 0, G_N_ELEMENTS(sizeChoices));
return sizeChoices[index];
}