389:d15eca5fd8b3 | 390:b130f80ec7f9 |
---|---|
71 ui_imageviewer_set(value, pixbuf, UI_IMAGE_OBJECT_TYPE); | 71 ui_imageviewer_set(value, pixbuf, UI_IMAGE_OBJECT_TYPE); |
72 } | 72 } |
73 } | 73 } |
74 | 74 |
75 if(args.contextmenu) { | 75 if(args.contextmenu) { |
76 UIMENU menu = ui_create_menu(args.contextmenu, obj); | 76 UIMENU menu = ui_contextmenu_create(args.contextmenu, obj, eventbox); |
77 ui_widget_set_contextmenu(eventbox, menu); | 77 ui_widget_set_contextmenu(eventbox, menu); |
78 } | 78 } |
79 | 79 |
80 return scrolledwindow; | 80 return scrolledwindow; |
81 } | 81 } |