GObject parent_instance;
MidoriBrowser* browser;
- GtkAccelGroup* accel_group;
gchar* name;
MidoriWebSettings* settings;
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,
static void
midori_app_init (MidoriApp* app)
{
- app->accel_group = gtk_accel_group_new ();
-
app->settings = NULL;
app->bookmarks = NULL;
app->trash = NULL;
{
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);