diff options
author | Gary Kramlich <grim@reaperworld.com> | 2018-12-16 06:28:08 +0000 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2018-12-16 06:28:08 +0000 |
commit | 9c5e43ce1ef37dbd3431bae5dfb21692cfe0086d (patch) | |
tree | ed30c3d9ee34f44610e02e5c7eae8ef2a6cdd921 | |
parent | b369768b4669e239e90ddec8b89a559d13b0a997 (diff) | |
parent | b11f6697046426de07c350428b24b36c2cd37dc1 (diff) | |
download | pidgin-9c5e43ce1ef37dbd3431bae5dfb21692cfe0086d.tar.gz |
Merged in default (pull request #457)
Fix a selection of Pidgin GIR and doc warnings and issues
Approved-by: Elliott Sales de Andrade
Approved-by: Gary Kramlich
-rw-r--r-- | doc/reference/pidgin/pidgin-docs.xml | 3 | ||||
-rw-r--r-- | pidgin/pidginabout.h | 7 | ||||
-rw-r--r-- | pidgin/pidgintalkatu.h | 18 |
3 files changed, 28 insertions, 0 deletions
diff --git a/doc/reference/pidgin/pidgin-docs.xml b/doc/reference/pidgin/pidgin-docs.xml index d3d985a85c..63af9f2442 100644 --- a/doc/reference/pidgin/pidgin-docs.xml +++ b/doc/reference/pidgin/pidgin-docs.xml @@ -19,6 +19,7 @@ <part id="API"> <title>API Reference</title> + <xi:include href="xml/pidginabout.xml" /> <xi:include href="xml/gtkaccount.xml" /> <xi:include href="xml/gtkblist.xml" /> <xi:include href="xml/gtkblist-theme.xml" /> @@ -58,6 +59,8 @@ <xi:include href="xml/gtksound.xml" /> <xi:include href="xml/gtkstatusbox.xml" /> <xi:include href="xml/pidginstock.xml" /> + <xi:include href="xml/gtkstyle.xml" /> + <xi:include href="xml/pidgintalkatu.xml" /> <xi:include href="xml/gtkmenutray.xml" /> <xi:include href="xml/gtkutils.xml" /> <xi:include href="xml/gtkwebview.xml" /> diff --git a/pidgin/pidginabout.h b/pidgin/pidginabout.h index 253e40642b..c3feb975b5 100644 --- a/pidgin/pidginabout.h +++ b/pidgin/pidginabout.h @@ -1,6 +1,13 @@ #ifndef PIDGIN_ABOUT_H #define PIDGIN_ABOUT_H +/** + * SECTION:pidginabout + * @section_id: pidgin-about + * @short_description: <filename>pidginabout.h</filename> + * @title: About Dialog + */ + #include <gtk/gtk.h> #define PIDGIN_TYPE_ABOUT_DIALOG (pidgin_about_dialog_get_type()) diff --git a/pidgin/pidgintalkatu.h b/pidgin/pidgintalkatu.h index c3bbee83cf..bf7ce19ca8 100644 --- a/pidgin/pidgintalkatu.h +++ b/pidgin/pidgintalkatu.h @@ -37,7 +37,25 @@ G_BEGIN_DECLS +/** + * pidgin_talkatu_editor_new_for_connection: + * @pc: The connection for which the editor should be created + * + * Creates a new #TalkatuEditor appropriate for use with @pc. + * + * Returns: (transfer full): the new #TalkatuEditor + */ GtkWidget *pidgin_talkatu_editor_new_for_connection(PurpleConnection *pc); + +/** + * pidgin_talkatu_buffer_new_for_connection: + * @pc: The connection for which the buffer should be created + * + * Creates a new #TalkatuBuffer. Depending on @pc's #PurpleConnectionFlags, + * it will create a plain, HTML, or markdown buffer. + * + * Returns: (transfer full): the new #TalkatuBuffer + */ GtkTextBuffer *pidgin_talkatu_buffer_new_for_connection(PurpleConnection *pc); G_END_DECLS |