[gtk+] box: Remove unused member variable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] box: Remove unused member variable
- Date: Sat, 10 Dec 2016 03:33:19 +0000 (UTC)
commit 5aea1088028fbf3cd3d12b4477d4b369cffaf900
Author: Benjamin Otte <otte redhat com>
Date: Sat Dec 10 03:28:05 2016 +0100
box: Remove unused member variable
gtk/gtkbox.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index 8cfc49d..cdc3eca 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -129,7 +129,6 @@ struct _GtkBoxPrivate
gint16 spacing;
guint homogeneous : 1;
- guint spacing_set : 1;
guint baseline_pos : 2;
};
@@ -1967,7 +1966,6 @@ gtk_box_init (GtkBox *box)
private->homogeneous = FALSE;
private->spacing = 0;
- private->spacing_set = FALSE;
private->baseline_pos = GTK_BASELINE_POSITION_CENTER;
private->gadget = gtk_css_custom_gadget_new_for_node (gtk_widget_get_css_node (GTK_WIDGET (box)),
@@ -2129,7 +2127,6 @@ gtk_box_set_spacing (GtkBox *box,
if (private->spacing != spacing)
{
private->spacing = spacing;
- private->spacing_set = TRUE;
g_object_notify_by_pspec (G_OBJECT (box), props[PROP_SPACING]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]