X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Flttvwindow%2Flttvwindow%2Flttvwindow.c;h=f7035ea35566f9599b8520ac2465af82205a796f;hb=20fde85fa4660fbc6ec44101c8d7e9fe2aca94fa;hp=a47e0fd40679b753b714eccf7a45841209a4c2d6;hpb=5bf80c50db66957caea1577bb4c9f8e8f7d9d75e;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c index a47e0fd4..f7035ea3 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c @@ -749,12 +749,9 @@ void lttvwindow_report_focus(Tab *tab, GtkWidget *top_widget) */ void lttvwindow_events_request(Tab *tab, - const EventsRequest *events_request) + EventsRequest *events_request) { - EventsRequest *alloc = g_new(EventsRequest,1); - *alloc = *events_request; - - tab->events_requests = g_slist_append(tab->events_requests, alloc); + tab->events_requests = g_slist_append(tab->events_requests, events_request); if(!tab->events_request_pending) {