ibus.h   ibus.h 
skipping to change at line 38 skipping to change at line 38
#include <ibusshare.h> #include <ibusshare.h>
#include <ibusobject.h> #include <ibusobject.h>
#include <ibusserializable.h> #include <ibusserializable.h>
#include <ibusattribute.h> #include <ibusattribute.h>
#include <ibusattrlist.h> #include <ibusattrlist.h>
#include <ibustext.h> #include <ibustext.h>
#include <ibusproxy.h> #include <ibusproxy.h>
#include <ibusservice.h> #include <ibusservice.h>
#include <ibusfactory.h> #include <ibusfactory.h>
#include <ibusengine.h> #include <ibusengine.h>
#include <ibuserror.h>
#include <ibusproperty.h> #include <ibusproperty.h>
#include <ibusproplist.h> #include <ibusproplist.h>
#include <ibuslookuptable.h> #include <ibuslookuptable.h>
#include <ibusbus.h> #include <ibusbus.h>
#include <ibuskeysyms.h> #include <ibuskeysyms.h>
#include <ibuskeymap.h> #include <ibuskeymap.h>
#include <ibuskeys.h>
#include <ibusenumtypes.h> #include <ibusenumtypes.h>
#include <ibushotkey.h> #include <ibushotkey.h>
#include <ibusxml.h> #include <ibusxml.h>
#include <ibusenginedesc.h> #include <ibusenginedesc.h>
#include <ibusobservedpath.h> #include <ibusobservedpath.h>
#include <ibuscomponent.h> #include <ibuscomponent.h>
#include <ibusconfig.h> #include <ibusconfig.h>
#include <ibusconfigservice.h> #include <ibusconfigservice.h>
#include <ibuspanelservice.h> #include <ibuspanelservice.h>
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added


 ibusconfig.h   ibusconfig.h 
