testmenubutton: Don't create a GtkAccelGroup

It's unused.
This commit is contained in:
Benjamin Otte 2018-08-24 07:41:28 +02:00 committed by Matthias Clasen
parent 93bb3f7144
commit e944514664

View File

@ -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);