diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-04-23 08:28:28 +0800 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-04-23 08:28:28 +0800 |
commit | 78f1e5cec3c97700d1ebd70fc949ba1ddf4ffa6b (patch) | |
tree | 376f75f91ceb1b9d50605d16841fed01a488d17c /libempathy-gtk | |
parent | efc083f8db0c2116e05be9d894a0dbac39a5d433 (diff) | |
download | gsoc2013-empathy-78f1e5cec3c97700d1ebd70fc949ba1ddf4ffa6b.tar gsoc2013-empathy-78f1e5cec3c97700d1ebd70fc949ba1ddf4ffa6b.tar.gz gsoc2013-empathy-78f1e5cec3c97700d1ebd70fc949ba1ddf4ffa6b.tar.bz2 gsoc2013-empathy-78f1e5cec3c97700d1ebd70fc949ba1ddf4ffa6b.tar.lz gsoc2013-empathy-78f1e5cec3c97700d1ebd70fc949ba1ddf4ffa6b.tar.xz gsoc2013-empathy-78f1e5cec3c97700d1ebd70fc949ba1ddf4ffa6b.tar.zst gsoc2013-empathy-78f1e5cec3c97700d1ebd70fc949ba1ddf4ffa6b.zip |
Add documentation for EmpathyNewMessageDialog.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-new-message-dialog.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-new-message-dialog.c b/libempathy-gtk/empathy-new-message-dialog.c index b1a35095b..3e6e3f11d 100644 --- a/libempathy-gtk/empathy-new-message-dialog.c +++ b/libempathy-gtk/empathy-new-message-dialog.c @@ -44,6 +44,16 @@ #include "empathy-new-message-dialog.h" #include "empathy-account-chooser.h" +/** + * SECTION:empathy-new-message-dialog + * @title: EmpathyNewMessageDialog + * @short_description: A dialog to show a new message + * @include: libempathy-gtk/empathy-new-message-dialog.h + * + * #EmpathyNewMessageDialog is a dialog which allows a text chat or + * call to be started with any contact on any enabled account. + */ + typedef struct { GtkWidget *dialog; GtkWidget *table_contact; @@ -242,6 +252,14 @@ new_message_dialog_destroy_cb (GtkWidget *widget, g_free (dialog); } +/** + * empathy_new_message_dialog_show: + * @parent: parent #GtkWindow of the dialog + * + * Create a new #EmpathyNewMessageDialog and show it. + * + * Return value: the new #EmpathyNewMessageDialog + */ GtkWidget * empathy_new_message_dialog_show (GtkWindow *parent) { |