aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-menu.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-08 19:06:41 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-08 21:30:43 +0800
commit1c0fc43564b2e9ca3f8a2052bb1b71e908792817 (patch)
tree3329e13aa3ba09bb5c39a5675d909609bbf52e34 /libempathy-gtk/empathy-individual-menu.c
parent8f3dc843ed74c9b7dac57d3a6ce62b9f148eb791 (diff)
downloadgsoc2013-empathy-1c0fc43564b2e9ca3f8a2052bb1b71e908792817.tar
gsoc2013-empathy-1c0fc43564b2e9ca3f8a2052bb1b71e908792817.tar.gz
gsoc2013-empathy-1c0fc43564b2e9ca3f8a2052bb1b71e908792817.tar.bz2
gsoc2013-empathy-1c0fc43564b2e9ca3f8a2052bb1b71e908792817.tar.lz
gsoc2013-empathy-1c0fc43564b2e9ca3f8a2052bb1b71e908792817.tar.xz
gsoc2013-empathy-1c0fc43564b2e9ca3f8a2052bb1b71e908792817.tar.zst
gsoc2013-empathy-1c0fc43564b2e9ca3f8a2052bb1b71e908792817.zip
factor out start_gnome_contacts()
https://bugzilla.gnome.org/show_bug.cgi?id=669578
Diffstat (limited to 'libempathy-gtk/empathy-individual-menu.c')
-rw-r--r--libempathy-gtk/empathy-individual-menu.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index b877b5548..6d9359d65 100644
--- a/libempathy-gtk/empathy-individual-menu.c
+++ b/libempathy-gtk/empathy-individual-menu.c
@@ -1310,7 +1310,7 @@ show_gnome_contacts_error_dialog (void)
}
static void
-individual_info_menu_item_activate_cb (FolksIndividual *individual)
+start_gnome_contacts (FolksIndividual *individual)
{
GDesktopAppInfo *desktop_info;
gchar *cmd;
@@ -1355,6 +1355,12 @@ individual_info_menu_item_activate_cb (FolksIndividual *individual)
g_object_unref (app_info);
}
+static void
+individual_info_menu_item_activate_cb (FolksIndividual *individual)
+{
+ start_gnome_contacts (individual);
+}
+
static GtkWidget *
empathy_individual_info_menu_item_new (FolksIndividual *individual)
{