]> git.0d.be Git - empathy.git/commit
[EmpathyContactSelectorDialog] remove got_response vcall
authorDanielle Madeley <danielle.madeley@collabora.co.uk>
Sat, 19 Dec 2009 01:42:25 +0000 (12:42 +1100)
committerDanielle Madeley <danielle.madeley@collabora.co.uk>
Mon, 21 Dec 2009 09:52:47 +0000 (20:52 +1100)
commit4a9ec5b513a5e7c183cfcb55b1b2bcda1e5f2f52
tree6a7dc8d3a7b0a0e62c527f30390be3f349a935b0
parentc56343b28433a6285ad3d954cb276f03e0a6d665
[EmpathyContactSelectorDialog] remove got_response vcall

The got_response vcall method wasn't generic enough. It assumed that your
response code was always GTK_RESPONSE_ACCEPT, and doesn't allow for the dialog
to be used with gtk_dialog_run.

Instead dialogs now use the regular response() vcall provided by GtkDialog,
and an additional API method empathy_contact_selector_dialog_get_selected()
provides the information content of the dialog.
libempathy-gtk/empathy-contact-selector-dialog.c
libempathy-gtk/empathy-contact-selector-dialog.h
libempathy-gtk/empathy-new-call-dialog.c
libempathy-gtk/empathy-new-message-dialog.c