diff --git a/tests/testmenubutton.c b/tests/testmenubutton.c index f165d88aa7..cb2b647b0f 100644 --- a/tests/testmenubutton.c +++ b/tests/testmenubutton.c @@ -40,7 +40,6 @@ int main (int argc, char **argv) GtkWidget *label; GtkWidget *check; GtkWidget *combo; - GtkAccelGroup *accel_group; guint i; guint row = 0; GMenu *menu; @@ -55,9 +54,6 @@ int main (int argc, char **argv) gtk_grid_set_column_spacing (GTK_GRID (grid), 12); gtk_container_add (GTK_CONTAINER (window), grid); - accel_group = gtk_accel_group_new (); - gtk_window_add_accel_group (GTK_WINDOW (window), accel_group); - /* horizontal alignment */ label = gtk_label_new ("Horizontal Alignment:"); gtk_widget_show (label);