diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-08-03 15:04:33 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-09-05 21:43:42 -0400 |
commit | dfabe74c593b876f50e56903e6c5f7f11f332781 (patch) | |
tree | d66e52265919a29d0f376f855ac22e30a8593260 /gtk/gtkcustompaperunixdialog.c | |
parent | 716c7b2f217b9852fa446b4566180ae10f48f618 (diff) | |
download | gtk+-dfabe74c593b876f50e56903e6c5f7f11f332781.tar.gz |
Make filter constructors return exact types
Make functions like gtk_custom_filter_new() return
the actual type they construct.
Update all callers.
Diffstat (limited to 'gtk/gtkcustompaperunixdialog.c')
-rw-r--r-- | gtk/gtkcustompaperunixdialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcustompaperunixdialog.c b/gtk/gtkcustompaperunixdialog.c index ce282f8c32..b86d86604d 100644 --- a/gtk/gtkcustompaperunixdialog.c +++ b/gtk/gtkcustompaperunixdialog.c @@ -323,7 +323,7 @@ gtk_custom_paper_unix_dialog_init (GtkCustomPaperUnixDialog *dialog) full_list = G_LIST_MODEL (gtk_flatten_list_model_new (G_LIST_MODEL (printer_list_list))); - filter = gtk_custom_filter_new (match_func, NULL, NULL); + filter = GTK_FILTER (gtk_custom_filter_new (match_func, NULL, NULL)); dialog->printer_list = G_LIST_MODEL (gtk_filter_list_model_new (full_list, filter)); dialog->custom_paper_list = g_list_store_new (GTK_TYPE_PAGE_SETUP); |