[gedit/wip/gtkapp: 18/26] Kill app_ready.



commit ad78407a968218f1e2644dcb5b47b1cc8593665f
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 e0d5cbc..b7c5f34 100644
--- a/gedit/gedit-app.c
+++ b/gedit/gedit-app.c
@@ -1026,11 +1026,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);
@@ -1052,7 +1047,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,
@@ -1600,12 +1594,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]