[gtk+] GtkBox: Use G_PARAM_EXPLICIT_NOTIFY
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkBox: Use G_PARAM_EXPLICIT_NOTIFY
- Date: Mon, 9 Jun 2014 17:39:29 +0000 (UTC)
commit f531b0757cd60600af6f95145c4d05621bd34595
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jun 7 11:00:36 2014 -0400
GtkBox: Use G_PARAM_EXPLICIT_NOTIFY
gtk/gtkbox.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index 96a86a3..dcabef1 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -256,14 +256,14 @@ gtk_box_class_init (GtkBoxClass *class)
P_("Spacing"),
P_("The amount of space between children"),
0, G_MAXINT, 0,
- GTK_PARAM_READWRITE);
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
props[PROP_HOMOGENEOUS] =
g_param_spec_boolean ("homogeneous",
P_("Homogeneous"),
P_("Whether the children should all be the same size"),
FALSE,
- GTK_PARAM_READWRITE);
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
props[PROP_BASELINE_POSITION] =
g_param_spec_enum ("baseline-position",
@@ -271,7 +271,7 @@ gtk_box_class_init (GtkBoxClass *class)
P_("The position of the baseline aligned widgets if extra space is available"),
GTK_TYPE_BASELINE_POSITION,
GTK_BASELINE_POSITION_CENTER,
- GTK_PARAM_READWRITE);
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
g_object_class_install_properties (object_class, LAST_PROP, props);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]