[gtk+] GtkOrientable use G_PARAM_EXPLICIT_NOTIFY
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkOrientable use G_PARAM_EXPLICIT_NOTIFY
- Date: Mon, 9 Jun 2014 17:40:44 +0000 (UTC)
commit 2e04899ee59a17b41f3b1accd4a874242d4a03d3
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jun 7 14:08:46 2014 -0400
GtkOrientable use G_PARAM_EXPLICIT_NOTIFY
This one is a little tricky, since we override this property
in many places, and you cannot add flags when overriding. So,
all places where this is overridden will have to make sure to
notify explicitly.
gtk/gtkorientable.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkorientable.c b/gtk/gtkorientable.c
index 6917c4e..0607211 100644
--- a/gtk/gtkorientable.c
+++ b/gtk/gtkorientable.c
@@ -62,7 +62,7 @@ gtk_orientable_default_init (GtkOrientableInterface *iface)
P_("The orientation of the orientable"),
GTK_TYPE_ORIENTATION,
GTK_ORIENTATION_HORIZONTAL,
- GTK_PARAM_READWRITE));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]