[gtk/wip/baedert/for-master: 2/12] scalebutton: Remove unused click_id member
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 2/12] scalebutton: Remove unused click_id member
- Date: Wed, 29 Apr 2020 14:40:23 +0000 (UTC)
commit 07295b1860edd982dfae907bb0ec3406cf7e3721
Author: Timm Bäder <mail baedert org>
Date: Mon Apr 27 11:55:00 2020 +0200
scalebutton: Remove unused click_id member
gtk/gtkscalebutton.c | 9 ---------
1 file changed, 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]