summaryrefslogtreecommitdiff
path: root/gtk/gtkcustompaperunixdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-07-26 10:53:55 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-07-26 18:02:44 -0400
commit1e8be8702693ae24d58e32de848171a9f4c762a2 (patch)
tree808f0eb3638ca6a5320f99def9b2b6034fd2d262 /gtk/gtkcustompaperunixdialog.c
parentef6babf896cd06bd42d0fb11e3aae7c109708bdd (diff)
downloadgtk+-1e8be8702693ae24d58e32de848171a9f4c762a2.tar.gz
flattenlistmodel: Make the 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/gtkcustompaperunixdialog.c')
-rw-r--r--gtk/gtkcustompaperunixdialog.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkcustompaperunixdialog.c b/gtk/gtkcustompaperunixdialog.c
index 6940fdf12a..501331c99b 100644
--- a/gtk/gtkcustompaperunixdialog.c
+++ b/gtk/gtkcustompaperunixdialog.c
@@ -322,7 +322,6 @@ gtk_custom_paper_unix_dialog_init (GtkCustomPaperUnixDialog *dialog)
g_object_unref (printer_list);
full_list = G_LIST_MODEL (gtk_flatten_list_model_new (G_LIST_MODEL (printer_list_list)));
- g_object_unref (printer_list_list);
filter = gtk_custom_filter_new (match_func, NULL, NULL);
dialog->printer_list = G_LIST_MODEL (gtk_filter_list_model_new (full_list, filter));