skipping to change at line 87 skipping to change at line 87
/* class members */ /* class members */
}; };
GType ibus_config_get_type (void); GType ibus_config_get_type (void);
/** /**
* ibus_config_new: * ibus_config_new:
* @connection: An GDBusConnection. * @connection: An GDBusConnection.
* @returns: An newly allocated IBusConfig corresponding to @connection. * @returns: An newly allocated IBusConfig corresponding to @connection.
* *
* New a IBusConfig from existing GDBusConnection. * New an #IBusConfig from existing GDBusConnection.
*/ */
IBusConfig *ibus_config_new (GDBusConnection *connection , IBusConfig *ibus_config_new (GDBusConnection *connection ,
GCancellable *cancellabl e, GCancellable *cancellabl e,
GError **error); GError **error);
/** /**
* ibus_config_new_async:
* @connection: An #GDBusConnection.
* @cancellable: A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied.
* The callback should not be %NULL.
* @user_data: The data to pass to callback.
*
* New an #IBusContext asynchronously.
*/
void ibus_config_new_async (GDBusConnection *connection
,
GCancellable *cancellabl
e,
GAsyncReadyCallback callback,
gpointer user_data)
;
/**
* ibus_config_new_async_finish:
* @res: A #GAsyncResult obtained from the #GAsyncReadyCallback pass to
* ibus_config_new_async().
* @error: Return location for error or %NULL.
*
* @returns: A newly allocated #IBusConfig.
*
* Finishes an operation started with ibus_config_new_async().
*/
IBusConfig *ibus_config_new_async_finish
(GAsyncResult *res,
GError **error);
/**
* ibus_config_get_value: * ibus_config_get_value:
* @config: An IBusConfig * @config: An IBusConfig
* @section: Section name of the configuration option. * @section: Section name of the configuration option.
* @name: Name of the configure option. * @name: Name of the configure option.
* @returns: A #GVariant or %NULL. Free with g_variant_unref(). * @returns: A #GVariant or %NULL. Free with g_variant_unref().
* *
* Get the value of a configuration option synchronously. * Get the value of a configuration option synchronously.
* *
* GConf stores configure options in a tree-like structure, * GConf stores configure options in a tree-like structure,
* and the IBus related setting is at /desktop/ibus, * and the IBus related setting is at /desktop/ibus,
skipping to change at line 154 skipping to change at line 183
* Finish get value of a configuration option. * Finish get value of a configuration option.
* *
* @see_also: ibus_config_get_value_async. * @see_also: ibus_config_get_value_async.
*/ */
GVariant *ibus_config_get_value_async_finish GVariant *ibus_config_get_value_async_finish
(IBusConfig *config, (IBusConfig *config,
GAsyncResult *result, GAsyncResult *result,
GError **error); GError **error);
/** /**
* ibus_config_get_values:
* @config: An IBusConfig
* @section: Section name of the configuration option.
* @returns: A #GVariant or %NULL. Free with g_variant_unref().
*
* Get all values in a section synchronously.
*
* @see_also: ibus_config_set_value.
*/
GVariant *ibus_config_get_values (IBusConfig *config,
const gchar *section);
/**
* ibus_config_get_values_async:
* @config: An IBusConfig
* @section: Section name of the configuration option.
* @timeout_ms: The timeout in milliseconds or -1 to use the default timeou
t.
* @cancellable: A #GCancellable or %NULL.
* @callback: Callback function to invoke when the return value is ready.
* @user_data: The data to pass to callback.
*
* Get all values in a section asynchronously.
*
* @see_also: ibus_config_get_values.
*/
void ibus_config_get_values_async(IBusConfig *config,
const gchar *section,
gint timeout_m
s,
GCancellable *cancellab
le,
GAsyncReadyCallback callback,
gpointer user_data
);
/**
* ibus_config_get_values_async_finish:
* @config: A #IBusConfig.
* @result: A #GAsyncResult.
* @error: Return location for error or %NULL.
* @returns: A #GVariant or %NULL if error is set. Free with g_variant_unre
f().
*
* Finish get values in a section.
*
* @see_also: ibus_config_get_values_async.
*/
GVariant *ibus_config_get_values_async_finish
(IBusConfig *config,
GAsyncResult *result,
GError **error);
/**
* ibus_config_set_value: * ibus_config_set_value:
* @config: An IBusConfig * @config: An IBusConfig
* @section: Section name of the configuration option. * @section: Section name of the configuration option.
* @name: Name of the configure option its self. * @name: Name of the configure option its self.
* @value: A #GVariant that holds the value. If the value is floating, the * @value: A #GVariant that holds the value. If the value is floating, the
* function takes ownership of it. * function takes ownership of it.
* @returns: TRUE if succeed; FALSE otherwise. * @returns: TRUE if succeed; FALSE otherwise.
* *
* Set the value of a configuration option synchronously. * Set the value of a configuration option synchronously.
* @see_also: ibus_config_get_value. * @see_also: ibus_config_get_value.
 End of changes. 3 change blocks. 
1 lines changed or deleted 87 lines changed or added


 ibusconfigservice.h   ibusconfigservice.h 
skipping to change at line 203 skipping to change at line 203
* *
*/ */
GVariant * (* get_value) (IBusConfigService *config, GVariant * (* get_value) (IBusConfigService *config,
const gchar *section, const gchar *section,
const gchar *name, const gchar *name,
GError **error); GError **error);
gboolean (* unset_value) (IBusConfigService *config, gboolean (* unset_value) (IBusConfigService *config,
const gchar *section, const gchar *section,
const gchar *name, const gchar *name,
GError **error); GError **error);
GVariant * (* get_values) (IBusConfigService *config,
const gchar *section,
GError **error);
/*< private >*/ /*< private >*/
/* padding */ /* padding */
gpointer pdummy[13]; gpointer pdummy[12];
}; };
GType ibus_config_service_get_type (void); GType ibus_config_service_get_type (void);
/** /**
* ibus_config_service_new: * ibus_config_service_new:
* @connection: An GDBusConnection. * @connection: An GDBusConnection.
* @returns: A newly allocated IBusConfigServices. * @returns: A newly allocated IBusConfigServices.
* *
* New an IBusConfigService from an GDBusConnection. * New an IBusConfigService from an GDBusConnection.
 End of changes. 2 change blocks. 
1 lines changed or deleted 4 lines changed or added


 ibusengine.h   ibusengine.h 
skipping to change at line 142 skipping to change at line 142
void (* property_hide) (IBusEngine *engine, void (* property_hide) (IBusEngine *engine,
const gchar *prop_name); const gchar *prop_name);
void (* candidate_clicked) void (* candidate_clicked)
(IBusEngine *engine, (IBusEngine *engine,
guint index, guint index,
guint button, guint button,
guint state); guint state);
void (* set_surrounding_text) void (* set_surrounding_text)
(IBusEngine *engine, (IBusEngine *engine,
IBusText *text, IBusText *text,
guint cursor_index); guint cursor_index,
guint anchor_pos);
void (* process_hand_writing_event)
(IBusEngine *engine,
const gdouble *coordinates,
guint coordinates_len);
void (* cancel_hand_writing)
(IBusEngine *engine,
guint n_strokes);
/*< private >*/ /*< private >*/
/* padding */ /* padding */
gpointer pdummy[7]; gpointer pdummy[5];
}; };
GType ibus_engine_get_type (void); GType ibus_engine_get_type (void);
/** /**
* ibus_engine_new: * ibus_engine_new:
* @name: Name of the IBusObject. * @name: Name of the IBusObject.
* @path: Path for IBusService. * @path: Path for IBusService.
* @connection: An opened GDBusConnection. * @connection: An opened GDBusConnection.
* @returns: A newly allocated IBusEngine. * @returns: A newly allocated IBusEngine.
skipping to change at line 402 skipping to change at line 410
* *
* Delete surrounding text. * Delete surrounding text.
*/ */
void ibus_engine_delete_surrounding_text(IBusEngine *engine, void ibus_engine_delete_surrounding_text(IBusEngine *engine,
gint offset, gint offset,
guint nchars); guint nchars);
/** /**
* ibus_engine_get_surrounding_text: * ibus_engine_get_surrounding_text:
* @engine: An IBusEngine. * @engine: An IBusEngine.
* @text: Location to store surrounding text. * @text: (allow-none): Location to store surrounding text.
* @cursor_pos: Cursor position in characters in @text. * @cursor_pos: (allow-none): Cursor position in characters in @text.
* @anchor_pos: (allow-none): Anchor position of selection in @text.
* *
* Get surrounding text. * Get surrounding text.
* *
* It is also used to tell the input-context that the engine will
* utilize surrounding-text. In that case, it must be called in
* #IBusEngine::enable handler, with both @text and @cursor set to
* %NULL.
*
* @see_also #IBusEngine::set-surrounding-text * @see_also #IBusEngine::set-surrounding-text
*/ */
void ibus_engine_get_surrounding_text(IBusEngine *engine, void ibus_engine_get_surrounding_text(IBusEngine *engine,
IBusText **text, IBusText **text,
guint *cursor_pos); guint *cursor_pos,
guint *anchor_pos);
/** /**
* ibus_engine_get_name: * ibus_engine_get_name:
* @engine: An IBusEngine. * @engine: An IBusEngine.
* @returns: Name of IBusEngine. * @returns: Name of IBusEngine.
* *
* Return the name of IBusEngine. * Return the name of IBusEngine.
*/ */
const gchar *ibus_engine_get_name (IBusEngine *engine); const gchar *ibus_engine_get_name (IBusEngine *engine);
 End of changes. 5 change blocks. 
