[gtk/shortcuts-rebased-again: 105/171] testmenubutton: Don't create a GtkAccelGroup
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/shortcuts-rebased-again: 105/171] testmenubutton: Don't create a GtkAccelGroup
- Date: Mon, 24 Jun 2019 23:13:19 +0000 (UTC)
commit f0b41b181d505a208fbd7737641ec3ed93f7c70c
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 62b9ea2226..07261f231f 100644
--- a/tests/testmenubutton.c
+++ b/tests/testmenubutton.c
@@ -41,7 +41,6 @@ int main (int argc, char **argv)
GtkWidget *check;
GtkWidget *combo;
GtkWidget *menu_widget;
- GtkAccelGroup *accel_group;
guint i;
guint row = 0;
GMenu *menu;
@@ -56,9 +55,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]