Commit 1666704e authored by Ignacio Casal Quinteiro's avatar Ignacio Casal Quinteiro Committed by Paolo Borelli

Kill app_ready.

Subclasses should just override activate instead.
parent a101107d
......@@ -1044,11 +1044,6 @@ gedit_app_create_window_impl (GeditApp *app)
return window;
}
static void
gedit_app_ready_impl (GeditApp *app)
{
}
static void
gedit_app_class_init (GeditAppClass *klass)
{
......@@ -1071,7 +1066,6 @@ gedit_app_class_init (GeditAppClass *klass)
klass->help_link_id = gedit_app_help_link_id_impl;
klass->set_window_title = gedit_app_set_window_title_impl;
klass->create_window = gedit_app_create_window_impl;
klass->ready = gedit_app_ready_impl;
g_object_class_install_property (object_class,
PROP_LOCKDOWN,
......@@ -1619,12 +1613,4 @@ _gedit_app_get_settings (GeditApp *app)
return app->priv->settings;
}
void
_gedit_app_ready (GeditApp *app)
{
g_return_if_fail (GEDIT_IS_APP (app));
GEDIT_APP_GET_CLASS (app)->ready (app);
}
/* ex:set ts=8 noet: */
......@@ -81,8 +81,6 @@ struct _GeditAppClass
gboolean (*process_window_event) (GeditApp *app,
GeditWindow *window,
GdkEvent *event);
void (*ready) (GeditApp *app);
};
/*
......@@ -158,7 +156,6 @@ void _gedit_app_set_default_print_settings (GeditApp *app,
GtkPrintSettings *settings);
GObject *_gedit_app_get_settings (GeditApp *app);
void _gedit_app_ready (GeditApp *app);
G_END_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment