diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2009-01-23 17:10:08 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2009-01-23 17:10:08 +0000 |
commit | 33d5c3d696c7a32ec3cd0344ca1eead97b33c134 (patch) | |
tree | 124fb5137b705e8e9eed33c062e237ab55e52452 /gtk/gtkrecentchooser.c | |
parent | faf6a832d44232562f8e28d80891febd99a57797 (diff) | |
download | gdk-pixbuf-33d5c3d696c7a32ec3cd0344ca1eead97b33c134.tar.gz |
Fix pltcheck issues
svn path=/trunk/; revision=22198
Diffstat (limited to 'gtk/gtkrecentchooser.c')
-rw-r--r-- | gtk/gtkrecentchooser.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/gtkrecentchooser.c b/gtk/gtkrecentchooser.c index 298a12530..700266357 100644 --- a/gtk/gtkrecentchooser.c +++ b/gtk/gtkrecentchooser.c @@ -1103,8 +1103,8 @@ _gtk_recent_chooser_activatable_update (GtkActivatable *activatable, GtkRecentAction *recent_action = GTK_RECENT_ACTION (action); if (strcmp (property_name, "show-numbers") == 0 && recent_chooser_has_show_numbers (recent_chooser)) - gtk_recent_chooser_set_show_numbers (recent_chooser, - gtk_recent_action_get_show_numbers (recent_action)); + g_object_set (recent_chooser, "show-numbers", + gtk_recent_action_get_show_numbers (recent_action), NULL); else if (strcmp (property_name, "show-private") == 0) gtk_recent_chooser_set_show_private (recent_chooser, gtk_recent_chooser_get_show_private (action_chooser)); else if (strcmp (property_name, "show-not-found") == 0) @@ -1134,8 +1134,9 @@ _gtk_recent_chooser_activatable_reset (GtkActivatable *activatable, return; if (recent_chooser_has_show_numbers (recent_chooser)) - gtk_recent_chooser_set_show_numbers (recent_chooser, - gtk_recent_action_get_show_numbers (GTK_RECENT_ACTION (action))); + g_object_set (recent_chooser, "show-numbers", + gtk_recent_action_get_show_numbers (GTK_RECENT_ACTION (action)), + NULL); gtk_recent_chooser_set_show_private (recent_chooser, gtk_recent_chooser_get_show_private (action_chooser)); gtk_recent_chooser_set_show_not_found (recent_chooser, gtk_recent_chooser_get_show_not_found (action_chooser)); gtk_recent_chooser_set_show_tips (recent_chooser, gtk_recent_chooser_get_show_tips (action_chooser)); |