gtk-engines r1233 - in trunk: . engines/clearlooks/src
- From: bberg svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk-engines r1233 - in trunk: . engines/clearlooks/src
- Date: Thu, 14 Aug 2008 22:18:44 +0000 (UTC)
Author: bberg
Date: Thu Aug 14 22:18:44 2008
New Revision: 1233
URL: http://svn.gnome.org/viewvc/gtk-engines?rev=1233&view=rev
Log:
2008-08-15 Benjamin Berg <benjamin sipsolutions net>
* engines/clearlooks/src/clearlooks_style.c:
(clearlooks_style_draw_shadow), (clearlooks_style_draw_box):
Fix the check to also fill the background if the widget is NULL.
Modified:
trunk/ChangeLog
trunk/engines/clearlooks/src/clearlooks_style.c
Modified: trunk/engines/clearlooks/src/clearlooks_style.c
==============================================================================
--- trunk/engines/clearlooks/src/clearlooks_style.c (original)
+++ trunk/engines/clearlooks/src/clearlooks_style.c Thu Aug 14 22:18:44 2008
@@ -187,7 +187,7 @@
* Relevant GTK+ bug: http://bugzilla.gnome.org/show_bug.cgi?id=513471
* The fill only happens if no hint has been added by some application
* that is faking GTK+ widgets. */
- if (widget && !g_object_get_data(G_OBJECT (widget), "transparent-bg-hint"))
+ if (!widget || !g_object_get_data(G_OBJECT (widget), "transparent-bg-hint"))
{
cairo_rectangle (cr, 0, 0, width, height);
ge_cairo_set_color (cr, ¶ms.parentbg);
@@ -662,7 +662,7 @@
* Relevant GTK+ bug: http://bugzilla.gnome.org/show_bug.cgi?id=513476
* The fill only happens if no hint has been added by some application
* that is faking GTK+ widgets. */
- if (widget && !g_object_get_data(G_OBJECT (widget), "transparent-bg-hint"))
+ if (!widget || !g_object_get_data(G_OBJECT (widget), "transparent-bg-hint"))
{
cairo_rectangle (cr, 0, 0, width, height);
ge_cairo_set_color (cr, ¶ms.parentbg);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]