pidgin/pidginaccounteditor.h

changeset 42466
ca3374c1cdba
parent 42465
b7d530551c1b
child 42620
72178a341eb8
equal deleted inserted replaced
42465:b7d530551c1b 42466:ca3374c1cdba
60 * 60 *
61 * Returns: (transfer full): The new instance. 61 * Returns: (transfer full): The new instance.
62 * 62 *
63 * Since: 3.0.0 63 * Since: 3.0.0
64 */ 64 */
65 PIDGIN_AVAILABLE_IN_3_0
65 GtkWidget *pidgin_account_editor_new(PurpleAccount *account); 66 GtkWidget *pidgin_account_editor_new(PurpleAccount *account);
66 67
67 /** 68 /**
68 * pidgin_account_editor_get_account: 69 * pidgin_account_editor_get_account:
69 * @editor: The instance. 70 * @editor: The instance.
72 * 73 *
73 * Returns: (transfer none): The [class@Purple.Account] or %NULL. 74 * Returns: (transfer none): The [class@Purple.Account] or %NULL.
74 * 75 *
75 * Since: 3.0.0 76 * Since: 3.0.0
76 */ 77 */
78 PIDGIN_AVAILABLE_IN_3_0
77 PurpleAccount *pidgin_account_editor_get_account(PidginAccountEditor *editor); 79 PurpleAccount *pidgin_account_editor_get_account(PidginAccountEditor *editor);
78 80
79 /** 81 /**
80 * pidgin_account_editor_set_account: 82 * pidgin_account_editor_set_account:
81 * @editor: The instance. 83 * @editor: The instance.
84 * Sets the account that @editor is editing to @account. You can pass %NULL 86 * Sets the account that @editor is editing to @account. You can pass %NULL
85 * to remove the current account or edit a new account. 87 * to remove the current account or edit a new account.
86 * 88 *
87 * Since: 3.0.0 89 * Since: 3.0.0
88 */ 90 */
91 PIDGIN_AVAILABLE_IN_3_0
89 void pidgin_account_editor_set_account(PidginAccountEditor *editor, PurpleAccount *account); 92 void pidgin_account_editor_set_account(PidginAccountEditor *editor, PurpleAccount *account);
90 93
91 /** 94 /**
92 * pidgin_account_editor_get_is_valid: 95 * pidgin_account_editor_get_is_valid:
93 * @editor: The instance. 96 * @editor: The instance.
97 * Returns: %TRUE if the account being edited has valid values, otherwise 100 * Returns: %TRUE if the account being edited has valid values, otherwise
98 * %FALSE. 101 * %FALSE.
99 * 102 *
100 * Since: 3.0.0 103 * Since: 3.0.0
101 */ 104 */
105 PIDGIN_AVAILABLE_IN_3_0
102 gboolean pidgin_account_editor_get_is_valid(PidginAccountEditor *editor); 106 gboolean pidgin_account_editor_get_is_valid(PidginAccountEditor *editor);
103 107
104 /** 108 /**
105 * pidgin_account_editor_save: 109 * pidgin_account_editor_save:
106 * @editor: The instance. 110 * @editor: The instance.
108 * Save the account to disk. If this is a new account, it will be set to match 112 * Save the account to disk. If this is a new account, it will be set to match
109 * the current global status which is "online" in most cases. 113 * the current global status which is "online" in most cases.
110 * 114 *
111 * Since: 3.0.0 115 * Since: 3.0.0
112 */ 116 */
117 PIDGIN_AVAILABLE_IN_3_0
113 void pidgin_account_editor_save(PidginAccountEditor *editor); 118 void pidgin_account_editor_save(PidginAccountEditor *editor);
114 119
115 G_END_DECLS 120 G_END_DECLS
116 121
117 #endif /* PIDGIN_ACCOUNT_EDITOR_H */ 122 #endif /* PIDGIN_ACCOUNT_EDITOR_H */

mercurial