Re: Gtk+ unit tests (brainstorming)

2006-11-14 Thread Tim Janik
On Thu, 26 Oct 2006, Iago Toral Quiroga wrote: >> - in the common case, test results should be reduced to a single boolean: >> "all tests passed" vs. "at least one test failed" >>many test frameworks provide means to count and report failing tests >>(even automake's standard check:-ru

Re: gdk_gc_set_foreground(): not working over DirectFB

2006-11-14 Thread Sven Neumann
Hi, On Mon, 2006-11-13 at 14:40 +0530, Prasanna Kumar K wrote: > + GdkColor color; > + > + color.pixel = 0x; > + gdk_gc_set_foreground (widget->style->fg_gc[GTK_WIDGET_STATE (widget)], > &color); You are using an unallocated color here. There's gdk_gc_set_rgb_fg_color() for that purpo