aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/uim/files/patch-helper:helper-candwin-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/uim/files/patch-helper:helper-candwin-gtk.c')
-rw-r--r--japanese/uim/files/patch-helper:helper-candwin-gtk.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/japanese/uim/files/patch-helper:helper-candwin-gtk.c b/japanese/uim/files/patch-helper:helper-candwin-gtk.c
new file mode 100644
index 000000000000..9d85f729dab2
--- /dev/null
+++ b/japanese/uim/files/patch-helper:helper-candwin-gtk.c
@@ -0,0 +1,15 @@
+--- helper/helper-candwin-gtk.c.orig Sun Nov 9 02:26:21 2003
++++ helper/helper-candwin-gtk.c Sun Nov 9 02:27:22 2003
+@@ -160,10 +160,11 @@
+ {
+ int index;
+ char idx[20];
++ GtkTreePath* path;
+ sscanf(str[1],"%d",&index);
+ cwin.candidate_index = index;
+
+- GtkTreePath* path = gtk_tree_path_new_from_indices(index, -1);
++ path = gtk_tree_path_new_from_indices(index, -1);
+ gtk_tree_view_set_cursor(GTK_TREE_VIEW(m_view),
+ path, NULL, FALSE);
+ gtk_tree_view_scroll_to_cell(GTK_TREE_VIEW(m_view),