Contact Search: close the dialog when adding a contact

parent f9184896
...@@ -172,6 +172,9 @@ add_selected_contact (EmpathyContactSearchDialog *self) ...@@ -172,6 +172,9 @@ add_selected_contact (EmpathyContactSearchDialog *self)
empathy_tp_contact_factory_get_from_id (conn, id, empathy_tp_contact_factory_get_from_id (conn, id,
on_get_contact_factory_get_from_id_cb, NULL, on_get_contact_factory_get_from_id_cb, NULL,
NULL, NULL); NULL, NULL);
/* Close the dialog */
gtk_dialog_response (GTK_DIALOG (self), GTK_RESPONSE_CANCEL);
} }
static void static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment