summaryrefslogtreecommitdiff
path: root/gtk/gtkscalebutton.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-04-27 11:55:00 +0200
committerTimm Bäder <mail@baedert.org>2020-05-05 08:20:09 +0200
commit9f90eb41c87ea86984ea20cb961284755f01384f (patch)
treefc6dd8a9f11f24ed05cbdb3678c29c722ebfb771 /gtk/gtkscalebutton.c
parent4b9e5304cc1f675d2c51fa3a363d3812548445b4 (diff)
downloadgtk+-9f90eb41c87ea86984ea20cb961284755f01384f.tar.gz
scalebutton: Remove unused click_id member
Diffstat (limited to 'gtk/gtkscalebutton.c')
-rw-r--r--gtk/gtkscalebutton.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c
index 809e790857..4029279bf8 100644
--- a/gtk/gtkscalebutton.c
+++ b/gtk/gtkscalebutton.c
@@ -119,8 +119,6 @@ typedef struct
GtkScrollType autoscroll_step;
gboolean autoscrolling;
- guint click_id;
-
gchar **icon_list;
GtkAdjustment *adjustment; /* needed because it must be settable in init() */
@@ -409,7 +407,6 @@ gtk_scale_button_init (GtkScaleButton *button)
GtkScaleButtonPrivate *priv = gtk_scale_button_get_instance_private (button);
GtkEventController *controller;
- priv->click_id = 0;
priv->orientation = GTK_ORIENTATION_VERTICAL;
priv->applied_orientation = GTK_ORIENTATION_VERTICAL;
@@ -542,12 +539,6 @@ gtk_scale_button_dispose (GObject *object)
g_clear_pointer (&priv->dock, gtk_widget_unparent);
g_clear_pointer (&priv->button, gtk_widget_unparent);
- if (priv->click_id != 0)
- {
- g_source_remove (priv->click_id);
- priv->click_id = 0;
- }
-
G_OBJECT_CLASS (gtk_scale_button_parent_class)->dispose (object);
}