2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+ * src/hildon-helper.c: Remove the bogus warning about color not being
+ found. Fixes NB#58352.
+
+2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+
* examples/Makefile.am:
* examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
HildonSeekbar widget inside a toolbar.
/* Changing logical color */
GdkColor color;
gtk_widget_ensure_style (widget);
- if (gtk_style_lookup_color (widget->style, ld->logicalcolorstring, &color) == TRUE)
+ if (gtk_style_lookup_color (widget->style, ld->logicalcolorstring, &color) == TRUE) {
switch (ld->rcflags)
{
case GTK_RC_FG:
case GTK_RC_BASE:
gtk_widget_modify_base (widget, ld->state, &color);
break;
-
- } else {
- g_warning ("Failed to lookup '%s' color!", ld->logicalcolorstring);
}
+ } else {
+ g_warning ("Failed to lookup '%s' color!", ld->logicalcolorstring);
+ }
}
if (ld->logicalfontstring != NULL)