diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-06-09 09:04:33 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-06-09 13:31:05 -0400 |
commit | 3f3f26d8a1a7afca892913b7b637ba1751b72253 (patch) | |
tree | 74be463216c4bfa72f51b44542212226e1a5d565 /gtk/gtklinkbutton.c | |
parent | 45c84a63a3cf0c306b25c2310f0a96e8398562a5 (diff) | |
download | gtk+-3f3f26d8a1a7afca892913b7b637ba1751b72253.tar.gz |
GtkLinkButton: Use G_PARAM_EXPLICIT_NOTIFY
Diffstat (limited to 'gtk/gtklinkbutton.c')
-rw-r--r-- | gtk/gtklinkbutton.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c index 11b887fb7e..67bc56a04b 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: |