diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2006-08-18 02:41:52 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-08-18 02:41:52 +0000 |
commit | 90c4ee86439ef3643e0ed8dc490ce5a03455284a (patch) | |
tree | 8aa665d89b032551c2e1e045b98cef3786d362f5 | |
parent | e730a9b29f33a824c4b9651b509ab13ed584a9e3 (diff) | |
download | gdk-pixbuf-90c4ee86439ef3643e0ed8dc490ce5a03455284a.tar.gz |
initialize a variable
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 3 | ||||
-rw-r--r-- | gtk/gtkrecentchoosermenu.c | 4 |
3 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2006-08-17 Matthias Clasen <mclasen@redhat.com> + * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_list_filters): + Initialize menu. (#351857, Chris Wilson) + * gtk/gtkprinteroptionwidget.c (update_widgets): * modules/printbackends/file/gtkprintbackendfile.c (output_file_from_settings): Handle filename encoding diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 087fc1258..ad19d02b4 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2006-08-17 Matthias Clasen <mclasen@redhat.com> + * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_list_filters): + Initialize menu. (#351857, Chris Wilson) + * gtk/gtkprinteroptionwidget.c (update_widgets): * modules/printbackends/file/gtkprintbackendfile.c (output_file_from_settings): Handle filename encoding diff --git a/gtk/gtkrecentchoosermenu.c b/gtk/gtkrecentchoosermenu.c index 6f1b63699..0e04b8657 100644 --- a/gtk/gtkrecentchoosermenu.c +++ b/gtk/gtkrecentchoosermenu.c @@ -696,11 +696,13 @@ gtk_recent_chooser_menu_remove_filter (GtkRecentChooser *chooser, } static GSList * -gtk_recent_chooser_menu_list_filters (GtkRecentChooser *chooser) +gtk_recent_chooser_menu_list_filters (GtkRecentChooser *chooser) { GtkRecentChooserMenu *menu; GSList *retval = NULL; + menu = GTK_RECENT_CHOOSER_MENU (chooser); + if (menu->priv->current_filter) retval = g_slist_prepend (retval, menu->priv->current_filter); |