summaryrefslogtreecommitdiff
path: root/gtk/gtkpagesetupunixdialog.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 14:21:28 -0400
commit7e87ad188748039d35bca0ecf3630f51e717f174 (patch)
treeb9068cb2ab6d40258fdc267485492a484b35e900 /gtk/gtkpagesetupunixdialog.c
parentef6babf896cd06bd42d0fb11e3aae7c109708bdd (diff)
downloadgtk+-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/gtkpagesetupunixdialog.c')
-rw-r--r--gtk/gtkpagesetupunixdialog.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkpagesetupunixdialog.c b/gtk/gtkpagesetupunixdialog.c
index c0743deaee..3964a1aa60 100644
--- a/gtk/gtkpagesetupunixdialog.c
+++ b/gtk/gtkpagesetupunixdialog.c
@@ -308,7 +308,6 @@ gtk_page_setup_unix_dialog_init (GtkPageSetupUnixDialog *dialog)
g_list_store_append (store, dialog->manage_papers_list);
paper_size_list = G_LIST_MODEL (gtk_flatten_list_model_new (G_LIST_MODEL (store)));
gtk_drop_down_set_model (GTK_DROP_DOWN (dialog->paper_size_combo), paper_size_list);
- g_object_unref (store);
g_object_unref (paper_size_list);
/* Do this in code, we want the translatable strings without the markup */