diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-06 18:46:37 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-18 21:40:09 +0800 |
commit | 08ba02749235ae95a586fa930690f921e74bda35 (patch) | |
tree | 7f9d29596090ce127566119479066a69bdfed010 /src/empathy-invite-participant-dialog.h | |
parent | 9999bf6834a4c2e592a39dcbc9b8dffc5bee9bd5 (diff) | |
download | gsoc2013-empathy-08ba02749235ae95a586fa930690f921e74bda35.tar gsoc2013-empathy-08ba02749235ae95a586fa930690f921e74bda35.tar.gz gsoc2013-empathy-08ba02749235ae95a586fa930690f921e74bda35.tar.bz2 gsoc2013-empathy-08ba02749235ae95a586fa930690f921e74bda35.tar.lz gsoc2013-empathy-08ba02749235ae95a586fa930690f921e74bda35.tar.xz gsoc2013-empathy-08ba02749235ae95a586fa930690f921e74bda35.tar.zst gsoc2013-empathy-08ba02749235ae95a586fa930690f921e74bda35.zip |
invite-dialog: display a individual view rather than forcing user to type the full ID of the contact (#646705)
Diffstat (limited to 'src/empathy-invite-participant-dialog.h')
-rw-r--r-- | src/empathy-invite-participant-dialog.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/src/empathy-invite-participant-dialog.h b/src/empathy-invite-participant-dialog.h index daacf5192..7d32bdd8f 100644 --- a/src/empathy-invite-participant-dialog.h +++ b/src/empathy-invite-participant-dialog.h @@ -14,7 +14,9 @@ #include <gtk/gtk.h> -#include <libempathy-gtk/empathy-contact-selector-dialog.h> +#include <telepathy-glib/account.h> + +#include "libempathy/empathy-tp-chat.h" G_BEGIN_DECLS @@ -27,20 +29,27 @@ G_BEGIN_DECLS typedef struct _EmpathyInviteParticipantDialog EmpathyInviteParticipantDialog; typedef struct _EmpathyInviteParticipantDialogClass EmpathyInviteParticipantDialogClass; +typedef struct _EmpathyInviteParticipantDialogPrivate EmpathyInviteParticipantDialogPrivate; struct _EmpathyInviteParticipantDialog { - EmpathyContactSelectorDialog parent; + GtkDialog parent; + + EmpathyInviteParticipantDialogPrivate *priv; }; struct _EmpathyInviteParticipantDialogClass { - EmpathyContactSelectorDialogClass parent_class; + GtkDialogClass parent_class; }; GType empathy_invite_participant_dialog_get_type (void); -GtkWidget *empathy_invite_participant_dialog_new (GtkWindow *parent, - TpAccount *account); + +GtkWidget * empathy_invite_participant_dialog_new (GtkWindow *parent, + EmpathyTpChat *tp_chat); + +TpContact * empathy_invite_participant_dialog_get_selected ( + EmpathyInviteParticipantDialog *self); G_END_DECLS |