pike.git / src / post_modules / GTK2 / source / gtksourcetagtable.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtksourcetagtable.pre:22:   //! <p>   //! If a tag is already present in the table or has the same name as an already   //! added tag, then it is not added to the table.   {    pgtk2_verify_inited();    {    GSList *gsl=NULL;    struct array *a;    int i;    struct svalue *sv; -  get_all_args("create",args,"%A",&a); +  get_all_args(NULL,args,"%A",&a);    if (a==NULL)    Pike_error("No array!\n");    if (a->size<1)    Pike_error("Empty array!\n");    for (i=0; i<a->size; i++) {    sv=(ITEM(a)+i);    if (TYPEOF(*sv) != PIKE_T_OBJECT)    continue;    if (G_TYPE_FROM_INSTANCE(get_gobject(sv->u.object))!=GTK_TYPE_TEXT_TAG)    continue;