5 lines changed or deleted 20 lines changed or added


 ibusenginedesc.h   ibusenginedesc.h 
skipping to change at line 251 skipping to change at line 251
/** /**
* ibus_engine_desc_get_hotkeys: * ibus_engine_desc_get_hotkeys:
* @info: An IBusEngineDesc * @info: An IBusEngineDesc
* @returns: hotkeys property in IBusEngineDesc * @returns: hotkeys property in IBusEngineDesc
* *
* Return the hotkeys property in IBusEngineDesc. It should not be freed. * Return the hotkeys property in IBusEngineDesc. It should not be freed.
*/ */
const gchar *ibus_engine_desc_get_hotkeys (IBusEngineDesc *info); const gchar *ibus_engine_desc_get_hotkeys (IBusEngineDesc *info);
/** /**
* ibus_engine_desc_get_symbol:
* @info: An IBusEngineDesc
* @returns: symbol property in IBusEngineDesc
*
* Return the symbol property in IBusEngineDesc. It should not be freed.
*/
const gchar *ibus_engine_desc_get_symbol
(IBusEngineDesc *info);
/**
* ibus_engine_desc_output: * ibus_engine_desc_output:
* @info: An IBusEngineDesc * @info: An IBusEngineDesc
* @output: XML-formatted Input method engine description. * @output: XML-formatted Input method engine description.
* @indent: Number of indent (showed as 4 spaces). * @indent: Number of indent (showed as 4 spaces).
* *
* Output XML-formatted input method engine description. * Output XML-formatted input method engine description.
* The result will be append to GString specified in @output. * The result will be append to GString specified in @output.
*/ */
void ibus_engine_desc_output (IBusEngineDesc *info, void ibus_engine_desc_output (IBusEngineDesc *info,
GString *output, GString *output,
 End of changes. 1 change blocks. 
0 lines changed or deleted 10 lines changed or added


 ibusenumtypes.h   ibusenumtypes.h 
skipping to change at line 190 skipping to change at line 190
*/ */
GType ibus_bus_request_name_reply_get_type (void) G_GNUC_CONST; GType ibus_bus_request_name_reply_get_type (void) G_GNUC_CONST;
/** /**
* IBUS_TYPE_BUS_REQUEST_NAME_REPLY: * IBUS_TYPE_BUS_REQUEST_NAME_REPLY:
* @returns: GType of IBUS_BUS_REQUEST_NAME_REPLY * @returns: GType of IBUS_BUS_REQUEST_NAME_REPLY
* *
* Returns the type of IBUS_BUS_REQUEST_NAME_REPLY as GType. * Returns the type of IBUS_BUS_REQUEST_NAME_REPLY as GType.
*/ */
#define IBUS_TYPE_BUS_REQUEST_NAME_REPLY (ibus_bus_request_name_reply_get_t ype ()) #define IBUS_TYPE_BUS_REQUEST_NAME_REPLY (ibus_bus_request_name_reply_get_t ype ())
/**
* ibus_error_get_type:
* @returns: GType of IBUS_ERROR
*
* Returns the type of IBUS_ERROR as GType.
*/
GType ibus_error_get_type (void) G_GNUC_CONST;
/**
* IBUS_TYPE_ERROR:
* @returns: GType of IBUS_ERROR
*
* Returns the type of IBUS_ERROR as GType.
*/
#define IBUS_TYPE_ERROR (ibus_error_get_type ())
G_END_DECLS G_END_DECLS
#endif /* __IBUS_ENUM_TYPES_H__ */ #endif /* __IBUS_ENUM_TYPES_H__ */
/* Generated data ends here */ /* Generated data ends here */
 End of changes. 1 change blocks. 
0 lines changed or deleted 15 lines changed or added


 ibusfactory.h   ibusfactory.h 
skipping to change at line 45 skipping to change at line 45
* and returns the D-Bus object path to IBus daemon. * and returns the D-Bus object path to IBus daemon.
* *
* @see_also: #IBusEngine * @see_also: #IBusEngine
* *
*/ */
#ifndef __IBUS_FACTORY_H_ #ifndef __IBUS_FACTORY_H_
#define __IBUS_FACTORY_H_ #define __IBUS_FACTORY_H_
#include "ibusservice.h" #include "ibusservice.h"
#include "ibusserializable.h" #include "ibusserializable.h"
#include "ibusengine.h"
G_BEGIN_DECLS G_BEGIN_DECLS
/* /*
* Type macros. * Type macros.
*/ */
/* define GOBJECT macros */ /* define GOBJECT macros */
/** /**
* IBUS_TYPE_FACTORY: * IBUS_TYPE_FACTORY:
skipping to change at line 130 skipping to change at line 131
IBusFactoryPrivate *priv; IBusFactoryPrivate *priv;
/* instance members */ /* instance members */
}; };
struct _IBusFactoryClass { struct _IBusFactoryClass {
/*< private >*/ /*< private >*/
IBusServiceClass parent; IBusServiceClass parent;
/* signals */ /* signals */
IBusEngine *
(* create_engine)
(IBusFactory *factory,
const gchar *engine_name);
/*< private >*/ /*< private >*/
/* padding */ /* padding */
gpointer pdummy[8]; gpointer pdummy[7];
}; };
/** /**
* ibus_factory_info_get_type: * ibus_factory_info_get_type:
* @returns: GType of IBus factory information. * @returns: GType of IBus factory information.
* *
* Return GType of IBus factory information. * Return GType of IBus factory information.
*/ */
GType ibus_factory_get_type (void); GType ibus_factory_get_type (void);
 End of changes. 3 change blocks. 
