Thu, 25 Aug 2022 21:34:53 -0500
Port the invite dialog to GTK4
Testing Done:
Opened the dialog via conversations -> invite and made sure it worked as expected.
Reviewed at https://reviews.imfreedom.org/r/1644/
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
20040
diff
changeset
|
1 | /* purple |
| 5639 | 2 | * |
| 15884 | 3 | * Purple is the legal property of its developers, whose names are too numerous |
| 8046 | 4 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 5 | * source distribution. | |
|
6902
bf0a4376750f
[gaim-migrate @ 7449]
Christian Hammond <chipx86@chipx86.com>
parents:
5944
diff
changeset
|
6 | * |
| 5639 | 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by | |
| 9 | * the Free Software Foundation; either version 2 of the License, or | |
| 10 | * (at your option) any later version. | |
| 11 | * | |
| 12 | * This program is distributed in the hope that it will be useful, | |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | * GNU General Public License for more details. | |
| 16 | * | |
| 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 | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
18190
diff
changeset
|
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 5639 | 20 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35486
diff
changeset
|
21 | |
|
40474
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40241
diff
changeset
|
22 | #if !defined(PURPLE_GLOBAL_HEADER_INSIDE) && !defined(PURPLE_COMPILATION) |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40241
diff
changeset
|
23 | # error "only <purple.h> may be included directly" |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40241
diff
changeset
|
24 | #endif |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40241
diff
changeset
|
25 | |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
26 | #ifndef PURPLE_ACCOUNT_OPTION_H |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
27 | #define PURPLE_ACCOUNT_OPTION_H |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
28 | |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
29 | #include <glib.h> |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
30 | #include <glib-object.h> |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
31 | |
|
40870
e3397381fd35
Remove includes from protocol.h that weren't used there and deal with the fallout
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
32 | #include <libpurple/prefs.h> |
|
e3397381fd35
Remove includes from protocol.h that weren't used there and deal with the fallout
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
33 | |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
34 | #define PURPLE_TYPE_ACCOUNT_OPTION (purple_account_option_get_type()) |
| 5639 | 35 | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
36 | /** |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
37 | * PurpleAccountOption: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
38 | * |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
39 | * An option for an account. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
40 | * |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
41 | * This is set by protocols, and appears in the account settings |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
42 | * dialogs. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
43 | */ |
|
32438
dc8991868906
A boring and large patch so I can merge heads.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24111
diff
changeset
|
44 | typedef struct _PurpleAccountOption PurpleAccountOption; |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
45 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32438
diff
changeset
|
46 | G_BEGIN_DECLS |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5660
diff
changeset
|
47 | |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
48 | GType purple_account_option_get_type(void); |
| 5639 | 49 | |
| 50 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
51 | * purple_account_option_new: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
52 | * @type: The type of option. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
53 | * @text: The text of the option. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
54 | * @pref_name: The account preference name for the option. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
55 | * |
|
22256
267223b42a73
Improve some PurpleAcountOption documentation, and sanify some whitespace.
Will Thompson <resiak@pidgin.im>
parents:
20147
diff
changeset
|
56 | * Creates a new account option. If you know what @a type will be in advance, |
|
267223b42a73
Improve some PurpleAcountOption documentation, and sanify some whitespace.
Will Thompson <resiak@pidgin.im>
parents:
20147
diff
changeset
|
57 | * consider using purple_account_option_bool_new(), |
|
267223b42a73
Improve some PurpleAcountOption documentation, and sanify some whitespace.
Will Thompson <resiak@pidgin.im>
parents:
20147
diff
changeset
|
58 | * purple_account_option_int_new(), purple_account_option_string_new() or |
|
267223b42a73
Improve some PurpleAcountOption documentation, and sanify some whitespace.
Will Thompson <resiak@pidgin.im>
parents:
20147
diff
changeset
|
59 | * purple_account_option_list_new() (as appropriate) instead. |
| 5639 | 60 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
61 | * Returns: The account option. |
| 5639 | 62 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
63 | PurpleAccountOption *purple_account_option_new(PurplePrefType type, const gchar *text, const gchar *pref_name); |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
64 | |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
65 | /** |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
66 | * purple_account_option_copy: |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
67 | * @option: The option to copy. |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
68 | * |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
69 | * Creates a newly allocated copy of @option. |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
70 | * |
| 40186 | 71 | * Returns: (transfer full): A new copy of @option. |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
72 | * |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
73 | * Since: 3.0.0 |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
74 | */ |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
75 | PurpleAccountOption *purple_account_option_copy(PurpleAccountOption *option); |
| 5639 | 76 | |
| 77 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
78 | * purple_account_option_bool_new: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
79 | * @text: The text of the option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
80 | * @pref_name: The account preference name for the option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
81 | * @default_value: The default value. |
| 5639 | 82 | * |
| 83 | * Creates a new boolean account option. | |
| 84 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
85 | * Returns: The account option. |
| 5639 | 86 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
87 | PurpleAccountOption *purple_account_option_bool_new(const gchar *text, const gchar *pref_name, gboolean default_value); |
| 5639 | 88 | |
| 89 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
90 | * purple_account_option_int_new: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
91 | * @text: The text of the option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
92 | * @pref_name: The account preference name for the option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
93 | * @default_value: The default value. |
| 5639 | 94 | * |
| 95 | * Creates a new integer account option. | |
| 96 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
97 | * Returns: The account option. |
| 5639 | 98 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
99 | PurpleAccountOption *purple_account_option_int_new(const gchar *text, const gchar *pref_name, gint default_value); |
| 5639 | 100 | |
| 101 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
102 | * purple_account_option_string_new: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
103 | * @text: The text of the option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
104 | * @pref_name: The account preference name for the option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
105 | * @default_value: The default value. |
| 5639 | 106 | * |
| 107 | * Creates a new string account option. | |
| 108 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
109 | * Returns: The account option. |
| 5639 | 110 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
111 | PurpleAccountOption *purple_account_option_string_new(const gchar *text, const gchar *pref_name, const gchar *default_value); |
| 5639 | 112 | |
| 113 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
114 | * purple_account_option_list_new: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
115 | * @text: The text of the option. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
116 | * @pref_name: The account preference name for the option. |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
117 | * @list: (element-type PurpleKeyValuePair) (transfer full): The key, value list. |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
118 | * |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
119 | * Creates a new list account option. |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
120 | * |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
121 | * The list passed will be owned by the account option, and the |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
122 | * strings inside will be freed automatically. |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
123 | * |
|
24111
40399e39280d
Correct documentation about list account options to reflect what the key and
Will Thompson <resiak@pidgin.im>
parents:
22256
diff
changeset
|
124 | * The list is a list of #PurpleKeyValuePair items. The key is the label that |
| 35419 | 125 | * should be displayed to the user, and the <type>(const char *)</type> value is |
|
24111
40399e39280d
Correct documentation about list account options to reflect what the key and
Will Thompson <resiak@pidgin.im>
parents:
22256
diff
changeset
|
126 | * the internal ID that should be passed to purple_account_set_string() to |
|
40399e39280d
Correct documentation about list account options to reflect what the key and
Will Thompson <resiak@pidgin.im>
parents:
22256
diff
changeset
|
127 | * choose that value. |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
128 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
129 | * Returns: The account option. |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
130 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
131 | PurpleAccountOption *purple_account_option_list_new(const gchar *text, const gchar *pref_name, GList *list); |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
132 | |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
133 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
134 | * purple_account_option_destroy: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
135 | * @option: The option to destroy. |
| 5639 | 136 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
137 | * Destroys an account option. |
| 5639 | 138 | */ |
| 15884 | 139 | void purple_account_option_destroy(PurpleAccountOption *option); |
| 5639 | 140 | |
| 141 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
142 | * purple_account_option_set_default_bool: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
143 | * @option: The account option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
144 | * @value: The default boolean value. |
| 5639 | 145 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
146 | * Sets the default boolean value for an account option. |
| 5639 | 147 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
148 | void purple_account_option_set_default_bool(PurpleAccountOption *option, gboolean value); |
| 5639 | 149 | |
| 150 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
151 | * purple_account_option_set_default_int: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
152 | * @option: The account option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
153 | * @value: The default integer value. |
| 5639 | 154 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
155 | * Sets the default integer value for an account option. |
| 5639 | 156 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
157 | void purple_account_option_set_default_int(PurpleAccountOption *option, gint value); |
| 5639 | 158 | |
| 159 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
160 | * purple_account_option_set_default_string: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
161 | * @option: The account option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
162 | * @value: The default string value. |
| 5639 | 163 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
164 | * Sets the default string value for an account option. |
| 5639 | 165 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
166 | void purple_account_option_set_default_string(PurpleAccountOption *option, const gchar *value); |
| 5639 | 167 | |
| 168 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
169 | * purple_account_option_string_set_masked: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
170 | * @option: The account option. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
171 | * @masked: The masking. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
172 | * |
|
20040
57572bb85e07
Explain what PurpleAccountOption.masked and its setters and getters
Will Thompson <resiak@pidgin.im>
parents:
19859
diff
changeset
|
173 | * Sets the masking for an account option. Setting this to %TRUE acts |
|
57572bb85e07
Explain what PurpleAccountOption.masked and its setters and getters
Will Thompson <resiak@pidgin.im>
parents:
19859
diff
changeset
|
174 | * as a hint to the UI that the option's value should be obscured from |
|
57572bb85e07
Explain what PurpleAccountOption.masked and its setters and getters
Will Thompson <resiak@pidgin.im>
parents:
19859
diff
changeset
|
175 | * view, like a password. |
| 10658 | 176 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
177 | void purple_account_option_string_set_masked(PurpleAccountOption *option, gboolean masked); |
|
33267
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
178 | |
|
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
179 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
180 | * purple_account_option_string_set_hints: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
181 | * @option: The account option. |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
182 | * @hints: (element-type utf8) (transfer full): The list of hints, stored as strings. |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
183 | * |
|
33267
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
184 | * Sets the hint list for an account option. |
|
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
185 | * |
|
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
186 | * The list passed will be owned by the account option, and the |
|
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
187 | * strings inside will be freed automatically. |
|
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
188 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
189 | void purple_account_option_string_set_hints(PurpleAccountOption *option, GSList *hints); |
| 10658 | 190 | |
| 191 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
192 | * purple_account_option_set_list: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
193 | * @option: The account option. |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
194 | * @values: (element-type PurpleKeyValuePair) (transfer full): The default list |
|
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
195 | * value. |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
196 | * |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
197 | * Sets the list values for an account option. |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
198 | * |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
199 | * The list passed will be owned by the account option, and the |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
200 | * strings inside will be freed automatically. |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
201 | * |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
202 | * The list is in key, value pairs. The key is the ID stored and used |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
203 | * internally, and the value is the label displayed. |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
204 | */ |
| 15884 | 205 | void purple_account_option_set_list(PurpleAccountOption *option, GList *values); |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
206 | |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
207 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
208 | * purple_account_option_add_list_item: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
209 | * @option: The account option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
210 | * @key: The key. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
211 | * @value: The value. |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
212 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
213 | * Adds an item to a list account option. |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
214 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
215 | void purple_account_option_add_list_item(PurpleAccountOption *option, const gchar *key, const gchar *value); |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
216 | |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
217 | /** |
|
35477
5036e4cd8a46
Update doc labels for renamed functions
Ankit Vani <a@nevitus.org>
parents:
35475
diff
changeset
|
218 | * purple_account_option_get_pref_type: |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
219 | * @option: The account option. |
| 5639 | 220 | * |
| 221 | * Returns the specified account option's type. | |
| 222 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
223 | * Returns: The account option's type. |
| 5639 | 224 | */ |
|
35378
5d9e2581005b
gtk-doc prep: *_get_type() functions are hidden as standard GType-returning funcs, so rename them.
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
225 | PurplePrefType purple_account_option_get_pref_type(const PurpleAccountOption *option); |
| 5639 | 226 | |
| 227 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
228 | * purple_account_option_get_text: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
229 | * @option: The account option. |
| 5639 | 230 | * |
| 231 | * Returns the text for an account option. | |
| 232 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
233 | * Returns: The account option's text. |
| 5639 | 234 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
235 | const gchar *purple_account_option_get_text(const PurpleAccountOption *option); |
| 5639 | 236 | |
| 237 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
238 | * purple_account_option_get_setting: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
239 | * @option: The account option. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
240 | * |
|
22256
267223b42a73
Improve some PurpleAcountOption documentation, and sanify some whitespace.
Will Thompson <resiak@pidgin.im>
parents:
20147
diff
changeset
|
241 | * Returns the name of an account option. This corresponds to the @c pref_name |
|
267223b42a73
Improve some PurpleAcountOption documentation, and sanify some whitespace.
Will Thompson <resiak@pidgin.im>
parents:
20147
diff
changeset
|
242 | * parameter supplied to purple_account_option_new() or one of the |
|
267223b42a73
Improve some PurpleAcountOption documentation, and sanify some whitespace.
Will Thompson <resiak@pidgin.im>
parents:
20147
diff
changeset
|
243 | * type-specific constructors. |
|
5660
90787278c739
[gaim-migrate @ 6074]
Christian Hammond <chipx86@chipx86.com>
parents:
5654
diff
changeset
|
244 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
245 | * Returns: The option's name. |
|
5660
90787278c739
[gaim-migrate @ 6074]
Christian Hammond <chipx86@chipx86.com>
parents:
5654
diff
changeset
|
246 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
247 | const gchar *purple_account_option_get_setting(const PurpleAccountOption *option); |
|
5660
90787278c739
[gaim-migrate @ 6074]
Christian Hammond <chipx86@chipx86.com>
parents:
5654
diff
changeset
|
248 | |
|
90787278c739
[gaim-migrate @ 6074]
Christian Hammond <chipx86@chipx86.com>
parents:
5654
diff
changeset
|
249 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
250 | * purple_account_option_get_default_bool: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
251 | * @option: The account option. |
| 5639 | 252 | * |
| 253 | * Returns the default boolean value for an account option. | |
| 254 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
255 | * Returns: The default boolean value. |
| 5639 | 256 | */ |
| 15884 | 257 | gboolean purple_account_option_get_default_bool(const PurpleAccountOption *option); |
| 5639 | 258 | |
| 259 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
260 | * purple_account_option_get_default_int: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
261 | * @option: The account option. |
| 5639 | 262 | * |
| 263 | * Returns the default integer value for an account option. | |
| 264 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
265 | * Returns: The default integer value. |
| 5639 | 266 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
267 | gint purple_account_option_get_default_int(const PurpleAccountOption *option); |
| 5639 | 268 | |
| 269 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
270 | * purple_account_option_get_default_string: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
271 | * @option: The account option. |
| 5639 | 272 | * |
| 273 | * Returns the default string value for an account option. | |
| 274 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
275 | * Returns: The default string value. |
| 5639 | 276 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
277 | const gchar *purple_account_option_get_default_string(const PurpleAccountOption *option); |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
278 | |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
279 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
280 | * purple_account_option_get_default_list_value: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
281 | * @option: The account option. |
|
12172
717fa0ec02c4
[gaim-migrate @ 14474]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12106
diff
changeset
|
282 | * |
|
717fa0ec02c4
[gaim-migrate @ 14474]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12106
diff
changeset
|
283 | * Returns the default string value for a list account option. |
|
717fa0ec02c4
[gaim-migrate @ 14474]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12106
diff
changeset
|
284 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
285 | * Returns: The default list string value. |
|
12172
717fa0ec02c4
[gaim-migrate @ 14474]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12106
diff
changeset
|
286 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
287 | const gchar *purple_account_option_get_default_list_value(const PurpleAccountOption *option); |
|
12172
717fa0ec02c4
[gaim-migrate @ 14474]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12106
diff
changeset
|
288 | |
|
717fa0ec02c4
[gaim-migrate @ 14474]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12106
diff
changeset
|
289 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
290 | * purple_account_option_string_get_masked: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
291 | * @option: The account option. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
292 | * |
|
20040
57572bb85e07
Explain what PurpleAccountOption.masked and its setters and getters
Will Thompson <resiak@pidgin.im>
parents:
19859
diff
changeset
|
293 | * Returns whether an option's value should be masked from view, like a |
|
57572bb85e07
Explain what PurpleAccountOption.masked and its setters and getters
Will Thompson <resiak@pidgin.im>
parents:
19859
diff
changeset
|
294 | * password. If so, the UI might display each character of the option |
|
57572bb85e07
Explain what PurpleAccountOption.masked and its setters and getters
Will Thompson <resiak@pidgin.im>
parents:
19859
diff
changeset
|
295 | * as a '*' (for example). |
| 10658 | 296 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
297 | * Returns: %TRUE if the option's value should be obscured. |
| 10658 | 298 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
299 | gboolean purple_account_option_string_get_masked(const PurpleAccountOption *option); |
|
33267
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
300 | |
|
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
301 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
302 | * purple_account_option_string_get_hints: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
303 | * @option: The account option. |
|
33267
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
304 | * |
|
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
305 | * Returns the list of hints for an account option. |
|
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
306 | * |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
307 | * Returns: (element-type utf8) (transfer none): A list of hints. |
|
33267
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
308 | */ |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
309 | const GSList *purple_account_option_string_get_hints(const PurpleAccountOption *option); |
| 10658 | 310 | |
| 311 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
312 | * purple_account_option_get_list: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
313 | * @option: The account option. |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
314 | * |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
315 | * Returns the list values for an account option. |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
316 | * |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
317 | * Returns: (element-type PurpleKeyValuePair) (transfer none): A list of |
|
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
318 | * #PurpleKeyValuePair, mapping the human-readable description of the |
|
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
319 | * value to the <type>(const char *)</type> that should be passed to |
|
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
320 | * purple_account_set_string() to set the option. |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
321 | */ |
|
18190
bcf28ef7e8ff
Re-fix the DBus list handling code by killing const GList* / const GSList*
Richard Laager <rlaager@pidgin.im>
parents:
18099
diff
changeset
|
322 | GList *purple_account_option_get_list(const PurpleAccountOption *option); |
| 5639 | 323 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32438
diff
changeset
|
324 | G_END_DECLS |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5660
diff
changeset
|
325 | |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
326 | #endif /* PURPLE_ACCOUNT_OPTION_H */ |