[gtk+/gtk-style-context] GtkCheckButton: Fix typo when setting insensitive state.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context] GtkCheckButton: Fix typo when setting insensitive state.
- Date: Wed, 24 Nov 2010 02:05:43 +0000 (UTC)
commit c3e0880d14928f22961552a79bd5648c6427317c
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Nov 24 01:09:52 2010 +0100
GtkCheckButton: Fix typo when setting insensitive state.
gtk/gtkcheckbutton.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c
index 9e637f0..e3e6614 100644
--- a/gtk/gtkcheckbutton.c
+++ b/gtk/gtkcheckbutton.c
@@ -452,7 +452,7 @@ gtk_real_check_button_draw_indicator (GtkCheckButton *check_button,
if (button->in_button)
state |= GTK_STATE_FLAG_PRELIGHT;
else if (!gtk_widget_is_sensitive (widget))
- state |= GTK_STATE_INSENSITIVE;
+ state |= GTK_STATE_FLAG_INSENSITIVE;
if (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL)
x = allocation.width - (indicator_size + x);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]