Revision: 6777
Author: nogu.dev
Date: Sat Sep 11 17:43:43 2010
Log: * gtk/gtk-im-uim.c
- (on_client_widget_grab_notify, handle_key_on_toplevel):
Add comments on GSEAL_ENABLE.
* helper/pref-gtk-custom-widgets.c
- (choose_key_clicked_cb): Ditto.
http://code.google.com/p/uim/source/detail?r=6777
Modified:
/trunk/gtk/gtk-im-uim.c
/trunk/helper/pref-gtk-custom-widgets.c
=======================================
--- /trunk/gtk/gtk-im-uim.c Sat Sep 11 17:41:41 2010
+++ /trunk/gtk/gtk-im-uim.c Sat Sep 11 17:43:43 2010
@@ -396,6 +396,7 @@
window = GTK_WINDOW(cur_toplevel);
group = gtk_window_get_group(window);
+ /* FIXME: Can't compile with GSEAL_ENABLE */
if (group && group->grabs)
grab_widget = GTK_WIDGET(group->grabs->data);
}
@@ -1616,9 +1617,11 @@
if (rv)
return FALSE;
+ /* FIXME: Can't compile with GSEAL_ENABLE */
if (GTK_IS_TEXT_VIEW(uic->widget))
GTK_TEXT_VIEW(uic->widget)->need_im_reset = TRUE;
else if (GTK_IS_ENTRY(uic->widget)) {
+ /* FIXME: Can't compile with GSEAL_ENABLE */
if (gtk_editable_get_editable(GTK_EDITABLE(uic->widget)))
GTK_ENTRY(uic->widget)->need_im_reset = TRUE;
}
=======================================
--- /trunk/helper/pref-gtk-custom-widgets.c Sat Sep 11 17:43:22 2010
+++ /trunk/helper/pref-gtk-custom-widgets.c Sat Sep 11 17:43:43 2010
@@ -1834,6 +1834,7 @@
entry = gtk_entry_new();
/* XXX hack alert! This modifies private part of gtk_entry */
+ /* FIXME: Can't compile with GSEAL_ENABLE */
im_context = gtk_im_context_simple_new();
g_object_unref(GTK_ENTRY(entry)->im_context);
GTK_ENTRY(entry)->im_context = im_context;