X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fplugins%2FguiEvents.c;h=5efe8a95602e3b273d093cdac93542a74ad07e02;hb=17abcce324e1dc3d093fb3b70227ca7357ec8eb9;hp=bc26092b0b0f41978b644f1a8c5f7d9cad086d92;hpb=5c7463ed5c052afbab4025ca7ce11f3aad5e0297;p=lttv.git diff --git a/ltt/branches/poly/lttv/plugins/guiEvents.c b/ltt/branches/poly/lttv/plugins/guiEvents.c index bc26092b..5efe8a95 100644 --- a/ltt/branches/poly/lttv/plugins/guiEvents.c +++ b/ltt/branches/poly/lttv/plugins/guiEvents.c @@ -4,6 +4,9 @@ /*! \file guiEvents.c * \brief Graphical plugin for showing events. * + * This plugin lists all the events contained in the current time interval + * in a list. + * * This plugin adds a Events Viewer functionnality to Linux TraceToolkit * GUI when this plugin is loaded. The init and destroy functions add the * viewer's insertion menu item and toolbar icon by calling gtkTraceSet's @@ -11,9 +14,6 @@ * creates ans register through API functions what is needed to interact * with the TraceSet window. * - * This plugin uses the gdk library to draw the events and gtk to interact - * with the user. - * * Author : Mathieu Desnoyers, June 2003 */ @@ -24,16 +24,11 @@ #include -#include "guiEvents.h" #include "icons/guiEventsInsert.xpm" //! Event Viewer's constructor GtkWidget *guiEvents(GtkWidget *ParentWindow); -//! Callback functions -gboolean -expose_event_callback (GtkWidget *widget, GdkEventExpose *event, gpointer data); - /** * plugin's init function * @@ -77,20 +72,11 @@ G_MODULE_EXPORT void destroy() { */ static GtkWidget * guiEvents(GtkWidget *ParentWindow) -{ - GtkWidget *drawing_area = gtk_drawing_area_new (); - - g_signal_connect (G_OBJECT (drawing_area), "expose_event", - G_CALLBACK (expose_event_callback), NULL); -} - - -gboolean -expose_event_callback (GtkWidget *widget, GdkEventExpose *event, gpointer data) { } + /*\@}*/