diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-03-02 07:58:05 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-02 07:58:05 +0100 |
commit | e8e95d4c5ee4c7c78971597c53f0b6e3f0e81b7a (patch) | |
tree | e0af9394513f9dcb571e80f39456a1fda1c1533b /tests/testmenubars.c | |
parent | 483a5a9e1a55f01cbd20b7bbd301ee59efaa4c64 (diff) | |
download | gtk+-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 'tests/testmenubars.c')
-rw-r--r-- | tests/testmenubars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testmenubars.c b/tests/testmenubars.c index 7626431ad3..416a939861 100644 --- a/tests/testmenubars.c +++ b/tests/testmenubars.c @@ -160,7 +160,7 @@ main (int argc, char **argv) g_signal_connect_swapped (button, "clicked", G_CALLBACK(gtk_widget_destroy), window); gtk_box_pack_start (GTK_BOX (box2), button, TRUE, TRUE, 0); - GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT); + gtk_widget_set_can_default (button, TRUE); gtk_widget_grab_default (button); gtk_widget_show (button); } |