[gtk+] GtkMenuBar: Use G_PARAM_EXPLICIT_NOTIFY
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkMenuBar: Use G_PARAM_EXPLICIT_NOTIFY
- Date: Mon, 9 Jun 2014 17:45:17 +0000 (UTC)
commit 0d528ab391c5d455558dddd552a09baf4c36844c
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jun 9 09:06:32 2014 -0400
GtkMenuBar: Use G_PARAM_EXPLICIT_NOTIFY
gtk/gtkmenubar.c | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c
index 46aca86..e9d985b 100644
--- a/gtk/gtkmenubar.c
+++ b/gtk/gtkmenubar.c
@@ -185,13 +185,13 @@ gtk_menu_bar_class_init (GtkMenuBarClass *class)
* Since: 2.8
*/
g_object_class_install_property (gobject_class,
- PROP_PACK_DIRECTION,
- g_param_spec_enum ("pack-direction",
- P_("Pack direction"),
- P_("The pack direction of the menubar"),
- GTK_TYPE_PACK_DIRECTION,
- GTK_PACK_DIRECTION_LTR,
- GTK_PARAM_READWRITE));
+ PROP_PACK_DIRECTION,
+ g_param_spec_enum ("pack-direction",
+ P_("Pack direction"),
+ P_("The pack direction of the menubar"),
+ GTK_TYPE_PACK_DIRECTION,
+ GTK_PACK_DIRECTION_LTR,
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
* GtkMenuBar:child-pack-direction:
@@ -202,13 +202,13 @@ gtk_menu_bar_class_init (GtkMenuBarClass *class)
* Since: 2.8
*/
g_object_class_install_property (gobject_class,
- PROP_CHILD_PACK_DIRECTION,
- g_param_spec_enum ("child-pack-direction",
- P_("Child Pack direction"),
- P_("The child pack direction of the menubar"),
- GTK_TYPE_PACK_DIRECTION,
- GTK_PACK_DIRECTION_LTR,
- GTK_PARAM_READWRITE));
+ PROP_CHILD_PACK_DIRECTION,
+ g_param_spec_enum ("child-pack-direction",
+ P_("Child Pack direction"),
+ P_("The child pack direction of the menubar"),
+ GTK_TYPE_PACK_DIRECTION,
+ GTK_PACK_DIRECTION_LTR,
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
gtk_widget_class_install_style_property (widget_class,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]