[gtk/wip/otte/listview] Fix an accidental change
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/listview] Fix an accidental change
- Date: Sat, 5 Jan 2019 19:39:33 +0000 (UTC)
commit d844c98c8afcd43ec7cac39268c8ebdad363fe3e
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jan 5 14:37:59 2019 -0500
Fix an accidental change
This was just to test multiselection locally.
gtk/gtklistview.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtklistview.c b/gtk/gtklistview.c
index f21ce89249..a07cdcf14a 100644
--- a/gtk/gtklistview.c
+++ b/gtk/gtklistview.c
@@ -1362,7 +1362,7 @@ gtk_list_view_set_model (GtkListView *self,
if (GTK_IS_SELECTION_MODEL (model))
selection_model = GTK_SELECTION_MODEL (g_object_ref (model));
else
- selection_model = GTK_SELECTION_MODEL (gtk_multi_selection_new (model));
+ selection_model = GTK_SELECTION_MODEL (gtk_single_selection_new (model));
gtk_list_item_manager_set_model (self->item_manager, selection_model);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]