X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Flttvwindow%2Flttvwindow%2Fmenu.h;h=87ccdee45babc8311805d2c0f2e542e778d43e76;hb=f9240312451df4ff9fc7b0d4cfb159a03d7dc2c3;hp=952720e0f5459bc1eeee631536a6adccadafff5c;hpb=001d8606bfda457ee644e2ad88449d8c3053f7ab;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/menu.h b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/menu.h index 952720e0..87ccdee4 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/menu.h +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/menu.h @@ -19,16 +19,16 @@ #ifndef MENU_H #define MENU_H -#include #include +#include typedef GArray LttvMenus; typedef struct _LttvMenuClosure { lttvwindow_viewer_constructor con; - char * menuPath; - char * menuText; + char * menu_path; + char * menu_text; GtkWidget *widget; } LttvMenuClosure; @@ -37,9 +37,9 @@ LttvMenus *lttv_menus_new(); void lttv_menus_destroy(LttvMenus *h); -void lttv_menus_add(LttvMenus *h, lttvwindow_viewer_constructor f, char* menuPath, char * menuText, GtkWidget *widget); +LttvMenuClosure lttv_menus_add(LttvMenus *h, lttvwindow_viewer_constructor f, char* menuPath, char * menuText, GtkWidget *widget); -gboolean lttv_menus_remove(LttvMenus *h, lttvwindow_viewer_constructor f); +GtkWidget *lttv_menus_remove(LttvMenus *h, lttvwindow_viewer_constructor f); unsigned lttv_menus_number(LttvMenus *h);