forked from AuroraMiddleware/gtk
Allow NULL to mean the default manager. (#344530, John Finlay)
2006-06-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkrecentchooserwidget.c (gtk_recent_chooser_widget_new_for_manager): * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_new_for_manager): Allow NULL to mean the default manager. (#344530, John Finlay)
This commit is contained in:
parent
a803836657
commit
3eb71f1fdd
@ -1,5 +1,12 @@
|
||||
2006-06-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkrecentchooserwidget.c
|
||||
(gtk_recent_chooser_widget_new_for_manager):
|
||||
* gtk/gtkrecentchoosermenu.c
|
||||
(gtk_recent_chooser_menu_new_for_manager):
|
||||
Allow NULL to mean the default manager. (#344530,
|
||||
John Finlay)
|
||||
|
||||
* gtk/gtkprintoperation-unix.c (page_setup_data_free):
|
||||
Check if rdata->page_setup is set before unreffing it.
|
||||
(#344518, Christian Persch)
|
||||
|
@ -1,5 +1,12 @@
|
||||
2006-06-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkrecentchooserwidget.c
|
||||
(gtk_recent_chooser_widget_new_for_manager):
|
||||
* gtk/gtkrecentchoosermenu.c
|
||||
(gtk_recent_chooser_menu_new_for_manager):
|
||||
Allow NULL to mean the default manager. (#344530,
|
||||
John Finlay)
|
||||
|
||||
* gtk/gtkprintoperation-unix.c (page_setup_data_free):
|
||||
Check if rdata->page_setup is set before unreffing it.
|
||||
(#344518, Christian Persch)
|
||||
|
@ -1179,7 +1179,7 @@ gtk_recent_chooser_menu_new (void)
|
||||
GtkWidget *
|
||||
gtk_recent_chooser_menu_new_for_manager (GtkRecentManager *manager)
|
||||
{
|
||||
g_return_val_if_fail (GTK_IS_RECENT_MANAGER (manager), NULL);
|
||||
g_return_val_if_fail (manager == NULL || GTK_IS_RECENT_MANAGER (manager), NULL);
|
||||
|
||||
return g_object_new (GTK_TYPE_RECENT_CHOOSER_MENU,
|
||||
"recent-manager", manager,
|
||||
|
@ -183,7 +183,7 @@ gtk_recent_chooser_widget_new (void)
|
||||
GtkWidget *
|
||||
gtk_recent_chooser_widget_new_for_manager (GtkRecentManager *manager)
|
||||
{
|
||||
g_return_val_if_fail (GTK_IS_RECENT_MANAGER (manager), NULL);
|
||||
g_return_val_if_fail (manager == NULL || GTK_IS_RECENT_MANAGER (manager), NULL);
|
||||
|
||||
return g_object_new (GTK_TYPE_RECENT_CHOOSER_WIDGET,
|
||||
"recent-manager", manager,
|
||||
|
Loading…
Reference in New Issue
Block a user