X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Flttvwindow%2Flttvwindow%2Ftoolbar.h;h=7e5df0c4b0a5d6cbb8ac4fb122ed501d3ebe92b6;hb=42fcbb715d16ba7c2c0a37aab5add4bd64d96079;hp=681311b66a386cac9298e482b1b4b0ae588d45ec;hpb=b21c82b6a990f6be7fee4db796e593b407101863;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.h b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.h index 681311b6..7e5df0c4 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.h +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.h @@ -21,14 +21,10 @@ #include -/* constructor of the viewer */ -//typedef GtkWidget* (*lttv_constructor)(void * main_window); - - typedef GArray LttvToolbars; typedef struct _lttv_toolbar_closure { - lttv_constructor con; + lttvwindow_viewer_constructor con; char * tooltip; char ** pixmap; } lttv_toolbar_closure; @@ -37,9 +33,9 @@ LttvToolbars *lttv_toolbars_new(); void lttv_toolbars_destroy(LttvToolbars *h); -void lttv_toolbars_add(LttvToolbars *h, lttv_constructor f, char* tooltip, char ** pixmap); +void lttv_toolbars_add(LttvToolbars *h, lttvwindow_viewer_constructor f, char* tooltip, char ** pixmap); -gboolean lttv_toolbars_remove(LttvToolbars *h, lttv_constructor f); +gboolean lttv_toolbars_remove(LttvToolbars *h, lttvwindow_viewer_constructor f); unsigned lttv_toolbars_number(LttvToolbars *h);