fix scrolling
[lttv.git] / ltt / branches / poly / lttv / modules / gui / lttvwindow / lttvwindow / lttvwindow.c
index 225104c780a5f7b27b12c9f9f8e090c800e99253..9814c3d232c9fe1dd0c5666c2eae509cf4fdbf44 100644 (file)
@@ -1024,15 +1024,14 @@ LttTime lttvwindow_get_current_time(Tab *tab)
 
 /**
  * Function to get the filter of the current tab.
- * @param main_win, the main window the viewer belongs to.
  * @param filter, a pointer to a filter.
+ *
+ * returns the current filter
  */
-#if 0
 LttvFilter *lttvwindow_get_filter(Tab *tab)
 {
   return tab->filter;
 }
-#endif //0
 
 /**
  * Function to set the filter of the current tab.
@@ -1122,19 +1121,9 @@ void events_request_free(EventsRequest *events_request)
 }
 
 
-void main_window_add_child_window(Tab *tab, gpointer data,
-    const gchar *name, GDestroyNotify destroy_fct)
-{
-  g_object_set_data_full(G_OBJECT(tab->mw->mwindow),
-      name,
-      data,
-      destroy_fct);
-}
 
-void main_window_remove_child_window(Tab *tab,
-    const gchar *name)
+GtkWidget *main_window_get_widget(Tab *tab)
 {
-  /* Might return NULL if called from the descructor upon main window close */
-  g_object_steal_data(G_OBJECT(tab->mw->mwindow), name);
+  return tab->mw->mwindow;
 }
 
This page took 0.024711 seconds and 4 git commands to generate.