Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 304857 Details for
Bug 407695
app-i18n/ibus-chewing-1.3.10: fails to build against app-i18n/ibus-1.4.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch for app-i18n/ibus-chewing-1.3.10 for it to compile against ibus-1.4.1.
ibus-chewing-1.3.10-ibus-1.4.1-api-change.patch (text/plain), 2.37 KB, created by
Jack Chen
on 2012-03-10 16:06:52 UTC
(
hide
)
Description:
Patch for app-i18n/ibus-chewing-1.3.10 for it to compile against ibus-1.4.1.
Filename:
MIME Type:
Creator:
Jack Chen
Created:
2012-03-10 16:06:52 UTC
Size:
2.37 KB
patch
obsolete
>diff -uNrbB ibus-chewing-1.3.10-Source.bak/src/IBusChewingEngine.gob ibus-chewing-1.3.10-Source/src/IBusChewingEngine.gob >--- ibus-chewing-1.3.10-Source.bak/src/IBusChewingEngine.gob 2012-03-10 11:29:01.000000000 +0800 >+++ ibus-chewing-1.3.10-Source/src/IBusChewingEngine.gob 2012-03-10 22:47:08.000000000 +0800 >@@ -1041,12 +1041,21 @@ > /* Toggle Full <-> Half */ > chewing_set_ShapeMode(self->context, !chewing_get_ShapeMode(self->context)); > }else if (strcmp(prop_name,"chewing_settings_prop")==0){ >- if (self->settings_prop->state==PROP_STATE_UNCHECKED){ >+#if IBUS_CHECK_VERSION(1, 4, 0) >+ if (ibus_property_get_state(self->settings_prop)==PROP_STATE_UNCHECKED) >+#else >+ if (self->settings_prop->state==PROP_STATE_UNCHECKED) >+#endif >+ { > if (gtk_dialog_run(GTK_DIALOG(self->setting_dialog))==GTK_RESPONSE_OK){ > self_save_config_all(self); > } > gtk_widget_hide(self->setting_dialog); >+#if IBUS_CHECK_VERSION(1, 4, 0) >+ ibus_property_set_state(self->settings_prop,PROP_STATE_UNCHECKED); >+#else > self->settings_prop->state=PROP_STATE_UNCHECKED; >+#endif > } > }else{ > G_DEBUG_MSG(3,"[I3] property_activate(-, %s, %u) not recognized",prop_name, prop_state); >diff -uNrbB ibus-chewing-1.3.10-Source.bak/src/IBusChewingEngine-input-events.c ibus-chewing-1.3.10-Source/src/IBusChewingEngine-input-events.c >--- ibus-chewing-1.3.10-Source.bak/src/IBusChewingEngine-input-events.c 2012-03-10 11:29:01.000000000 +0800 >+++ ibus-chewing-1.3.10-Source/src/IBusChewingEngine-input-events.c 2012-03-10 23:16:41.000000000 +0800 >@@ -291,12 +291,21 @@ > /* Toggle Full <-> Half */ > chewing_set_ShapeMode(self->context, !chewing_get_ShapeMode(self->context)); > }else if (strcmp(prop_name,"chewing_settings_prop")==0){ >- if (self->settings_prop->state==PROP_STATE_UNCHECKED){ >+#if IBUS_CHECK_VERSION(1, 4, 0) >+ if (ibus_property_get_state(self->settings_prop)==PROP_STATE_UNCHECKED) >+#else >+ if (self->settings_prop->state==PROP_STATE_UNCHECKED) >+#endif >+ { > if (gtk_dialog_run(GTK_DIALOG(self->setting_dialog))==GTK_RESPONSE_OK){ > self_save_config_all(self); > } > gtk_widget_hide(self->setting_dialog); >+#if IBUS_CHECK_VERSION(1, 4, 0) >+ ibus_property_set_state(self->settings_prop,PROP_STATE_UNCHECKED); >+#else > self->settings_prop->state=PROP_STATE_UNCHECKED; >+#endif > } > }else{ > G_DEBUG_MSG(3,"[I3] property_activate(-, %s, %u) not recognized",prop_name, prop_state);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 407695
: 304857 |
304861
|
304883