summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderertoggle.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@gnome.org>2002-06-01 15:08:47 +0000
committerJonathan Blandford <jrb@src.gnome.org>2002-06-01 15:08:47 +0000
commitfce6c25fb56435374098ae29373b3c89fe59e0de (patch)
tree5e6b48aabab8993c2b79743d9a59fd77f4dfef52 /gtk/gtkcellrenderertoggle.c
parent61857770ce695f7316b0b3ab338478570b93f221 (diff)
downloadgtk+-fce6c25fb56435374098ae29373b3c89fe59e0de.tar.gz
add missing flag, #83796
Sat Jun 1 10:43:28 2002 Jonathan Blandford <jrb@gnome.org> * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): add missing flag, #83796
Diffstat (limited to 'gtk/gtkcellrenderertoggle.c')
-rw-r--r--gtk/gtkcellrenderertoggle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c
index 67e290c42e..9a1da63364 100644
--- a/gtk/gtkcellrenderertoggle.c
+++ b/gtk/gtkcellrenderertoggle.c
@@ -306,11 +306,11 @@ gtk_cell_renderer_toggle_render (GtkCellRenderer *cell,
}
if (celltoggle->activatable)
{
- state = GTK_STATE_NORMAL;
+ state |= GTK_STATE_NORMAL;
}
else
{
- state = GTK_STATE_INSENSITIVE;
+ state |= GTK_STATE_INSENSITIVE;
}
if (celltoggle->radio)