| OLD | NEW |
| 1 /* vim:set et sts=4: */ | 1 /* vim:set et sts=4: */ |
| 2 /* ibus - The Input Bus | 2 /* ibus - The Input Bus |
| 3 * Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com> | 3 * Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com> |
| 4 * Copyright (C) 2008-2010 Red Hat, Inc. | 4 * Copyright (C) 2008-2010 Red Hat, Inc. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Lesser General Public | 7 * modify it under the terms of the GNU Lesser General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 * @section: Section name of the configuration option. | 128 * @section: Section name of the configuration option. |
| 129 * @name: Name of the configure option its self. | 129 * @name: Name of the configure option its self. |
| 130 * @returns: TRUE if succeed; FALSE otherwise. | 130 * @returns: TRUE if succeed; FALSE otherwise. |
| 131 * | 131 * |
| 132 * Remove an entry of a configuration option. | 132 * Remove an entry of a configuration option. |
| 133 * @see_also: ibus_config_get_value. | 133 * @see_also: ibus_config_get_value. |
| 134 */ | 134 */ |
| 135 gboolean ibus_config_unset (IBusConfig *config, | 135 gboolean ibus_config_unset (IBusConfig *config, |
| 136 const gchar *section, | 136 const gchar *section, |
| 137 const gchar *name); | 137 const gchar *name); |
| 138 |
| 139 /** |
| 140 * ibus_config_get_unused: |
| 141 * @config: An IBusConfig |
| 142 * @unread: GValue that holds a list of values that have been written but not |
| 143 * read. |
| 144 * @unwritten: GValue that holds a list of values that have been read but not |
| 145 * written. |
| 146 * @returns: TRUE if succeed; FALSE otherwise. |
| 147 * |
| 148 * Get the list of values that haven't been used properly. |
| 149 */ |
| 150 gboolean ibus_config_get_unused (IBusConfig *config, |
| 151 GValue *unread, |
| 152 GValue *unwritten); |
| 138 G_END_DECLS | 153 G_END_DECLS |
| 139 #endif | 154 #endif |
| 140 | |
| OLD | NEW |