1 lines changed or deleted 6 lines changed or added


 ibusinputcontext.h   ibusinputcontext.h 
skipping to change at line 183 skipping to change at line 183
* @returns: (transfer none): An existing #IBusInputContext. * @returns: (transfer none): An existing #IBusInputContext.
* *
* Finishes an operation started with ibus_input_contex_get_input_context_a sync(). * Finishes an operation started with ibus_input_contex_get_input_context_a sync().
*/ */
IBusInputContext * IBusInputContext *
ibus_input_context_get_input_context_async_finish ibus_input_context_get_input_context_async_finish
(GAsyncResult *res, (GAsyncResult *res,
GError **error); GError **error);
/** /**
* ibus_input_context_process_hand_writing_event
* @context: An IBusInputContext.
* @coordinates: An array of gdouble (0.0 to 1.0) which represents a stroke
(i.e. [x1, y1, x2, y2, x3, y3, ...]).
* @coordinates_len: The number of elements in the array. The number should
be even and >= 4.
*
* Pass a handwriting stroke to an input method engine.
*
* In this API, a coordinate (0.0, 0.0) represents the top-left corner of a
n area for
* handwriting, and (1.0, 1.0) does the bottom-right. Therefore, for exampl
e, if
* a user writes a character 'L', the array would be something like [0.0, 0
.0, 0.0, 1.0, 1.0, 1.0]
* and coordinates_len would be 6.
*
* The function is usually called when a user releases the mouse button in
a hand
* writing area.
*
* see_also: #IBusEngine::process-hand-writing-event
*/
void ibus_input_context_process_hand_writing_event
(IBusInputContext *context,
const gdouble *coordinate
s,
guint coordinate
s_len);
/**
* ibus_input_context_cancel_hand_writing
* @context: An IBusInputContext.
* @n_strokes: The number of strokes to be removed. Pass 0 to remove all.
*
* Clear handwriting stroke(s) in the current input method engine.
*
* see_also: #IBusEngine::cancel-hand-writing
*/
void ibus_input_context_cancel_hand_writing
(IBusInputContext *context,
guint n_strokes)
;
/**
* ibus_input_context_process_key_event_async: * ibus_input_context_process_key_event_async:
* @context: An IBusInputContext. * @context: An IBusInputContext.
* @keyval: Key symbol of a key event. * @keyval: Key symbol of a key event.
* @keycode: Keycode of a key event. * @keycode: Keycode of a key event.
* @state: Key modifier flags. * @state: Key modifier flags.
* @timeout_msec: The timeout in milliseconds or -1 to use the default time out. * @timeout_msec: The timeout in milliseconds or -1 to use the default time out.
* @cancellable: A GCancellable or NULL. * @cancellable: A GCancellable or NULL.
* @callback: A GAsyncReadyCallback to call when the request is satisfied o r NULL * @callback: A GAsyncReadyCallback to call when the request is satisfied o r NULL
* if you don't care about the result of the method invocation. * if you don't care about the result of the method invocation.
* @user_data: The data to pass to callback. * @user_data: The data to pass to callback.
skipping to change at line 228 skipping to change at line 264
guint32 state, guint32 state,
gint timeout_ms ec, gint timeout_ms ec,
GCancellable *cancellabl e, GCancellable *cancellabl e,
GAsyncReadyCallback callback, GAsyncReadyCallback callback,
gpointer user_data) ; gpointer user_data) ;
/** /**
* ibus_input_context_process_key_event_async_finish: * ibus_input_context_process_key_event_async_finish:
* @context: An IBusInputContext. * @context: An IBusInputContext.
* @res: A GAsyncResult obtained from the GAsyncReadyCallback passed to * @res: A GAsyncResult obtained from the GAsyncReadyCallback passed to
* ibus_input_context_process_key_event_async(). * ibus_input_context_process_key_event_async().
* @processed: A point to a bool value. If the the key event is processed,
it will
* assigned to TRUE, FALSE otherwise.
* @error: Return location for error or NULL. * @error: Return location for error or NULL.
* @returns: TRUE for success; FALSE otherwise. * @returns: %TRUE if the key event is processed;
* %FALSE otherwise or some errors happen and the @error will be set.
* *
* Finishes an operation started with ibus_input_context_process_key_event_ async(). * Finishes an operation started with ibus_input_context_process_key_event_ async().
*/ */
gboolean ibus_input_context_process_key_event_async_finish gboolean ibus_input_context_process_key_event_async_finish
(IBusInputContext *context, (IBusInputContext *context,
GAsyncResult *res, GAsyncResult *res,
gboolean *processed,
GError **error); GError **error);
/** /**
* ibus_input_context_process_key_event: * ibus_input_context_process_key_event:
* @context: An IBusInputContext. * @context: An IBusInputContext.
* @keyval: Key symbol of a key event. * @keyval: Key symbol of a key event.
* @keycode: Keycode of a key event. * @keycode: Keycode of a key event.
* @state: Key modifier flags. * @state: Key modifier flags.
* @returns: TRUE for successfully process the key; FALSE otherwise. * @returns: TRUE for successfully process the key; FALSE otherwise.
* *
skipping to change at line 382 skipping to change at line 416
(IBusInputContext *context, (IBusInputContext *context,
gint timeout_ms ec, gint timeout_ms ec,
GCancellable *cancellabl e, GCancellable *cancellabl e,
GAsyncReadyCallback callback, GAsyncReadyCallback callback,
gpointer user_data) ; gpointer user_data) ;
/** /**
* ibus_input_context_is_enabled_async_finish: * ibus_input_context_is_enabled_async_finish:
* @context: An #IBusInputContext. * @context: An #IBusInputContext.
* @res: A #GAsyncResult obtained from the #GAsyncReadyCallback passed to * @res: A #GAsyncResult obtained from the #GAsyncReadyCallback passed to
* ibus_input_context_is_enabled_async(). * ibus_input_context_is_enabled_async().
* @retval: If the the context is enabled, it will be assigned to %TRUE, %F
ALSE otherwise.
* @error: Return location for error or %NULL. * @error: Return location for error or %NULL.
* @returns: %TRUE for success; %FALSE otherwise. * @returns: %TRUE if the IME is enabled on the contextfor success;
* %FALSE otherwise or some errors happen and the @error will be set.
* *
* Finishes an operation started with ibus_input_context_is_enabled_async() . * Finishes an operation started with ibus_input_context_is_enabled_async() .
*/ */
gboolean ibus_input_context_is_enabled_async_finish gboolean ibus_input_context_is_enabled_async_finish
(IBusInputContext *context, (IBusInputContext *context,
GAsyncResult *res, GAsyncResult *res,
gboolean *retval,
GError **error); GError **error);
/** /**
* ibus_input_context_is_enabled: * ibus_input_context_is_enabled:
* @context: An IBusInputContext. * @context: An IBusInputContext.
* @returns: TRUE if the IME is enabled on the context. * @returns: TRUE if the IME is enabled on the context.
* *
* Returns TRUE if the IME is enabled on the context. * Returns TRUE if the IME is enabled on the context.
* A asynchronous IPC will be performed. * A asynchronous IPC will be performed.
*/ */
skipping to change at line 465 skipping to change at line 498
* Invoked when the IME engine is changed. * Invoked when the IME engine is changed.
* An asynchronous IPC will be performed. * An asynchronous IPC will be performed.
*/ */
void ibus_input_context_set_engine (IBusInputContext *context, void ibus_input_context_set_engine (IBusInputContext *context,
const gchar *name); const gchar *name);
/** /**
* ibus_input_context_set_surrounding_text: * ibus_input_context_set_surrounding_text:
* @context: An #IBusInputContext. * @context: An #IBusInputContext.
* @text: An #IBusText surrounding the current cursor on the application. * @text: An #IBusText surrounding the current cursor on the application.
* @cursor_po: Current cursor position in characters in @text. * @cursor_pos: Current cursor position in characters in @text.
* @anchor_pos: Anchor position of selection in @text.
*/ */
void ibus_input_context_set_surrounding_text void ibus_input_context_set_surrounding_text
(IBusInputContext *context, (IBusInputContext *context,
IBusText *text, IBusText *text,
guint32 cursor_pos guint32 cursor_pos
); ,
guint32 anchor_pos
);
/** /**
* ibus_input_context_needs_surrounding_text: * ibus_input_context_needs_surrounding_text:
* @context: An #IBusInputContext. * @context: An #IBusInputContext.
* @returns: %TRUE if surrounding-text is needed by the current engine; * @returns: %TRUE if surrounding-text is needed by the current engine;
* %FALSE otherwise. * %FALSE otherwise.
* *
* Check whether the current engine requires surrounding-text. * Check whether the current engine requires surrounding-text.
*/ */
gboolean ibus_input_context_needs_surrounding_text gboolean ibus_input_context_needs_surrounding_text
 End of changes. 9 change blocks. 
