Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: src/IBusChewingEngine.gob

Issue 5535007: ibus-chewing: Support IBus-1.4 API. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/ibus-chewing.git@master
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/IBusChewingEngine-def.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IBusChewingEngine.gob
diff --git a/src/IBusChewingEngine.gob b/src/IBusChewingEngine.gob
index d8b3d6adf6bf01dc3e752c5be2bf491a99603408..8b7981404734bd0d61fcdb2fc971c7f3d9b6b7cc 100644
--- a/src/IBusChewingEngine.gob
+++ b/src/IBusChewingEngine.gob
@@ -299,7 +299,7 @@ class IBus:Chewing:Engine from IBus:Engine{
GValue gValue={0};
G_DEBUG_MSG(4,"[I4] load_setting(), i=%d",i);
- if (ibus_config_get_value(self->config, "engine/Chewing",propSpecs[i].key, &gValue)){
+ if (ibus_chewing_config_get_value(self->config, "engine/Chewing",propSpecs[i].key, &gValue)){
// TODO: Read in the config on Chromium OS.
/*switch(propSpecs[i].valueType){
case G_TYPE_BOOLEAN:
@@ -677,7 +677,7 @@ class IBus:Chewing:Engine from IBus:Engine{
*/
public gboolean save_config(self, const gchar *key_suffix){
G_DEBUG_MSG(1,"[I1] save_config(%s,-)",key_suffix);
- GValue gValue={0};
+ // GValue gValue={0};
// TODO: Save the config on Chromium OS.
//maker_dialog_get_widget_value(MAKER_DIALOG(self->setting_dialog),key_suffix,&gValue);
//return ibus_config_set_value (self->config,"engine/Chewing",key_suffix,&gValue);
@@ -1014,7 +1014,7 @@ class IBus:Chewing:Engine from IBus:Engine{
self->handler_id = g_signal_connect(self->config, "value-changed",
G_CALLBACK(ibus_config_value_changed), self);
}
- G_DEBUG_MSG(2,"[I2] enable() config = %x handler_id = %d", self->config, self->handler_id);
+ G_DEBUG_MSG(2,"[I2] enable() config = %p handler_id = %lu", self->config, self->handler_id);
self_refresh_property_list(self);
self->inputMode=CHEWING_INPUT_MODE_SELECTING_DONE;
ibus_chewing_engine_set_status_flag(self, ENGINE_STATUS_ENABLED);
« no previous file with comments | « no previous file | src/IBusChewingEngine-def.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698