mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
testmenubutton: Don't create a GtkAccelGroup
It's unused.
This commit is contained in:
parent
93bb3f7144
commit
e944514664
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user