factor out start_gnome_contacts()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 8 Feb 2012 11:06:41 +0000 (12:06 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 8 Feb 2012 13:30:43 +0000 (14:30 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=669578

libempathy-gtk/empathy-individual-menu.c

index b877b55484b7dd8de6b7c6b9a4c90c6fa28d5a2e..6d9359d65fa5550759050549f153d992492436da 100644 (file)
@@ -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)
 {