factor out start_gnome_contacts()
[empathy.git] / libempathy-gtk / empathy-individual-menu.c
index b877b55484b7dd8de6b7c6b9a4c90c6fa28d5a2e..6d9359d65fa5550759050549f153d992492436da 100644 (file)
@@ -1310,7 +1310,7 @@ show_gnome_contacts_error_dialog (void)
 }
 
 static void
 }
 
 static void
-individual_info_menu_item_activate_cb (FolksIndividual *individual)
+start_gnome_contacts (FolksIndividual *individual)
 {
   GDesktopAppInfo *desktop_info;
   gchar *cmd;
 {
   GDesktopAppInfo *desktop_info;
   gchar *cmd;
@@ -1355,6 +1355,12 @@ individual_info_menu_item_activate_cb (FolksIndividual *individual)
   g_object_unref (app_info);
 }
 
   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)
 {
 static GtkWidget *
 empathy_individual_info_menu_item_new (FolksIndividual *individual)
 {