14 lines changed or deleted 57 lines changed or added


 ibusservice.h   ibusservice.h 
skipping to change at line 137 skipping to change at line 137
/** /**
* ibus_service_get_object_path: * ibus_service_get_object_path:
* @service: An IBusService. * @service: An IBusService.
* @returns: The object path of @service * @returns: The object path of @service
* *
* Returns the object path of an IBusService. * Returns the object path of an IBusService.
*/ */
const gchar *ibus_service_get_object_path (IBusService *servic e); const gchar *ibus_service_get_object_path (IBusService *servic e);
/** /**
* ibus_service_get_connections: * ibus_service_get_connection:
* @service: An IBusService. * @service: An IBusService.
* @returns: (transfer all) (element-type GDBusConnection): A newly allocat ed list of connections. * @returns: (transfer none): A #GDBusConnection of an #IBusService instanc e.
* *
* Returns a connections. * Returns a connections.
*/ */
GDBusConnection *ibus_service_get_connection (IBusService *servic e); GDBusConnection *ibus_service_get_connection (IBusService *servic e);
/** /**
* ibus_service_register: * ibus_service_register:
* @service: An IBusService. * @service: An IBusService.
* @connection: A GDBusConnection the service will be registered to. * @connection: A GDBusConnection the service will be registered to.
* @error: Return location for error or NULL. * @error: Return location for error or NULL.
skipping to change at line 190 skipping to change at line 190
gboolean ibus_service_emit_signal (IBusService *servic e, gboolean ibus_service_emit_signal (IBusService *servic e,
const gchar *dest_b us_name, const gchar *dest_b us_name,
const gchar *interf ace_name, const gchar *interf ace_name,
const gchar *signal _name, const gchar *signal _name,
GVariant *parame ters, GVariant *parame ters,
GError **error) ; GError **error) ;
/** /**
* ibus_service_class_add_interfaces: * ibus_service_class_add_interfaces:
* @klass: An IBusServiceClass. * @klass: An IBusServiceClass.
* @xml_data: The introspection xml data. * @xml_data: The introspection xml data.
* @error: Error.
* *
* Set the interface introspection information with the service class. * Set the interface introspection information with the service class.
*/ */
gboolean ibus_service_class_add_interfaces gboolean ibus_service_class_add_interfaces
(IBusServiceClass *klass, (IBusServiceClass *klass,
const gchar *xml_da ta); const gchar *xml_da ta);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 3 change blocks. 
3 lines changed or deleted 2 lines changed or added


 ibusshare.h   ibusshare.h 
