From 24bafd8693e88b9b1635bbd6d1401ceb68ca7809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Sat, 6 Mar 2010 11:29:31 +0100 Subject: 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 --- gtk/gtkcheckbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkcheckbutton.c') 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; -- cgit v1.2.1