Mercurial > pidgin.yaz
comparison src/accountopt.c @ 6902:e30bedfb99db
[gaim-migrate @ 7449]
Ugly Big Red Line removal.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 21 Sep 2003 18:42:06 +0000 |
parents | e9551e7d6f01 |
children | fa6395637e2c |
comparison
equal
deleted
inserted
replaced
6901:5ace3b44cf61 | 6902:e30bedfb99db |
---|---|
3 * @ingroup core | 3 * @ingroup core |
4 * | 4 * |
5 * gaim | 5 * gaim |
6 * | 6 * |
7 * Copyright (C) 2003 Christian Hammond <chipx86@gnupdate.org> | 7 * Copyright (C) 2003 Christian Hammond <chipx86@gnupdate.org> |
8 * | 8 * |
9 * This program is free software; you can redistribute it and/or modify | 9 * This program is free software; you can redistribute it and/or modify |
10 * it under the terms of the GNU General Public License as published by | 10 * it under the terms of the GNU General Public License as published by |
11 * the Free Software Foundation; either version 2 of the License, or | 11 * the Free Software Foundation; either version 2 of the License, or |
12 * (at your option) any later version. | 12 * (at your option) any later version. |
13 * | 13 * |
47 GaimAccountOption * | 47 GaimAccountOption * |
48 gaim_account_option_bool_new(const char *text, const char *pref_name, | 48 gaim_account_option_bool_new(const char *text, const char *pref_name, |
49 gboolean default_value) | 49 gboolean default_value) |
50 { | 50 { |
51 GaimAccountOption *option; | 51 GaimAccountOption *option; |
52 | 52 |
53 option = gaim_account_option_new(GAIM_PREF_BOOLEAN, text, pref_name); | 53 option = gaim_account_option_new(GAIM_PREF_BOOLEAN, text, pref_name); |
54 | 54 |
55 if (option == NULL) | 55 if (option == NULL) |
56 return NULL; | 56 return NULL; |
57 | 57 |
63 GaimAccountOption * | 63 GaimAccountOption * |
64 gaim_account_option_int_new(const char *text, const char *pref_name, | 64 gaim_account_option_int_new(const char *text, const char *pref_name, |
65 int default_value) | 65 int default_value) |
66 { | 66 { |
67 GaimAccountOption *option; | 67 GaimAccountOption *option; |
68 | 68 |
69 option = gaim_account_option_new(GAIM_PREF_INT, text, pref_name); | 69 option = gaim_account_option_new(GAIM_PREF_INT, text, pref_name); |
70 | 70 |
71 if (option == NULL) | 71 if (option == NULL) |
72 return NULL; | 72 return NULL; |
73 | 73 |
79 GaimAccountOption * | 79 GaimAccountOption * |
80 gaim_account_option_string_new(const char *text, const char *pref_name, | 80 gaim_account_option_string_new(const char *text, const char *pref_name, |
81 const char *default_value) | 81 const char *default_value) |
82 { | 82 { |
83 GaimAccountOption *option; | 83 GaimAccountOption *option; |
84 | 84 |
85 option = gaim_account_option_new(GAIM_PREF_STRING, text, pref_name); | 85 option = gaim_account_option_new(GAIM_PREF_STRING, text, pref_name); |
86 | 86 |
87 if (option == NULL) | 87 if (option == NULL) |
88 return NULL; | 88 return NULL; |
89 | 89 |