diff --git a/gtk/gtkfontchooserwidget.c b/gtk/gtkfontchooserwidget.c index e54d1f575d..bfc2e86f1a 100644 --- a/gtk/gtkfontchooserwidget.c +++ b/gtk/gtkfontchooserwidget.c @@ -1162,7 +1162,7 @@ update_fontlist (GtkFontChooserWidget *self) model = G_LIST_MODEL (gtk_slice_list_model_new (model, 0, 20)); gtk_widget_add_tick_callback (GTK_WIDGET (self), add_to_fontlist, g_object_ref (model), g_object_unref); - gtk_filter_list_model_set_model (self->filter_model, model); + gtk_single_selection_set_model (self->selection, model); g_object_unref (model); } diff --git a/gtk/ui/gtkfontchooserwidget.ui b/gtk/ui/gtkfontchooserwidget.ui index 9b0fc90313..36e8f0163f 100644 --- a/gtk/ui/gtkfontchooserwidget.ui +++ b/gtk/ui/gtkfontchooserwidget.ui @@ -1,32 +1,32 @@ - - - - - - - 1 - - - - - - search_entry - - - - - - - - - - - - + + + 1 + + + + + + search_entry + + + + - + + + + + + + + + + + + + @@ -141,7 +141,7 @@ 1 - selection + filter_model