Remove the warning for the "select-multiple" property getter. (#476686,

2007-09-14  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentaction.c:
	* gtk/gtkrecentchoosermenu.c: Remove the warning for the
	"select-multiple" property getter. (#476686, Christian Persch)

svn path=/trunk/; revision=18826
This commit is contained in:
Emmanuele Bassi 2007-09-14 09:51:34 +00:00 committed by Emmanuele Bassi
parent 80640a0f8c
commit 5e3d2bb65a
3 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2007-09-14 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentaction.c:
* gtk/gtkrecentchoosermenu.c: Remove the warning for the
"select-multiple" property getter. (#476686, Christian Persch)
2007-09-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkmenubar.c (remove_from_window): no need to get the list

View File

@ -614,9 +614,7 @@ gtk_recent_action_get_property (GObject *gobject,
g_value_set_object (value, priv->current_filter);
break;
case GTK_RECENT_CHOOSER_PROP_SELECT_MULTIPLE:
g_warning ("%s: Choosers of type `%s' do not support selecting multiple items.",
G_STRFUNC,
G_OBJECT_TYPE_NAME (gobject));
g_value_set_boolean (value, FALSE);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec);

View File

@ -420,9 +420,7 @@ gtk_recent_chooser_menu_get_property (GObject *object,
g_value_set_boolean (value, priv->show_icons);
break;
case GTK_RECENT_CHOOSER_PROP_SELECT_MULTIPLE:
g_warning ("%s: Choosers of type `%s' do not support selecting multiple items.",
G_STRFUNC,
G_OBJECT_TYPE_NAME (object));
g_value_set_boolean (value, FALSE);
break;
case GTK_RECENT_CHOOSER_PROP_FILTER:
g_value_set_object (value, priv->current_filter);