diff options
-rw-r--r-- | libempathy-gtk/empathy-individual-menu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c index 293647a81..7b8da52d1 100644 --- a/libempathy-gtk/empathy-individual-menu.c +++ b/libempathy-gtk/empathy-individual-menu.c @@ -1311,6 +1311,8 @@ start_gnome_contacts (FolksIndividual *individual, GdkAppLaunchContext *context = NULL; GdkDisplay *display; + g_return_if_fail (FOLKS_IS_INDIVIDUAL (individual)); + /* Start gnome-contacts */ display = gdk_display_get_default (); context = gdk_display_get_app_launch_context (display); |