Get rid of the unused accel group in the app
This commit is contained in:
parent
ab720a177d
commit
3464afd167
1 changed files with 0 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue