gtk-engines r1282 - in trunk: . engines/clearlooks/src
- From: pborelli svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk-engines r1282 - in trunk: . engines/clearlooks/src
- Date: Sun, 30 Nov 2008 13:24:04 +0000 (UTC)
Author: pborelli
Date: Sun Nov 30 13:24:04 2008
New Revision: 1282
URL: http://svn.gnome.org/viewvc/gtk-engines?rev=1282&view=rev
Log:
2008-11-30 Paolo Borelli <pborelli katamail com>
* engines/clearlooks/src/clearlooks_style.c
(clearlooks_style_draw_box):
Make sure cairo_destroy is called when detail is buttondefault.
Reviewed by Andrea Cimitan.
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 Sun Nov 30 13:24:04 2008
@@ -556,14 +556,15 @@
STYLE_FUNCTION(draw_list_view_header) (cr, colors, ¶ms, &header,
x, y, width, height);
}
- else if (DETAIL ("button") || DETAIL ("buttondefault"))
+ else if (DETAIL ("buttondefault"))
{
/* We are already checking the default button with the
* "clearlooks_set_widget_parameters" function, so we may occur
* in drawing the button two times. Let's return then.
*/
- if (DETAIL ("buttondefault"))
- return;
+ }
+ else if (DETAIL ("button"))
+ {
WidgetParameters params;
ShadowParameters shadow = { CR_CORNER_ALL, CL_SHADOW_NONE } ;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]