[gtk+] GtkLinkButton: Use G_PARAM_EXPLICIT_NOTIFY
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkLinkButton: Use G_PARAM_EXPLICIT_NOTIFY
- Date: Mon, 9 Jun 2014 17:45:07 +0000 (UTC)
commit 3f3f26d8a1a7afca892913b7b637ba1751b72253
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jun 9 09:04:33 2014 -0400
GtkLinkButton: Use G_PARAM_EXPLICIT_NOTIFY
gtk/gtklinkbutton.c | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c
index 11b887f..67bc56a 100644
--- a/gtk/gtklinkbutton.c
+++ b/gtk/gtklinkbutton.c
@@ -163,12 +163,13 @@ gtk_link_button_class_init (GtkLinkButtonClass *klass)
* Since: 2.10
*/
g_object_class_install_property (gobject_class,
- PROP_URI,
- g_param_spec_string ("uri",
- P_("URI"),
- P_("The URI bound to this button"),
- NULL,
- G_PARAM_READWRITE));
+ PROP_URI,
+ g_param_spec_string ("uri",
+ P_("URI"),
+ P_("The URI bound to this button"),
+ NULL,
+ GTK_PARAM_READWRITE));
+
/**
* GtkLinkButton:visited:
*
@@ -178,12 +179,12 @@ gtk_link_button_class_init (GtkLinkButtonClass *klass)
* Since: 2.14
*/
g_object_class_install_property (gobject_class,
- PROP_VISITED,
- g_param_spec_boolean ("visited",
+ PROP_VISITED,
+ g_param_spec_boolean ("visited",
P_("Visited"),
P_("Whether this link has been visited."),
FALSE,
- G_PARAM_READWRITE));
+ GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/**
* GtkLinkButton::activate-link:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]