[gedit/wip/gtkapp: 7/10] Kill app_ready.
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/gtkapp: 7/10] Kill app_ready.
- Date: Wed, 28 Nov 2012 14:02:29 +0000 (UTC)
commit 86d94b23d0365299e800cf19e078b27d7ce56ce0
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Nov 19 14:24:54 2012 +0100
Kill app_ready.
Subclasses should just override activate instead.
gedit/gedit-app.c | 14 --------------
gedit/gedit-app.h | 3 ---
2 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/gedit/gedit-app.c b/gedit/gedit-app.c
index f93e2fa..334da92 100644
--- a/gedit/gedit-app.c
+++ b/gedit/gedit-app.c
@@ -1028,11 +1028,6 @@ gedit_app_create_window_impl (GeditApp *app)
}
static void
-gedit_app_ready_impl (GeditApp *app)
-{
-}
-
-static void
gedit_app_class_init (GeditAppClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
@@ -1054,7 +1049,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,
@@ -1602,12 +1596,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: */
diff --git a/gedit/gedit-app.h b/gedit/gedit-app.h
index 907b713..3c15b28 100644
--- a/gedit/gedit-app.h
+++ b/gedit/gedit-app.h
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]