diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-07-26 15:55:44 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-07-26 18:04:40 -0400 |
commit | 706d464ae6d5d3f120a2fb22932f49e07f034545 (patch) | |
tree | ee83c7c846d07ea6c5a1c7797d9ba6a37605a26d /gtk/gtkpagesetupunixdialog.c | |
parent | b6d9f3facbb73417beb1a0388d31a989fcd8cf14 (diff) | |
download | gtk+-706d464ae6d5d3f120a2fb22932f49e07f034545.tar.gz |
filterlistmodel: Make constructor transfer full
This is for consistency with other wrapping list constructors.
We want them all to be transfer full, allow-none.
Update all callers.
Diffstat (limited to 'gtk/gtkpagesetupunixdialog.c')
-rw-r--r-- | gtk/gtkpagesetupunixdialog.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkpagesetupunixdialog.c b/gtk/gtkpagesetupunixdialog.c index 3964a1aa60..e771570b64 100644 --- a/gtk/gtkpagesetupunixdialog.c +++ b/gtk/gtkpagesetupunixdialog.c @@ -324,8 +324,6 @@ gtk_page_setup_unix_dialog_init (GtkPageSetupUnixDialog *dialog) filter = gtk_custom_filter_new (match_func, NULL, NULL); dialog->printer_list = G_LIST_MODEL (gtk_filter_list_model_new (full_list, filter)); - g_object_unref (full_list); - g_object_unref (filter); factory = gtk_signal_list_item_factory_new (); g_signal_connect (factory, "setup", G_CALLBACK (setup_printer_item), dialog); |