aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-11 21:08:39 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-11 21:08:39 +0800
commitfabcd2ec298f6773112c6fad57238c6f7bc2d77e (patch)
tree0e4e55a3727f983f238f824c139b5548e3088d80 /libempathy-gtk
parent17624f70285d74ed77f27d62f452095589512310 (diff)
downloadgsoc2013-empathy-fabcd2ec298f6773112c6fad57238c6f7bc2d77e.tar
gsoc2013-empathy-fabcd2ec298f6773112c6fad57238c6f7bc2d77e.tar.gz
gsoc2013-empathy-fabcd2ec298f6773112c6fad57238c6f7bc2d77e.tar.bz2
gsoc2013-empathy-fabcd2ec298f6773112c6fad57238c6f7bc2d77e.tar.lz
gsoc2013-empathy-fabcd2ec298f6773112c6fad57238c6f7bc2d77e.tar.xz
gsoc2013-empathy-fabcd2ec298f6773112c6fad57238c6f7bc2d77e.tar.zst
gsoc2013-empathy-fabcd2ec298f6773112c6fad57238c6f7bc2d77e.zip
re-implement empathy_dispatcher_chat_with_contact using empathy_dispatcher_chat_with_contact_id
We don't use the callback arg anyway.
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-list-view.c2
-rw-r--r--libempathy-gtk/empathy-contact-menu.c3
-rw-r--r--libempathy-gtk/empathy-individual-menu.c3
-rw-r--r--libempathy-gtk/empathy-individual-view.c2
4 files changed, 4 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c
index f36718c83..ce586420e 100644
--- a/libempathy-gtk/empathy-contact-list-view.c
+++ b/libempathy-gtk/empathy-contact-list-view.c
@@ -892,7 +892,7 @@ contact_list_view_row_activated (GtkTreeView *view,
if (contact) {
DEBUG ("Starting a chat");
empathy_dispatcher_chat_with_contact (contact,
- gtk_get_current_event_time (), NULL, NULL);
+ gtk_get_current_event_time ());
g_object_unref (contact);
}
}
diff --git a/libempathy-gtk/empathy-contact-menu.c b/libempathy-gtk/empathy-contact-menu.c
index a75fe8fab..651622554 100644
--- a/libempathy-gtk/empathy-contact-menu.c
+++ b/libempathy-gtk/empathy-contact-menu.c
@@ -216,8 +216,7 @@ static void
empathy_contact_chat_menu_item_activated (GtkMenuItem *item,
EmpathyContact *contact)
{
- empathy_dispatcher_chat_with_contact (contact, gtk_get_current_event_time (),
- NULL, NULL);
+ empathy_dispatcher_chat_with_contact (contact, gtk_get_current_event_time ());
}
GtkWidget *
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index c3edf06c7..092208b61 100644
--- a/libempathy-gtk/empathy-individual-menu.c
+++ b/libempathy-gtk/empathy-individual-menu.c
@@ -245,8 +245,7 @@ empathy_individual_chat_menu_item_activated (GtkMenuItem *item,
g_return_if_fail (contact != NULL);
- empathy_dispatcher_chat_with_contact (contact, gtk_get_current_event_time (),
- NULL, NULL);
+ empathy_dispatcher_chat_with_contact (contact, gtk_get_current_event_time ());
g_object_unref (contact);
}
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index 83811750b..716886dbc 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -925,7 +925,7 @@ individual_view_row_activated (GtkTreeView *view,
DEBUG ("Starting a chat");
empathy_dispatcher_chat_with_contact (contact,
- gtk_get_current_event_time (), NULL, NULL);
+ gtk_get_current_event_time ());
}
g_object_unref (individual);