[gtk/shortcuts-rebased-again: 94/129] testmenubutton: Don't create a GtkAccelGroup
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/shortcuts-rebased-again: 94/129] testmenubutton: Don't create a GtkAccelGroup
- Date: Sat, 22 Jun 2019 13:59:12 +0000 (UTC)
commit c6bf2a26594090dab9101cfd10a62c0c3899ee18
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]