ui/gtk/image.c

branch
newapi
changeset 390
b130f80ec7f9
parent 389
d15eca5fd8b3
--- a/ui/gtk/image.c	Thu Nov 21 13:17:56 2024 +0100
+++ b/ui/gtk/image.c	Thu Nov 21 18:45:47 2024 +0100
@@ -73,7 +73,7 @@
     }
     
     if(args.contextmenu) {
-        UIMENU menu = ui_create_menu(args.contextmenu, obj);
+        UIMENU menu = ui_contextmenu_create(args.contextmenu, obj, eventbox);
         ui_widget_set_contextmenu(eventbox, menu);
     }
     

mercurial