create directories branches, tags, trunk
[lttv.git] / ltt / branches / poly / lttv / modules / gui / lttvwindow / lttvwindow / lttvwindow.c
index 4f77d883a695173b97fc73db4e5bd834bac5bddc..3dea5a927257b9a9ebc2b12eadad88c7e93f3b5d 100644 (file)
@@ -938,8 +938,13 @@ __EXPORT void lttvwindow_events_request(Tab *tab,
     /* Redraw has +20 priority. We want to let the redraw be done while we do
      * our job. Mathieu : test with high prio higher than events for better
      * scrolling. */
-    //g_idle_add_full((G_PRIORITY_HIGH_IDLE + 21),
-    g_idle_add_full((G_PRIORITY_DEFAULT + 2),
+    /* Mathieu, 2008 : ok, finally, the control flow view needs the cell updates
+     * to come soon enough so we can have one active cell to get the pixmap
+     * buffer height from. Therefore, let the gdk events run before the events
+     * requests.
+     */
+    g_idle_add_full((G_PRIORITY_HIGH_IDLE + 21),
+    //g_idle_add_full((G_PRIORITY_DEFAULT + 2),
                     (GSourceFunc)execute_events_requests,
                     tab,
                     NULL);
@@ -1110,7 +1115,7 @@ void events_request_free(EventsRequest *events_request)
   if(events_request->hooks != NULL) {
     guint i;
     GArray *hooks = events_request->hooks;
-    lttv_trace_hook_remove_all(hooks);
+    lttv_trace_hook_remove_all(&hooks);
     g_array_free(events_request->hooks, TRUE);
   }
   if(events_request->before_chunk_traceset != NULL)
This page took 0.02338 seconds and 4 git commands to generate.