diff options
| author | Matthew Petroff <matthew@mpetroff.net> | 2013-07-19 18:19:03 +0000 |
|---|---|---|
| committer | Matthew Petroff <matthew@mpetroff.net> | 2013-07-19 18:19:03 +0000 |
| commit | ef3bfa7e8bb2996c4042314accc34f6a72f072e1 (patch) | |
| tree | f3f1f82a2fe7586ca3f7bcc17645dd073d8fca6c /src/widgets/toolbox.cpp | |
| parent | Removed "helper/unit-menu.h" from "widgets/rect-toolbar.*" and "widgets/spw-u... (diff) | |
| download | inkscape-ef3bfa7e8bb2996c4042314accc34f6a72f072e1.tar.gz inkscape-ef3bfa7e8bb2996c4042314accc34f6a72f072e1.zip | |
Removed "helper/unit-menu.h" from "widgest/toolbar.*" and associated files.
(bzr r12380.1.30)
Diffstat (limited to 'src/widgets/toolbox.cpp')
| -rw-r--r-- | src/widgets/toolbox.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 687f62420..dcd4360fd 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -49,7 +49,6 @@ #include "../graphlayout.h" #include "../helper/action.h" #include "../helper/action-context.h" -#include "../helper/unit-menu.h" #include "icon.h" #include "../ink-action.h" #include "../ink-comboboxentry-action.h" @@ -1028,7 +1027,6 @@ EgeAdjustmentAction * create_adjustment_action( gchar const *name, gchar const *label, gchar const *shortLabel, gchar const *tooltip, Glib::ustring const &path, gdouble def, GtkWidget *focusTarget, - GtkWidget *us, GObject *dataKludge, gboolean altx, gchar const *altx_mark, gdouble lower, gdouble upper, gdouble step, gdouble page, @@ -1045,9 +1043,6 @@ EgeAdjustmentAction * create_adjustment_action( gchar const *name, Inkscape::Preferences *prefs = Inkscape::Preferences::get(); GtkAdjustment* adj = GTK_ADJUSTMENT( gtk_adjustment_new( prefs->getDouble(path, def) * factor, lower, upper, step, page, 0 ) ); - if (us) { - sp_unit_selector_add_adjustment( SP_UNIT_SELECTOR(us), adj ); - } g_signal_connect( G_OBJECT(adj), "value-changed", G_CALLBACK(callback), dataKludge ); |
