[gtk/wip/exalm/test: 19/37] tests: Fix testgmenu
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/exalm/test: 19/37] tests: Fix testgmenu
- Date: Mon, 11 May 2020 15:18:38 +0000 (UTC)
commit 99704248b79602fea692488d4222a806a85ef603
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon May 11 04:58:36 2020 +0500
tests: Fix testgmenu
GtkMenuButton isn't a GtkButton anymore.
tests/testgmenu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/testgmenu.c b/tests/testgmenu.c
index f435560967..d4a342c3d1 100644
--- a/tests/testgmenu.c
+++ b/tests/testgmenu.c
@@ -685,7 +685,7 @@ main (int argc, char *argv[])
else
{
button = gtk_menu_button_new ();
- gtk_button_set_label (GTK_BUTTON (button), "Click here");
+ gtk_menu_button_set_label (GTK_MENU_BUTTON (button), "Click here");
gtk_menu_button_set_menu_model (GTK_MENU_BUTTON (button), model);
gtk_widget_insert_action_group (button, "actions", group);
gtk_container_add (GTK_CONTAINER (box), button);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]