From 33d5c3d696c7a32ec3cd0344ca1eead97b33c134 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 23 Jan 2009 17:10:08 +0000 Subject: Fix pltcheck issues svn path=/trunk/; revision=22198 --- gtk/gtkrecentchooser.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gtk/gtkrecentchooser.c') 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)); -- cgit v1.2.1