diff --git a/modules/other/gail/tests/ferret.c b/modules/other/gail/tests/ferret.c index bd2f0b04a1..d6754f2630 100644 --- a/modules/other/gail/tests/ferret.c +++ b/modules/other/gail/tests/ferret.c @@ -1683,7 +1683,7 @@ _create_window (void) gtk_box_pack_start (GTK_BOX (vbox1), menubar, FALSE, TRUE, 0); gtk_widget_show (menubar); menutop = gtk_menu_item_new_with_label("Menu"); - gtk_menu_bar_append(GTK_MENU_BAR(menubar), menutop); + gtk_menu_shell_append (GTK_MENU_SHELL (menubar), menutop); gtk_widget_show (menutop); menu = gtk_menu_new(); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menutop), menu); @@ -1977,7 +1977,7 @@ _get_name_value(GroupInfo *group, const gchar *label, name_value->label = GTK_LABEL(gtk_label_new(label)); name_value->string = gtk_label_new (NULL); name_value->boolean = gtk_check_button_new (); - gtk_entry_buffer_set_max_length (gtk_entry_get_buffer (name_value->text), 1000); + gtk_entry_buffer_set_max_length (gtk_entry_get_buffer (GTK_ENTRY (name_value->text)), 1000); name_value->button = GTK_BUTTON(gtk_button_new ()); gtk_box_pack_end(GTK_BOX(name_value->column1),