]> git.0d.be Git - empathy.git/blobdiff - src/empathy-chat-window.c
Improve dispatcher. Fixes bug #465928.
[empathy.git] / src / empathy-chat-window.c
index a43e524cdcf8ba06c3fb8920fe6b7fa91a9a0c75..1db873b5a435a9246d763fe0744939dc59ca5b24 100644 (file)
@@ -40,6 +40,7 @@
 #include <libempathy/empathy-contact-factory.h>
 #include <libempathy/empathy-contact.h>
 #include <libempathy/empathy-message.h>
+#include <libempathy/empathy-dispatcher.h>
 #include <libempathy/empathy-utils.h>
 
 #include <libempathy-gtk/empathy-images.h>
@@ -977,7 +978,7 @@ chat_window_drag_data_received (GtkWidget        *widget,
                chat = empathy_chat_window_find_chat (account, strv[1]);
 
                if (!chat) {
-                       empathy_chat_with_contact_id (account, strv[2]);
+                       empathy_dispatcher_chat_with_contact_id (account, strv[2]);
                        g_object_unref (account);
                        g_strfreev (strv);
                        return;