[gnome-builder] test: remove deprecated gtk_menu_popup



commit 1d2edf5f30b7286866fa06009c22ab735da95f78
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Fri Oct 28 14:54:22 2016 +0200

    test: remove deprecated gtk_menu_popup

 tests/test-egg-menu-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-egg-menu-manager.c b/tests/test-egg-menu-manager.c
index f6582de..884f178 100644
--- a/tests/test-egg-menu-manager.c
+++ b/tests/test-egg-menu-manager.c
@@ -47,7 +47,7 @@ main (gint   argc,
   g_menu_append_submenu (top, "menu-4", G_MENU_MODEL (menu));
 
   widget = gtk_menu_new_from_model (G_MENU_MODEL (top));
-  gtk_menu_popup (GTK_MENU (widget), NULL, NULL, NULL, NULL, 0, GDK_CURRENT_TIME);
+  gtk_menu_popup_at_pointer (GTK_MENU (widget), NULL);
 
   gtk_main ();
 


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