[gedit/wip/gtkapp: 15/17] Kill app_ready.



commit cbca0f1cdf5e9cfbc9f6a382ace0a7ae82f2aedb
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 0e98f8e..da4f9b1 100644
--- a/gedit/gedit-app.c
+++ b/gedit/gedit-app.c
@@ -1041,11 +1041,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);
@@ -1068,7 +1063,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,
@@ -1623,12 +1617,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]