[empathy] remove notify_manager_dispose as it doesn't do anything



commit b176e4b26a65bcc92b9e38b0ef1ce1ecc6229749
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Nov 13 11:02:14 2009 +0000

    remove notify_manager_dispose as it doesn't do anything

 libempathy-gtk/empathy-notify-manager.c |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/libempathy-gtk/empathy-notify-manager.c b/libempathy-gtk/empathy-notify-manager.c
index c3d4406..49fdd28 100644
--- a/libempathy-gtk/empathy-notify-manager.c
+++ b/libempathy-gtk/empathy-notify-manager.c
@@ -39,8 +39,6 @@ typedef struct
 {
   /* owned (gchar *) => TRUE */
   GHashTable *capabilities;
-
-  gboolean dispose_has_run;
 } EmpathyNotifyManagerPriv;
 
 G_DEFINE_TYPE (EmpathyNotifyManager, empathy_notify_manager, G_TYPE_OBJECT);
@@ -67,19 +65,6 @@ notify_manager_constructor (GType type,
 }
 
 static void
-notify_manager_dispose (GObject *object)
-{
-  EmpathyNotifyManagerPriv *priv = GET_PRIV (object);
-
-  if (priv->dispose_has_run)
-    return;
-
-  priv->dispose_has_run = TRUE;
-
-  G_OBJECT_CLASS (empathy_notify_manager_parent_class)->dispose (object);
-}
-
-static void
 notify_manager_finalize (GObject *object)
 {
   EmpathyNotifyManagerPriv *priv = GET_PRIV (object);
@@ -94,7 +79,6 @@ empathy_notify_manager_class_init (EmpathyNotifyManagerClass *klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-  object_class->dispose = notify_manager_dispose;
   object_class->finalize = notify_manager_finalize;
   object_class->constructor = notify_manager_constructor;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]