diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-22 00:22:27 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-22 00:22:27 +0800 |
commit | ce114155e3d8b30f649f33efeb8ef1677f2b78bc (patch) | |
tree | 941956acf155091f72155c7f3fd0226548d69edf /libempathy-gtk | |
parent | 29d8e1cf2da8ccff18ef27d91bedcae08cdd8107 (diff) | |
download | gsoc2013-empathy-ce114155e3d8b30f649f33efeb8ef1677f2b78bc.tar gsoc2013-empathy-ce114155e3d8b30f649f33efeb8ef1677f2b78bc.tar.gz gsoc2013-empathy-ce114155e3d8b30f649f33efeb8ef1677f2b78bc.tar.bz2 gsoc2013-empathy-ce114155e3d8b30f649f33efeb8ef1677f2b78bc.tar.lz gsoc2013-empathy-ce114155e3d8b30f649f33efeb8ef1677f2b78bc.tar.xz gsoc2013-empathy-ce114155e3d8b30f649f33efeb8ef1677f2b78bc.tar.zst gsoc2013-empathy-ce114155e3d8b30f649f33efeb8ef1677f2b78bc.zip |
No need to define a callback, we can directly use empathy_send_file_with_file_chooser.
svn path=/trunk/; revision=1872
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-contact-menu.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libempathy-gtk/empathy-contact-menu.c b/libempathy-gtk/empathy-contact-menu.c index fb01052a1..a83fbbdf7 100644 --- a/libempathy-gtk/empathy-contact-menu.c +++ b/libempathy-gtk/empathy-contact-menu.c @@ -192,13 +192,6 @@ empathy_contact_log_menu_item_new (EmpathyContact *contact) 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 @@ empathy_contact_file_transfer_menu_item_new (EmpathyContact *contact) 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; |