Commit 6109863e authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Use GTK_WIDGET_IS_SENSITIVE, not GTK_WIDGET_SENSITIVE. (#333133, Christian

2006-03-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcolorbutton.c (render): Use GTK_WIDGET_IS_SENSITIVE,
	not GTK_WIDGET_SENSITIVE.  (#333133, Christian Persch)
parent c914f834
2006-03-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcolorbutton.c (render): Use GTK_WIDGET_IS_SENSITIVE,
not GTK_WIDGET_SENSITIVE. (#333133, Christian Persch)
2006-03-02 Ross Burton <ross@openedhand.com> 2006-03-02 Ross Burton <ross@openedhand.com>
* gtk/gtktooltips.c: * gtk/gtktooltips.c:
......
2006-03-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcolorbutton.c (render): Use GTK_WIDGET_IS_SENSITIVE,
not GTK_WIDGET_SENSITIVE. (#333133, Christian Persch)
2006-03-02 Ross Burton <ross@openedhand.com> 2006-03-02 Ross Burton <ross@openedhand.com>
* gtk/gtktooltips.c: * gtk/gtktooltips.c:
......
...@@ -348,7 +348,7 @@ render (GtkColorButton *color_button) ...@@ -348,7 +348,7 @@ render (GtkColorButton *color_button)
for (i = 0; i < width; i++) for (i = 0; i < width; i++)
{ {
if (!GTK_WIDGET_SENSITIVE (GTK_WIDGET (color_button)) && (i+j)%2) if (!GTK_WIDGET_IS_SENSITIVE (GTK_WIDGET (color_button)) && (i+j)%2)
{ {
*(pixels + j * rowstride + i * 3) = insensitive_r; *(pixels + j * rowstride + i * 3) = insensitive_r;
*(pixels + j * rowstride + i * 3 + 1) = insensitive_g; *(pixels + j * rowstride + i * 3 + 1) = insensitive_g;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment