finch/gntrequest.h

changeset 39881
746ceb1d6966
parent 37100
a243a5e7afb3
child 39885
b1b266896ec1
equal deleted inserted replaced
39880:695e5a05eb79 39881:746ceb1d6966
17 * You should have received a copy of the GNU General Public License 17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software 18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
20 */ 20 */
21 21
22 #ifndef _GNT_REQUEST_H 22 #ifndef GNT_REQUEST_H
23 #define _GNT_REQUEST_H 23 #define GNT_REQUEST_H
24
24 /** 25 /**
25 * SECTION:gntrequest 26 * SECTION:gntrequest
26 * @section_id: finch-gntrequest 27 * @section_id: finch-gntrequest
27 * @short_description: <filename>gntrequest.h</filename> 28 * @short_description: <filename>gntrequest.h</filename>
28 * @title: Request API 29 * @title: Request API
58 */ 59 */
59 void finch_request_uninit(void); 60 void finch_request_uninit(void);
60 61
61 /** 62 /**
62 * finch_request_save_in_prefs: 63 * finch_request_save_in_prefs:
64 * @data: No longer used, set to %NULL.
65 * @fields: The #PurpleRequestFields to save.
63 * 66 *
64 * Save the request fields in preferences where the id attribute of each field is the 67 * Save the request fields in preferences where the id attribute of each field is the
65 * id of a preference. 68 * id of a preference.
66 */ 69 */
67 void finch_request_save_in_prefs(gpointer null, PurpleRequestFields *fields); 70 void finch_request_save_in_prefs(gpointer data, PurpleRequestFields *fields);
68 71
69 /** 72 /**
70 * finch_request_field_get_widget: 73 * finch_request_field_get_widget:
71 * @field: The request field. 74 * @field: The request field.
72 * 75 *
74 * 77 *
75 * Returns: (transfer full): A GntWidget for the request field. 78 * Returns: (transfer full): A GntWidget for the request field.
76 */ 79 */
77 GntWidget *finch_request_field_get_widget(PurpleRequestField *field); 80 GntWidget *finch_request_field_get_widget(PurpleRequestField *field);
78 81
79 #endif 82 #endif /* GNT_REQUEST_H */

mercurial