diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-10 00:16:40 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-10 00:16:40 +0800 |
commit | 53a5ccde2a29a81a34e2624d44d798bd765a921e (patch) | |
tree | e454edb5bad5c4865cfcd796461999afe9e7f5e8 | |
parent | f178a264143aaed6a816c2f40cb8c6d4db385fb2 (diff) | |
download | gsoc2013-empathy-53a5ccde2a29a81a34e2624d44d798bd765a921e.tar gsoc2013-empathy-53a5ccde2a29a81a34e2624d44d798bd765a921e.tar.gz gsoc2013-empathy-53a5ccde2a29a81a34e2624d44d798bd765a921e.tar.bz2 gsoc2013-empathy-53a5ccde2a29a81a34e2624d44d798bd765a921e.tar.lz gsoc2013-empathy-53a5ccde2a29a81a34e2624d44d798bd765a921e.tar.xz gsoc2013-empathy-53a5ccde2a29a81a34e2624d44d798bd765a921e.tar.zst gsoc2013-empathy-53a5ccde2a29a81a34e2624d44d798bd765a921e.zip |
Fix some errors made when rebasing on master
svn path=/trunk/; revision=2211
-rw-r--r-- | libempathy-gtk/empathy-new-message-dialog.c | 2 | ||||
-rw-r--r-- | libempathy/empathy-dispatcher.c | 2 | ||||
-rw-r--r-- | src/empathy-event-manager.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-new-message-dialog.c b/libempathy-gtk/empathy-new-message-dialog.c index 766087812..d0d99bc3e 100644 --- a/libempathy-gtk/empathy-new-message-dialog.c +++ b/libempathy-gtk/empathy-new-message-dialog.c @@ -187,7 +187,7 @@ new_message_dialog_response_cb (GtkWidget *widget, EmpathyContactFactory *factory; EmpathyContact *contact; - factory = empathy_contact_factory_new (); + factory = empathy_contact_factory_dup_singleton (); contact = empathy_contact_factory_get_from_id (factory, account, id); empathy_start_call_with_contact (contact); diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index 3728a45d2..711d7c854 100644 --- a/libempathy/empathy-dispatcher.c +++ b/libempathy/empathy-dispatcher.c @@ -531,7 +531,7 @@ dispatcher_connection_new_channel (EmpathyDispatcher *dispatcher, if (handle_type == TP_CONN_HANDLE_TYPE_CONTACT) { - EmpathyContactFactory *factory = empathy_contact_factory_new (); + EmpathyContactFactory *factory = empathy_contact_factory_dup_singleton (); contact = empathy_contact_factory_get_from_handle (factory, cd->account, handle); g_object_unref (factory); diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c index 0b42cb109..8a613039b 100644 --- a/src/empathy-event-manager.c +++ b/src/empathy-event-manager.c @@ -480,7 +480,7 @@ event_manager_approve_channel_cb (EmpathyDispatcher *dispatcher, if (handle_type != TP_HANDLE_TYPE_CONTACT) return; - factory = empathy_contact_factory_new (); + factory = empathy_contact_factory_dup_singleton (); account = empathy_channel_get_account (channel); contact = empathy_contact_factory_get_from_handle (factory, account, |