initialize a variable

This commit is contained in:
Matthias Clasen 2006-08-18 02:41:52 +00:00
parent e730a9b29f
commit 90c4ee8643
3 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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);