* hildon-widgets/hildon-defines.c: Ensure the style before setting the
logical color. Fixes #NB40041.
2006-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+ * hildon-widgets/hildon-defines.c: Ensure the style before setting the
+ logical color. Fixes #NB40041.
+
+2006-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+
* hildon-widgets/hildon-date-editor.c: Bring focus to date after the
date has been choosen in the calendar popup.
{
/* Changing logical color */
GdkColor color;
+ gtk_widget_ensure_style (widget);
if (gtk_style_lookup_logical_color (widget->style, ld->logicalcolorstring, &color) == TRUE)
switch (ld->rcflags)
{
case GTK_RC_BASE:
gtk_widget_modify_base (widget, ld->state, &color);
break;
+ } else
+ {
+ g_warning ("Failed to lookup '%s' color!", ld->logicalcolorstring);
}
}