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)
This commit is contained in:
committed by
Matthias Clasen
parent
76ae618c20
commit
3cb0f95c2f
@@ -1,3 +1,8 @@
|
||||
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-02-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_get_cursor): Comment out some unused
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
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-02-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_get_cursor): Comment out some unused
|
||||
|
||||
@@ -350,7 +350,7 @@ render (GtkColorButton *color_button)
|
||||
|
||||
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 + 1) = insensitive_g;
|
||||
|
||||
Reference in New Issue
Block a user