File imhangul-0.9.14-gtk-deprecated.patch of Package imhangul
--- gtkimcontexthangul.c.old 2011-05-23 09:13:54.025010316 +0200
+++ gtkimcontexthangul.c 2011-05-23 09:15:44.028010324 +0200
@@ -565,7 +565,11 @@
im_hangul_set_input_mode_info (GdkWindow *window, int state)
{
if (window != NULL) {
+#if GTK_CHECK_VERSION(2, 24, 0)
+ GdkScreen *screen = gdk_window_get_screen(window);
+#else
GdkScreen *screen = gdk_drawable_get_screen(window);
+#endif
im_hangul_set_input_mode_info_for_screen (screen, state);
}
}