[Tomoe-cvs 958] CVS update: tomoe/lib

Back to archive index

Kouhei Sutou kous****@users*****
2006年 11月 24日 (金) 10:52:34 JST


Index: tomoe/lib/tomoe-recognizer.c
diff -u tomoe/lib/tomoe-recognizer.c:1.9 tomoe/lib/tomoe-recognizer.c:1.10
--- tomoe/lib/tomoe-recognizer.c:1.9	Thu Nov 23 23:30:48 2006
+++ tomoe/lib/tomoe-recognizer.c	Fri Nov 24 10:52:34 2006
@@ -17,7 +17,7 @@
  *  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  *  Boston, MA  02111-1307  USA
  *
- *  $Id: tomoe-recognizer.c,v 1.9 2006/11/23 14:30:48 kous Exp $
+ *  $Id: tomoe-recognizer.c,v 1.10 2006/11/24 01:52:34 kous Exp $
  */
 
 #include <stdlib.h>
@@ -212,9 +212,11 @@
     TomoeRecognizerPrivate *priv;
     gpointer *p;
 
+    priv = TOMOE_RECOGNIZER_GET_PRIVATE (recognizer);
+    g_return_val_if_fail (priv->module, NULL);
+
     search_func_p = &search_func;
     p = (gpointer *)search_func_p;
-    priv = TOMOE_RECOGNIZER_GET_PRIVATE (recognizer);
     if (tomoe_recognizer_load_func(priv->module,
                                    RECOGNIZER_SEARCH_FUNC, p)) {
         result = search_func(priv->context, dict, input);


tomoe-cvs メーリングリストの案内
Back to archive index