skipping to change at line 252 skipping to change at line 252
/** /**
* ibus_get_timeout: * ibus_get_timeout:
* @returns: A GDBus timeout in milliseconds. -1 when default timeout for G DBus should be used. * @returns: A GDBus timeout in milliseconds. -1 when default timeout for G DBus should be used.
* *
* Get the GDBus timeout in milliseconds. The timeout is for clients (e.g. im-ibus.so), not for ibus-daemon. * Get the GDBus timeout in milliseconds. The timeout is for clients (e.g. im-ibus.so), not for ibus-daemon.
* Note that the timeout for ibus-daemon could be set by --timeout command line option of the daemon. * Note that the timeout for ibus-daemon could be set by --timeout command line option of the daemon.
*/ */
gint ibus_get_timeout (void); gint ibus_get_timeout (void);
/** /**
* ibus_keyval_name:
* @keyval: Key symbol.
* @returns: Corresponding key name. %NULL if no such key symbol.
*
* Return the name of a key symbol.
*
* Note that the returned string is used internally, so don't free it.
*/
const gchar *ibus_keyval_name (guint keyval);
/**
* ibus_keyval_from_name:
* @keyval_name: Key name in #gdk_keys_by_name.
* @returns: Corresponding key symbol.
*
* Return the key symbol that associate with the key name.
*/
guint ibus_keyval_from_name (const gchar *keyval_name);
/**
* ibus_free_strv: * ibus_free_strv:
* @strv: List of strings. * @strv: List of strings.
* *
* Free a list of strings. * Free a list of strings.
* Deprecated: This function has been deprecated and should * Deprecated: This function has been deprecated and should
* not be used in newly written code. * not be used in newly written code.
*/ */
void ibus_free_strv (gchar **strv) void ibus_free_strv (gchar **strv)
G_GNUC_DEPRECATED; G_GNUC_DEPRECATED;
 End of changes. 1 change blocks. 
