Mercurial > pidgin.yaz
comparison finch/gntrequest.h @ 22005:829d054f4f1a
Add a function to get a widget for a request field.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 06 Jan 2008 18:53:47 +0000 |
parents | 6bf32c9e15a7 |
children | 02a2e8183b1d |
comparison
equal
deleted
inserted
replaced
22004:f9dcdc0e89a5 | 22005:829d054f4f1a |
---|---|
25 */ | 25 */ |
26 #ifndef _GNT_REQUEST_H | 26 #ifndef _GNT_REQUEST_H |
27 #define _GNT_REQUEST_H | 27 #define _GNT_REQUEST_H |
28 | 28 |
29 #include "request.h" | 29 #include "request.h" |
30 #include "gnt.h" | |
30 | 31 |
31 /********************************************************************** | 32 /********************************************************************** |
32 * @name GNT Request API | 33 * @name GNT Request API |
33 **********************************************************************/ | 34 **********************************************************************/ |
34 /*@{*/ | 35 /*@{*/ |
54 * Save the request fields in preferences where the id attribute of each field is the | 55 * Save the request fields in preferences where the id attribute of each field is the |
55 * id of a preference. | 56 * id of a preference. |
56 */ | 57 */ |
57 void finch_request_save_in_prefs(gpointer null, PurpleRequestFields *fields); | 58 void finch_request_save_in_prefs(gpointer null, PurpleRequestFields *fields); |
58 | 59 |
60 /** | |
61 * Create a widget field for a request-field. | |
62 * | |
63 * @param field The request field. | |
64 * | |
65 * @return A GntWidget for the request field. | |
66 * @since 2.4.0 | |
67 */ | |
68 GntWidget *finch_request_field_get_widget(PurpleRequestField *field); | |
59 /*@}*/ | 69 /*@}*/ |
60 | 70 |
61 #endif | 71 #endif |