summaryrefslogtreecommitdiff
path: root/gtk/gtkcustompaperunixdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-08-03 15:04:33 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-09-05 21:43:42 -0400
commitdfabe74c593b876f50e56903e6c5f7f11f332781 (patch)
treed66e52265919a29d0f376f855ac22e30a8593260 /gtk/gtkcustompaperunixdialog.c
parent716c7b2f217b9852fa446b4566180ae10f48f618 (diff)
downloadgtk+-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.c2
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);