From 3464afd167b54d53c41d49a0d8a22c54f776a861 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Tue, 24 Jan 2012 23:33:16 +0100 Subject: [PATCH] Get rid of the unused accel group in the app --- midori/midori-app.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/midori/midori-app.c b/midori/midori-app.c index 99b10013..e882810d 100644 --- a/midori/midori-app.c +++ b/midori/midori-app.c @@ -69,7 +69,6 @@ struct _MidoriApp GObject parent_instance; MidoriBrowser* browser; - GtkAccelGroup* accel_group; gchar* name; MidoriWebSettings* settings; @@ -216,7 +215,6 @@ _midori_app_add_browser (MidoriApp* app, g_return_if_fail (MIDORI_IS_APP (app)); g_return_if_fail (MIDORI_IS_BROWSER (browser)); - gtk_window_add_accel_group (GTK_WINDOW (browser), app->accel_group); g_object_connect (browser, "signal::focus-in-event", midori_browser_focus_in_event_cb, app, "signal::new-window", midori_browser_new_window_cb, app, @@ -771,8 +769,6 @@ midori_app_create_instance (MidoriApp* app) static void midori_app_init (MidoriApp* app) { - app->accel_group = gtk_accel_group_new (); - app->settings = NULL; app->bookmarks = NULL; app->trash = NULL; @@ -797,8 +793,6 @@ midori_app_finalize (GObject* object) { MidoriApp* app = MIDORI_APP (object); - g_object_unref (app->accel_group); - katze_assign (app->name, NULL); katze_object_assign (app->settings, NULL); katze_object_assign (app->bookmarks, NULL); -- 2.39.5