diff options
author | Tim Janik <timj@gtk.org> | 1999-01-17 14:52:22 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1999-01-17 14:52:22 +0000 |
commit | 65ef495712871d6555135bc6235cadbc7bc6fca4 (patch) | |
tree | c7d5111c34b021aacbd24796ac8bb4e22280606b /tests | |
parent | 9c5dfcd3ae9b8602d46159bd0c46c5e9781f8a1c (diff) | |
download | gtk+-65ef495712871d6555135bc6235cadbc7bc6fca4.tar.gz |
deprecated gtk_check_menu_item_set_state, people should use
Sun Jan 17 14:52:29 1999 Tim Janik <timj@gtk.org>
* gtk/gtkcompat.h:
* gtk/gtkcheckmenuitem.[hc]:
deprecated gtk_check_menu_item_set_state, people should use
gtk_check_menu_item_set_active instead.
* gtk/testgtk.c:
s/gtk_check_menu_item_set_state/gtk_check_menu_item_set_active/.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testgtk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index d45290831d..2c14f80796 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -99,7 +99,7 @@ build_option_menu (OptionMenuItem items[], group = gtk_radio_menu_item_group (GTK_RADIO_MENU_ITEM (menu_item)); gtk_menu_append (GTK_MENU (menu), menu_item); if (i == history) - gtk_check_menu_item_set_state (GTK_CHECK_MENU_ITEM (menu_item), TRUE); + gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_item), TRUE); gtk_widget_show (menu_item); } @@ -3479,7 +3479,7 @@ create_list (void) GTK_SIGNAL_FUNC (list_toggle_sel_mode), list); group = gtk_radio_menu_item_group (GTK_RADIO_MENU_ITEM (menu_item)); gtk_menu_append (GTK_MENU (menu), menu_item); - gtk_check_menu_item_set_state (GTK_CHECK_MENU_ITEM (menu_item), TRUE); + gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_item), TRUE); gtk_widget_show (menu_item); gtk_option_menu_set_menu (GTK_OPTION_MENU (list_omenu), menu); |