summaryrefslogtreecommitdiff
path: root/gtk/gtksingleselection.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtksingleselection.c')
-rw-r--r--gtk/gtksingleselection.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtksingleselection.c b/gtk/gtksingleselection.c
index bd35aed782..70f0beab27 100644
--- a/gtk/gtksingleselection.c
+++ b/gtk/gtksingleselection.c
@@ -72,9 +72,7 @@ static GParamSpec *properties[N_PROPS] = { NULL, };
static GType
gtk_single_selection_get_item_type (GListModel *list)
{
- GtkSingleSelection *self = GTK_SINGLE_SELECTION (list);
-
- return g_list_model_get_item_type (self->model);
+ return G_TYPE_OBJECT;
}
static guint