[Tomoe-cvs 1367] CVS update: tomoe/recognizer

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
2006年 11月 29日 (水) 11:08:38 JST


Index: tomoe/recognizer/tomoe-recognizer-simple.c
diff -u tomoe/recognizer/tomoe-recognizer-simple.c:1.12 tomoe/recognizer/tomoe-recognizer-simple.c:1.13
--- tomoe/recognizer/tomoe-recognizer-simple.c:1.12	Wed Nov 29 09:22:48 2006
+++ tomoe/recognizer/tomoe-recognizer-simple.c	Wed Nov 29 11:08:38 2006
@@ -17,7 +17,7 @@
  *  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  *  Boston, MA  02111-1307  USA
  *
- *  $Id: tomoe-recognizer-simple.c,v 1.12 2006/11/29 00:22:48 ikezoe Exp $
+ *  $Id: tomoe-recognizer-simple.c,v 1.13 2006/11/29 02:08:38 ikezoe Exp $
  */
 
 #include <stdlib.h>
@@ -102,10 +102,18 @@
 {
 }
 
-G_MODULE_EXPORT TomoeRecognizer *
-TOMOE_RECOGNIZER_IMPL_INSTANTIATE (void)
+G_MODULE_EXPORT GObject *
+TOMOE_RECOGNIZER_IMPL_INSTANTIATE (const gchar *first_property,...)
 {
-    return g_object_new (TOMOE_TYPE_RECOGNIZER_SIMPLE, NULL);
+    GObject *object;
+    va_list var_args;
+
+    va_start (var_args, first_property);
+    object = g_object_new_valist (TOMOE_TYPE_RECOGNIZER_SIMPLE, 
+                                  first_property, var_args);
+    va_end (var_args);
+
+    return object;
 }
 
 static GList *


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