[uim-commit] r2944 - trunk/helper

ekato at freedesktop.org ekato at freedesktop.org
Thu Jan 19 23:59:34 PST 2006


Author: ekato
Date: 2006-01-19 23:59:29 -0800 (Thu, 19 Jan 2006)
New Revision: 2944

Modified:
   trunk/helper/candwin-gtk.c
Log:
* helper/candwin-gtk.c : Fix comment.
(tree_selection_changed) : Check cwin pointer as intended.


Modified: trunk/helper/candwin-gtk.c
===================================================================
--- trunk/helper/candwin-gtk.c	2006-01-20 07:49:07 UTC (rev 2943)
+++ trunk/helper/candwin-gtk.c	2006-01-20 07:59:29 UTC (rev 2944)
@@ -85,7 +85,7 @@
   void (*index_changed) (UIMCandidateWindowClass *candwin);
 };
 
-static UIMCandidateWindow *cwin; /* use static one */
+static UIMCandidateWindow *cwin; /* use single candwin */
 
 GType candidate_window_get_type(void);
 UIMCandidateWindow *candidate_window_new(void);
@@ -214,7 +214,7 @@
   gint *indicies;
   gint idx;
 
-  if (!&cwin)
+  if (!cwin)
     return TRUE;
 
   indicies = gtk_tree_path_get_indices(path);



More information about the uim-commit mailing list