murrine r73 - in trunk: . src
- From: acimitan svn gnome org
- To: svn-commits-list gnome org
- Subject: murrine r73 - in trunk: . src
- Date: Fri, 26 Sep 2008 22:26:47 +0000 (UTC)
Author: acimitan
Date: Fri Sep 26 22:26:47 2008
New Revision: 73
URL: http://svn.gnome.org/viewvc/murrine?rev=73&view=rev
Log:
2008-09-27 Andrea Cimitan <andrea cimitan gmail com>
* src/murrine_style.c (murrine_style_draw_shadow),
(murrine_style_draw_box):
Fix the check to also fill the background if the widget is NULL.
Modified:
trunk/ChangeLog
trunk/src/murrine_style.c
Modified: trunk/src/murrine_style.c
==============================================================================
--- trunk/src/murrine_style.c (original)
+++ trunk/src/murrine_style.c Fri Sep 26 22:26:47 2008
@@ -393,7 +393,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);
if (!params.mrn_gradient.use_rgba)
@@ -936,7 +936,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);
if (!params.mrn_gradient.use_rgba)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]