[gtk/wip/baedert/for-master: 41/55] testmodelbutton: Remove toggles for removed properties



commit 954c147868ed89ac9ee804d5b17c92356c437444
Author: Timm Bäder <mail baedert org>
Date:   Sun Oct 6 12:01:28 2019 +0200

    testmodelbutton: Remove toggles for removed properties

 tests/testmodelbutton.c | 12 ------------
 1 file changed, 12 deletions(-)
---
diff --git a/tests/testmodelbutton.c b/tests/testmodelbutton.c
index 62764f3910..62ef324604 100644
--- a/tests/testmodelbutton.c
+++ b/tests/testmodelbutton.c
@@ -68,24 +68,12 @@ on_application_activate (GApplication *gapplication,
                           G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
   gtk_container_add (GTK_CONTAINER (box), widget);
 
-  widget = gtk_toggle_button_new_with_label (":centered");
-  g_object_bind_property (widget, "active",
-                          model_button, "centered",
-                          G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
-  gtk_container_add (GTK_CONTAINER (box), widget);
-
   widget = gtk_toggle_button_new_with_label (":iconic");
   g_object_bind_property (widget, "active",
                           model_button, "iconic",
                           G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
   gtk_container_add (GTK_CONTAINER (box), widget);
 
-  widget = gtk_toggle_button_new_with_label (":inverted");
-  g_object_bind_property (widget, "active",
-                          model_button, "inverted",
-                          G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL);
-  gtk_container_add (GTK_CONTAINER (box), widget);
-
   widget = gtk_window_new (GTK_WINDOW_TOPLEVEL);
   gtk_container_add (GTK_CONTAINER (widget), box);
   gtk_widget_show (widget);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]