20 lines changed or deleted 0 lines changed or added


 ibustypes.h   ibustypes.h 
skipping to change at line 180 skipping to change at line 180
* same as DBUS_REQUEST_NAME_REPLY_ALREADY_OWNER * same as DBUS_REQUEST_NAME_REPLY_ALREADY_OWNER
*/ */
typedef enum { typedef enum {
IBUS_BUS_REQUEST_NAME_REPLY_PRIMARY_OWNER = 1, IBUS_BUS_REQUEST_NAME_REPLY_PRIMARY_OWNER = 1,
IBUS_BUS_REQUEST_NAME_REPLY_IN_QUEUE = 2, IBUS_BUS_REQUEST_NAME_REPLY_IN_QUEUE = 2,
IBUS_BUS_REQUEST_NAME_REPLY_EXISTS = 3, IBUS_BUS_REQUEST_NAME_REPLY_EXISTS = 3,
IBUS_BUS_REQUEST_NAME_REPLY_ALREADY_OWNER = 4, IBUS_BUS_REQUEST_NAME_REPLY_ALREADY_OWNER = 4,
} IBusBusRequestNameReply; } IBusBusRequestNameReply;
/** /**
* IBusError:
* @IBUS_ERROR_NO_ENGINE:
* There is no engine associated with input context.
*/
typedef enum {
IBUS_ERROR_NO_ENGINE,
} IBusError;
/**
* IBusRectangle: * IBusRectangle:
* @x: x coordinate. * @x: x coordinate.
* @y: y coordinate. * @y: y coordinate.
* @width: width of the rectangle. * @width: width of the rectangle.
* @height: height of the renctangl. * @height: height of the renctangl.
* *
* Rectangle definition. * Rectangle definition.
*/ */
typedef struct _IBusRectangle IBusRectangle; typedef struct _IBusRectangle IBusRectangle;
struct _IBusRectangle { struct _IBusRectangle {
 End of changes. 1 change blocks. 
0 lines changed or deleted 9 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/