~vcs-imports/ibus/trunk

« back to all changes in this revision

Viewing changes to src/ibuscomponent.h

  • Committer: fujiwarat
  • Date: 2012-02-16 04:04:05 UTC
  • Revision ID: git-v1:60587bf804feb7ed4dcb8c1731f115420ca28b49
Fix gir annotations.

- It seems python does not allow to use 'exec' as a variable.
Renamed 'exec' property so that the constructor in IBus.Component is used.
- It seems the python virtual method is available when the function is
described in header files in case that annotations are needed so
the signal function ibus_factory_create_engine is added newly.

TEST=Linux desktop

Review URL: https://codereview.appspot.com/5649082

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
 * license: Distribution license of this component.
85
85
 * author: Author(s) of the component.
86
86
 * homepage: Homepage of the component.
87
 
 * exec: path to component executable.
 
87
 * command_line: path to component executable.
88
88
 * textdomain: Domain name for dgettext()
89
89
 */
90
90
struct _IBusComponent {
115
115
 * @license: Distribution license of this component.
116
116
 * @author: Author(s) of the component.
117
117
 * @homepage: Homepage of the component.
118
 
 * @exec: path to component executable.
 
118
 * @command_line: path to component executable.
119
119
 * @textdomain: Domain name for dgettext()
120
120
 * @returns: A newly allocated IBusComponent.
121
121
 *
127
127
                                                 const gchar    *license,
128
128
                                                 const gchar    *author,
129
129
                                                 const gchar    *homepage,
130
 
                                                 const gchar    *exec,
 
130
                                                 const gchar    *command_line,
131
131
                                                 const gchar    *textdomain);
132
132
 
133
133
/**
139
139
 * ibus_component_new_varargs() supports the va_list format.
140
140
 * name property is required. e.g.
141
141
 * IBusComponent *component = ibus_component_new_varargs ("name", "ibus-foo",
142
 
 *                                                     "exec", "/usr/libexec/ibus-engine-foo --ibus",
 
142
 *                                                        "command_line", "/usr/libexec/ibus-engine-foo --ibus",
143
143
 *                                                     NULL)
144
144
 */
145
145
IBusComponent   *ibus_component_new_varargs     (const gchar    *first_property_name,