empathy r2585 - trunk/libempathy



Author: xclaesse
Date: Fri Mar  6 11:51:42 2009
New Revision: 2585
URL: http://svn.gnome.org/viewvc/empathy?rev=2585&view=rev

Log:
Fixed problems picked up when rebasing and cherry-picking.

Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>

Modified:
   trunk/libempathy/empathy-log-manager.c

Modified: trunk/libempathy/empathy-log-manager.c
==============================================================================
--- trunk/libempathy/empathy-log-manager.c	(original)
+++ trunk/libempathy/empathy-log-manager.c	Fri Mar  6 11:51:42 2009
@@ -47,14 +47,6 @@
 static EmpathyLogManager * manager_singleton = NULL;
 
 static void
-empathy_log_manager_init (EmpathyLogManager *manager)
-{
-  EmpathyLogManagerPriv *priv = G_TYPE_INSTANCE_GET_PRIVATE (manager,
-      EMPATHY_TYPE_LOG_MANAGER, EmpathyLogManagerPriv);
-  manager->priv = priv;
-}
-
-static void
 log_manager_finalize (GObject *object)
 {
   EmpathyLogManagerPriv *priv;
@@ -104,6 +96,7 @@
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
+  object_class->constructor = log_manager_constructor;
   object_class->finalize = log_manager_finalize;
 
   g_type_class_add_private (object_class, sizeof (EmpathyLogManagerPriv));
@@ -118,13 +111,7 @@
   priv->sources = g_list_append (priv->sources,
       g_object_new (EMPATHY_TYPE_LOG_SOURCE_EMPATHY, NULL));
 
-/*  priv->sources = g_list_append (priv->sources,
-      g_object_new (EMPATHY_LOG_SOURCE_PIDGIN, NULL));*/
-
   manager->priv = priv;
-
-  priv->sources = g_list_append (priv->sources,
-      empathy_log_source_empathy_get_source ());
 }
 
 EmpathyLogManager *



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