aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-view.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-12-14 22:17:49 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-12-14 22:20:44 +0800
commit9dd688a39a52e8b562364fb0fb230acb395e1202 (patch)
tree89600197e863f243dd84ed9a564ac5f79dde7b9c /libempathy-gtk/empathy-individual-view.c
parentcb2e62404041a3fbaf408144a530e5f4216d6aa9 (diff)
downloadgsoc2013-empathy-9dd688a39a52e8b562364fb0fb230acb395e1202.tar
gsoc2013-empathy-9dd688a39a52e8b562364fb0fb230acb395e1202.tar.gz
gsoc2013-empathy-9dd688a39a52e8b562364fb0fb230acb395e1202.tar.bz2
gsoc2013-empathy-9dd688a39a52e8b562364fb0fb230acb395e1202.tar.lz
gsoc2013-empathy-9dd688a39a52e8b562364fb0fb230acb395e1202.tar.xz
gsoc2013-empathy-9dd688a39a52e8b562364fb0fb230acb395e1202.tar.zst
gsoc2013-empathy-9dd688a39a52e8b562364fb0fb230acb395e1202.zip
Stop passing an EmpathyContact to menu_item_new() fonctions
Best to always use an individual so we don't have 2 code paths to maintain. https://bugzilla.gnome.org/show_bug.cgi?id=666163
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r--libempathy-gtk/empathy-individual-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index 9d5b9adc6..1a837cf83 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -1073,12 +1073,12 @@ individual_view_call_activated_cb (EmpathyCellRendererActivatable *cell,
shell = GTK_MENU_SHELL (menu);
/* audio */
- item = empathy_individual_audio_call_menu_item_new (individual, NULL);
+ item = empathy_individual_audio_call_menu_item_new (individual);
gtk_menu_shell_append (shell, item);
gtk_widget_show (item);
/* video */
- item = empathy_individual_video_call_menu_item_new (individual, NULL);
+ item = empathy_individual_video_call_menu_item_new (individual);
gtk_menu_shell_append (shell, item);
gtk_widget_show (item);