[gtk+] GtkSizeGroup: Use G_PARAM_EXPLICIT_NOTIFY
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkSizeGroup: Use G_PARAM_EXPLICIT_NOTIFY
- Date: Mon, 9 Jun 2014 17:46:52 +0000 (UTC)
commit 83669856b28b5ea56a3af2ca21f962eafb73c345
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jun 9 09:40:55 2014 -0400
GtkSizeGroup: Use G_PARAM_EXPLICIT_NOTIFY
gtk/gtksizegroup.c | 29 +++++++++++++++--------------
1 files changed, 15 insertions(+), 14 deletions(-)
---
diff --git a/gtk/gtksizegroup.c b/gtk/gtksizegroup.c
index 159b59c..18e82fd 100644
--- a/gtk/gtksizegroup.c
+++ b/gtk/gtksizegroup.c
@@ -318,13 +318,14 @@ gtk_size_group_class_init (GtkSizeGroupClass *klass)
gobject_class->get_property = gtk_size_group_get_property;
g_object_class_install_property (gobject_class,
- PROP_MODE,
- g_param_spec_enum ("mode",
- P_("Mode"),
- P_("The directions in which the size group affects the
requested sizes"
- " of its component widgets"),
- GTK_TYPE_SIZE_GROUP_MODE,
- GTK_SIZE_GROUP_HORIZONTAL,
GTK_PARAM_READWRITE));
+ PROP_MODE,
+ g_param_spec_enum ("mode",
+ P_("Mode"),
+ P_("The directions in which the size group affects the
requested sizes"
+ " of its component widgets"),
+ GTK_TYPE_SIZE_GROUP_MODE,
+ GTK_SIZE_GROUP_HORIZONTAL,
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
* GtkSizeGroup:ignore-hidden:
@@ -335,13 +336,13 @@ gtk_size_group_class_init (GtkSizeGroupClass *klass)
* Since: 2.8
*/
g_object_class_install_property (gobject_class,
- PROP_IGNORE_HIDDEN,
- g_param_spec_boolean ("ignore-hidden",
- P_("Ignore hidden"),
- P_("If TRUE, unmapped widgets are ignored "
- "when determining the size of the group"),
- FALSE,
- GTK_PARAM_READWRITE));
+ PROP_IGNORE_HIDDEN,
+ g_param_spec_boolean ("ignore-hidden",
+ P_("Ignore hidden"),
+ P_("If TRUE, unmapped widgets are ignored "
+ "when determining the size of the group"),
+ FALSE,
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]