summaryrefslogtreecommitdiff
path: root/examples/calendar
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-02 07:58:05 +0100
committerJavier Jardón <jjardon@gnome.org>2010-03-02 07:58:05 +0100
commite8e95d4c5ee4c7c78971597c53f0b6e3f0e81b7a (patch)
treee0af9394513f9dcb571e80f39456a1fda1c1533b /examples/calendar
parent483a5a9e1a55f01cbd20b7bbd301ee59efaa4c64 (diff)
downloadgtk+-e8e95d4c5ee4c7c78971597c53f0b6e3f0e81b7a.tar.gz
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_DEFAULT)
Use new API instead: gtk_widget_set_can_default ()
Diffstat (limited to 'examples/calendar')
-rw-r--r--examples/calendar/calendar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/calendar/calendar.c b/examples/calendar/calendar.c
index 2be27c336b..1f9a3a5bbd 100644
--- a/examples/calendar/calendar.c
+++ b/examples/calendar/calendar.c
@@ -393,7 +393,7 @@ static void create_calendar( void )
G_CALLBACK (gtk_main_quit),
NULL);
gtk_container_add (GTK_CONTAINER (bbox), button);
- GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
+ gtk_widget_set_can_default (button, TRUE);
gtk_widget_grab_default (button);
gtk_widget_show_all (window);