[gtk/wip/ebassi/shortcut: 264/267] testmenubutton: Don't create a GtkAccelGroup
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/ebassi/shortcut: 264/267] testmenubutton: Don't create a GtkAccelGroup
- Date: Thu, 6 Feb 2020 18:26:03 +0000 (UTC)
commit 0f16b51791574cacda569b5eab1c4c053b6cc71e
Author: Benjamin Otte <otte redhat com>
Date: Fri Aug 24 07:41:28 2018 +0200
testmenubutton: Don't create a GtkAccelGroup
It's unused.
tests/testmenubutton.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/tests/testmenubutton.c b/tests/testmenubutton.c
index 7e3d945b73..15ac67abb3 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]