[gtk/matthiasc/for-master: 19/19] gtk-demo: Clean up initial selection handling
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 19/19] gtk-demo: Clean up initial selection handling
- Date: Sat, 20 Jun 2020 12:50:49 +0000 (UTC)
commit 677bfe6857869de90ca2f68302ec9b49e61be2e8
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jun 20 08:48:29 2020 -0400
gtk-demo: Clean up initial selection handling
We call selection_cb now, so we don't need to manually
do part of what that call does ahead of time.
This should have been noticed in 10bcbae68c3faf8ae.
demos/gtk-demo/main.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index f0a3f78efb..f727233353 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -1035,8 +1035,6 @@ activate (GApplication *app)
listview = GTK_WIDGET (gtk_builder_get_object (builder, "listview"));
g_signal_connect (listview, "activate", G_CALLBACK (activate_cb), window);
- load_file (gtk_demos[0].name, gtk_demos[0].filename);
-
listmodel = create_demo_model ();
treemodel = gtk_tree_list_model_new (FALSE,
G_LIST_MODEL (listmodel),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]