Hiroyuki Ikezoe
ikezo****@users*****
2006年 11月 29日 (水) 11:28:09 JST
Index: tomoe/dict/tomoe-dict-xml.c diff -u tomoe/dict/tomoe-dict-xml.c:1.7 tomoe/dict/tomoe-dict-xml.c:1.8 --- tomoe/dict/tomoe-dict-xml.c:1.7 Wed Nov 29 11:07:36 2006 +++ tomoe/dict/tomoe-dict-xml.c Wed Nov 29 11:28:09 2006 @@ -21,7 +21,7 @@ * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307 USA * - * $Id: tomoe-dict-xml.c,v 1.7 2006/11/29 02:07:36 makeinu Exp $ + * $Id: tomoe-dict-xml.c,v 1.8 2006/11/29 02:28:09 ikezoe Exp $ */ #include <stdio.h> @@ -188,15 +188,12 @@ } G_MODULE_EXPORT GObject * -TOMOE_DICT_IMPL_INSTANTIATE (const gchar *first_property,...) +TOMOE_DICT_IMPL_INSTANTIATE (const gchar *first_property, va_list args) { GObject *object; - va_list var_args; - va_start (var_args, first_property); object = g_object_new_valist (TOMOE_TYPE_DICT_XML, - first_property, var_args); - va_end (var_args); + first_property, args); return object; }