1
From: Daiki Ueno <ueno@unixuser.org>
2
Date: Sun, 04 Mar 2012 18:13:45 +0900
3
Description: Follow IBusProperty ABI change.
4
--- a/src/IBusChewingEngine-input-events.c
5
+++ b/src/IBusChewingEngine-input-events.c
7
/* Toggle Full <-> Half */
8
chewing_set_ShapeMode(self->context, !chewing_get_ShapeMode(self->context));
9
}else if (strcmp(prop_name,"chewing_settings_prop")==0){
10
- if (self->settings_prop->state==PROP_STATE_UNCHECKED){
11
+ if (ibus_property_get_state(self->settings_prop)==PROP_STATE_UNCHECKED){
12
if (gtk_dialog_run(GTK_DIALOG(self->setting_dialog))==GTK_RESPONSE_OK){
13
self_save_config_all(self);
15
gtk_widget_hide(self->setting_dialog);
16
- self->settings_prop->state=PROP_STATE_UNCHECKED;
17
+ ibus_property_set_state(self->settings_prop, PROP_STATE_UNCHECKED);
20
G_DEBUG_MSG(3,"[I3] property_activate(-, %s, %u) not recognized",prop_name, prop_state);
21
--- a/src/IBusChewingEngine.gob
22
+++ b/src/IBusChewingEngine.gob
23
@@ -1041,12 +1041,12 @@
24
/* Toggle Full <-> Half */
25
chewing_set_ShapeMode(self->context, !chewing_get_ShapeMode(self->context));
26
}else if (strcmp(prop_name,"chewing_settings_prop")==0){
27
- if (self->settings_prop->state==PROP_STATE_UNCHECKED){
28
+ if (ibus_property_get_state(self->settings_prop)==PROP_STATE_UNCHECKED){
29
if (gtk_dialog_run(GTK_DIALOG(self->setting_dialog))==GTK_RESPONSE_OK){
30
self_save_config_all(self);
32
gtk_widget_hide(self->setting_dialog);
33
- self->settings_prop->state=PROP_STATE_UNCHECKED;
34
+ ibus_property_set_state(self->settings_prop, PROP_STATE_UNCHECKED);
37
G_DEBUG_MSG(3,"[I3] property_activate(-, %s, %u) not recognized",prop_name, prop_state);