summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2019-01-22 00:27:41 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2019-01-22 00:27:41 +0000
commitdfcb135bd1be493716c95ed4e72964fe99c9df2c (patch)
tree3f588291b0a347d4838097999ec26b485ffeeb26 /src/widgets
parentCleanup unused toolbar code (diff)
downloadinkscape-dfcb135bd1be493716c95ed4e72964fe99c9df2c.tar.gz
inkscape-dfcb135bd1be493716c95ed4e72964fe99c9df2c.zip
Tidy up toolbox code
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/toolbox.cpp7
-rw-r--r--src/widgets/toolbox.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index 7cfa4de03..bd9b3bf0b 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -713,7 +713,6 @@ static GtkWidget* createCustomSlider( GtkAdjustment *adjustment, gdouble climbRa
EgeAdjustmentAction * create_adjustment_action( gchar const *name,
gchar const *label, gchar const *shortLabel, gchar const *tooltip,
Glib::ustring const &path, gdouble def,
- GtkWidget *focusTarget,
gboolean altx, gchar const *altx_mark,
gdouble lower, gdouble upper, gdouble step, gdouble page,
gchar const** descrLabels, gdouble const* descrValues, guint descrCount,
@@ -739,10 +738,6 @@ EgeAdjustmentAction * create_adjustment_action( gchar const *name,
ege_adjustment_action_set_descriptions( act, descrLabels, descrValues, descrCount );
}
- if ( focusTarget ) {
- ege_adjustment_action_set_focuswidget( act, focusTarget );
- }
-
if ( altx && altx_mark ) {
g_object_set( G_OBJECT(act), "self-id", altx_mark, NULL );
}
@@ -1019,8 +1014,6 @@ void setup_aux_toolbox(GtkWidget *toolbox, SPDesktop *desktop)
// just defines behaviour.
GtkWidget* kludge = aux_toolboxes[i].prep_func(desktop, mainActions->gobj());
gtk_widget_set_name( kludge, "Kludge" );
- // g_object_set_data( G_OBJECT(kludge), "dtw", desktop->canvas);
- // g_object_set_data( G_OBJECT(kludge), "desktop", desktop);
dataHolders[aux_toolboxes[i].type_name] = kludge;
} else {
diff --git a/src/widgets/toolbox.h b/src/widgets/toolbox.h
index b605b4fbb..6c973ba4a 100644
--- a/src/widgets/toolbox.h
+++ b/src/widgets/toolbox.h
@@ -134,7 +134,6 @@ void delete_connection(GObject * /*obj*/, sigc::connection *connection);
EgeAdjustmentAction * create_adjustment_action( gchar const *name,
gchar const *label, gchar const *shortLabel, gchar const *tooltip,
Glib::ustring const &path, gdouble def,
- GtkWidget *focusTarget,
gboolean altx, gchar const *altx_mark,
gdouble lower, gdouble upper, gdouble step, gdouble page,
gchar const** descrLabels, gdouble const* descrValues, guint descrCount,