diff options
author | Alexander Mikhaylenko <alexm@gnome.org> | 2020-05-11 18:55:15 +0500 |
---|---|---|
committer | Alexander Mikhaylenko <alexm@gnome.org> | 2020-05-11 18:55:15 +0500 |
commit | 7c148bebef5805104a350b370f7da82d42ed915a (patch) | |
tree | 8dc2e7d48b6bc273da0a10dca5ac0c0bf04a169b /tests/testmenubutton.c | |
parent | 7aeb504652ff69c8f3246ca152ef6c5c373ed20b (diff) | |
download | gtk+-7c148bebef5805104a350b370f7da82d42ed915a.tar.gz |
tests: Remove use-popover from testmenubutton
The corresponding property doesn't exist anymore.
Diffstat (limited to 'tests/testmenubutton.c')
-rw-r--r-- | tests/testmenubutton.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/testmenubutton.c b/tests/testmenubutton.c index 7ef5eaa4b0..814efcd74b 100644 --- a/tests/testmenubutton.c +++ b/tests/testmenubutton.c @@ -38,7 +38,6 @@ int main (int argc, char **argv) GtkWidget *grid; GtkWidget *entry; GtkWidget *label; - GtkWidget *check; GtkWidget *combo; guint i; guint row = 0; @@ -97,10 +96,6 @@ int main (int argc, char **argv) gtk_grid_attach_next_to (GTK_GRID (grid), button, entry, GTK_POS_RIGHT, 1, 1); menubuttons = g_list_prepend (menubuttons, button); - check = gtk_check_button_new_with_label ("Popover"); - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check), TRUE); - gtk_grid_attach (GTK_GRID (grid), check, 0, row, 1, 1); - /* Button with GMenuModel */ menu = g_menu_new (); for (i = 5; i > 0; i--) { @@ -116,7 +111,6 @@ int main (int argc, char **argv) } button = gtk_menu_button_new (); - g_object_bind_property (check, "active", button, "use-popover", G_BINDING_SYNC_CREATE); gtk_widget_set_halign (button, GTK_ALIGN_START); menubuttons = g_list_prepend (menubuttons, button); |