diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-03-06 11:29:31 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-06 11:37:06 +0100 |
commit | 24bafd8693e88b9b1635bbd6d1401ceb68ca7809 (patch) | |
tree | 17f3aa56775e6fe7dfeb1c2974e9496ad5b11610 /gtk/gtkcheckbutton.c | |
parent | 2d4b7b263013fb20af740311af1f2890963737c5 (diff) | |
download | gtk+-24bafd8693e88b9b1635bbd6d1401ceb68ca7809.tar.gz |
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_WINDOW)
Use new API instead: gtk_widget_set_has_window ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkcheckbutton.c')
-rw-r--r-- | gtk/gtkcheckbutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c index 5309296b8a..ed94e3caa0 100644 --- a/gtk/gtkcheckbutton.c +++ b/gtk/gtkcheckbutton.c @@ -85,7 +85,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class) static void gtk_check_button_init (GtkCheckButton *check_button) { - GTK_WIDGET_SET_FLAGS (check_button, GTK_NO_WINDOW); + gtk_widget_set_has_window (GTK_WIDGET (check_button), FALSE); gtk_widget_set_receives_default (GTK_WIDGET (check_button), FALSE); GTK_TOGGLE_BUTTON (check_button)->draw_indicator = TRUE; GTK_BUTTON (check_button)->depress_on_activate = FALSE; |