From: compudj Date: Wed, 19 May 2004 02:12:52 +0000 (+0000) Subject: 95 percent of viewer.h documentation done X-Git-Tag: v0.12.20~2958 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=665f0e65e5bde15cc2f29e9587ebf332ad2cb4a5;p=lttv.git 95 percent of viewer.h documentation done git-svn-id: http://ltt.polymtl.ca/svn@531 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.c b/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.c index 9ab60ef0..ee0b37fd 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.c @@ -32,7 +32,7 @@ extern GSList *g_control_flow_data_list; static void control_flow_grab_focus(GtkWidget *widget, gpointer data){ ControlFlowData * control_flow_data = (ControlFlowData *)data; MainWindow * mw = control_flow_data->mw; - lttvwindow_report_focus(mw, gtk_widget_get_parent(control_flow_data->scrolled_window)); + lttvwindow_report_focus(mw, control_flow_data->scrolled_window); } diff --git a/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c b/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c index d28c67ff..2d7766e7 100644 --- a/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c +++ b/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c @@ -1503,7 +1503,7 @@ gboolean traceset_changed(void * hook_data, void * call_data) void tree_v_grab_focus(GtkWidget *widget, gpointer data){ EventViewerData *event_viewer_data = (EventViewerData *)data; MainWindow * mw = event_viewer_data->mw; - lttvwindow_report_focus(mw, gtk_widget_get_parent(event_viewer_data->hbox_v)); + lttvwindow_report_focus(mw, event_viewer_data->hbox_v); } void update_raw_data_array(EventViewerData* event_viewer_data, unsigned size) diff --git a/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c b/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c index d8d32465..ed460d49 100644 --- a/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c +++ b/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c @@ -315,7 +315,7 @@ void grab_focus(GtkWidget *widget, gpointer data) { StatisticViewerData *statistic_viewer_data = (StatisticViewerData *)data; MainWindow * mw = statistic_viewer_data->mw; - lttvwindow_report_focus(mw, gtk_widget_get_parent(statistic_viewer_data->hpaned_v)); + lttvwindow_report_focus(mw, statistic_viewer_data->hpaned_v); } static void