X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2FguiControlFlow%2FDrawing.c;h=8f35e071138b6cb87c36dbb7e08c9c4f225b1655;hb=90ffd2adca8a23a36f3a9b7279f40797907723de;hp=ea056ff06ca5ac324a09f26676bd6e6f28e87f61;hpb=bd24a9afb2b7ab792a7de77a2226009fd746ac18;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.c b/ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.c index ea056ff0..8f35e071 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.c +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.c @@ -278,6 +278,9 @@ Drawing_t *drawing_construct(ControlFlowData *Control_Flow_Data) Drawing->Drawing_Area_V = gtk_drawing_area_new (); Drawing->Control_Flow_Data = Control_Flow_Data; + Drawing->pango_layout = + gtk_widget_create_pango_layout(Drawing->Drawing_Area_V, NULL); + //gtk_widget_set_size_request(Drawing->Drawing_Area_V->window, 50, 50); g_object_set_data_full( G_OBJECT(Drawing->Drawing_Area_V), @@ -327,6 +330,7 @@ void drawing_destroy(Drawing_t *Drawing) // Do not unref here, Drawing_t destroyed by it's widget. //g_object_unref( G_OBJECT(Drawing->Drawing_Area_V)); + g_free(Drawing->pango_layout); g_free(Drawing); }