diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-07-26 10:53:55 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-07-26 14:21:28 -0400 |
commit | 7e87ad188748039d35bca0ecf3630f51e717f174 (patch) | |
tree | b9068cb2ab6d40258fdc267485492a484b35e900 /gtk/gtkcustompaperunixdialog.c | |
parent | ef6babf896cd06bd42d0fb11e3aae7c109708bdd (diff) | |
download | gtk+-flatten-list-constructor.tar.gz |
flattenlistmodel: Make the constructor transfer fullflatten-list-constructor
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.c | 1 |
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)); |