diff options
Diffstat (limited to 'libempathy/empathy-chatroom-manager.c')
-rw-r--r-- | libempathy/empathy-chatroom-manager.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libempathy/empathy-chatroom-manager.c b/libempathy/empathy-chatroom-manager.c index 6b47cd778..839e5da8e 100644 --- a/libempathy/empathy-chatroom-manager.c +++ b/libempathy/empathy-chatroom-manager.c @@ -65,7 +65,7 @@ static guint signals[LAST_SIGNAL]; /* properties */ enum { - PROP_FILE =1, + PROP_FILE = 1, LAST_PROPERTY }; @@ -215,12 +215,14 @@ chatroom_manager_finalize (GObject *object) } EmpathyChatroomManager * -empathy_chatroom_manager_new (void) +empathy_chatroom_manager_new (const gchar *file) { static EmpathyChatroomManager *manager = NULL; if (!manager) { - manager = g_object_new (EMPATHY_TYPE_CHATROOM_MANAGER, NULL); + manager = g_object_new (EMPATHY_TYPE_CHATROOM_MANAGER, + "file", file, + NULL); g_object_add_weak_pointer (G_OBJECT (manager), (gpointer) &manager); } else { |