empathy r1872 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1872 - trunk/libempathy-gtk
- Date: Fri, 21 Nov 2008 16:22:27 +0000 (UTC)
Author: xclaesse
Date: Fri Nov 21 16:22:27 2008
New Revision: 1872
URL: http://svn.gnome.org/viewvc/empathy?rev=1872&view=rev
Log:
No need to define a callback, we can directly use empathy_send_file_with_file_chooser.
Modified:
trunk/libempathy-gtk/empathy-contact-menu.c
Modified: trunk/libempathy-gtk/empathy-contact-menu.c
==============================================================================
--- trunk/libempathy-gtk/empathy-contact-menu.c (original)
+++ trunk/libempathy-gtk/empathy-contact-menu.c Fri Nov 21 16:22:27 2008
@@ -192,13 +192,6 @@
return item;
}
-static void
-contact_file_transfer_menu_item_activate_cb (EmpathyContact *contact)
-{
- g_return_if_fail (EMPATHY_IS_CONTACT (contact));
- empathy_send_file_with_file_chooser (contact);
-}
-
GtkWidget *
empathy_contact_file_transfer_menu_item_new (EmpathyContact *contact)
{
@@ -215,7 +208,7 @@
gtk_widget_show (image);
g_signal_connect_swapped (item, "activate",
- G_CALLBACK (contact_file_transfer_menu_item_activate_cb),
+ G_CALLBACK (empathy_send_file_with_file_chooser),
contact);
return item;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]