Hello! Mark Deneen has written on Tuesday, 14 April, at 10:54: >According to the documentation:
>"The color is not allocated, you must call gdk_colormap_alloc_color() >yourself." >On Tue, Apr 14, 2015 at 10:42 AM, <fr...@albsystems.de> wrote: >> I tracked down the problem to a: >> >> GdkColor *fg_color; >> gdk_color_parse("red", fg_color); I would rather not allocate/free GdkColor structure at all but use stack allocation instead, like this: GdkColor fg_color; gdk_color_parse("red", &fg_color); and then use &fg_color in place of fg_color in your code and never do gdk_color_free() on it, of course. With best regards, Andriy. ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Lxde-list mailing list Lxde-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxde-list