projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add plugin interface to objects
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
tracecontrol
/
tracecontrol.c
diff --git
a/ltt/branches/poly/lttv/modules/gui/tracecontrol/tracecontrol.c
b/ltt/branches/poly/lttv/modules/gui/tracecontrol/tracecontrol.c
index 148a452b8b03d3edd70764556dbc799a53e795b4..bc7ec1882ed67c5b875e0517ff5ca3d297804df2 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/tracecontrol/tracecontrol.c
+++ b/
ltt/branches/poly/lttv/modules/gui/tracecontrol/tracecontrol.c
@@
-21,6
+21,7
@@
#endif
#include <glib.h>
#endif
#include <glib.h>
+#include <glib/gprintf.h>
#include <string.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <string.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
@@
-32,6
+33,7
@@
#include <lttvwindow/lttvwindow.h>
#include <lttvwindow/lttvwindowtraces.h>
#include <lttvwindow/lttvwindow.h>
#include <lttvwindow/lttvwindowtraces.h>
+#include <lttvwindow/callbacks.h>
#include "hTraceControlInsert.xpm"
#include "TraceControlStart.xpm"
#include "hTraceControlInsert.xpm"
#include "TraceControlStart.xpm"
@@
-67,9
+69,9
@@
typedef struct _ControlData ControlData;
* Prototypes
*/
GtkWidget *guicontrol_get_widget(ControlData *tcd);
* Prototypes
*/
GtkWidget *guicontrol_get_widget(ControlData *tcd);
-ControlData *gui_control(
Tab *tab
);
+ControlData *gui_control(
GObject *obj
);
void gui_control_destructor(ControlData *tcd);
void gui_control_destructor(ControlData *tcd);
-GtkWidget* h_guicontrol(
Tab *tab
);
+GtkWidget* h_guicontrol(
GObject *obj
);
void control_destroy_walk(gpointer data, gpointer user_data);
/*
void control_destroy_walk(gpointer data, gpointer user_data);
/*
@@
-150,8
+152,9
@@
guicontrol_get_widget(ControlData *tcd)
* @return The Filter viewer data created.
*/
ControlData*
* @return The Filter viewer data created.
*/
ControlData*
-gui_control(
Tab *tab
)
+gui_control(
GObject *obj
)
{
{
+ Tab *tab = g_object_get_data(obj, "Tab");
g_debug("filter::gui_control()");
unsigned i;
g_debug("filter::gui_control()");
unsigned i;
@@
-1087,9
+1090,9
@@
void stop_clicked (GtkButton *button, gpointer user_data)
* @return The widget created.
*/
GtkWidget *
* @return The widget created.
*/
GtkWidget *
-h_guicontrol(
Tab *tab
)
+h_guicontrol(
GObject *obj
)
{
{
- ControlData* f = gui_control(
tab)
;
+ ControlData* f = gui_control(
obj)
;
return NULL;
}
return NULL;
}
This page took
0.023422 seconds
and
4
git commands to generate.