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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkkeywordlisttag.pre:7:   %{   #include "gtksourceview/gtksourceview.h"   %}      void create(string id, string name, array(string) keywords,    int case_sensitive, int match_empty_string_at_beginning,    int match_empty_string_at_end, string beginning_regex,    string end_regex)   //! Creates a new keyword list tag object with the provided arguments.   { -  pgtk_verify_not_inited(); -  pgtk_verify_setup(); +  pgtk2_verify_not_inited(); +  pgtk2_verify_setup();    {    GtkTextTag *gtt;    char *id,*name,*begin,*end;    INT_TYPE sense,matchb,matche;    struct array *a;    struct svalue *sv;    GSList *gsl=NULL;    int i;    get_all_args("create",args,"%s%s%A%i%i%i%s%s",&id,&name,&a,&sense,    &matchb,&matche,&begin,&end);
pike.git/src/post_modules/GTK2/source/gtkkeywordlisttag.pre:33:    }    for (i=0; i<a->size; i++) {    if ((ITEM(a)+i)->type!=PIKE_T_STRING)    continue;    gsl=g_slist_prepend(gsl,STR0((ITEM(a)+i)->u.string));    }    gtt=gtk_keyword_list_tag_new(id,name,gsl,sense,matchb,matche,    begin,end);    THIS->obj=G_OBJECT(gtt);    } -  my_pop_n_elems(args); -  pgtk__init_this_object(); +  pgtk2_pop_n_elems(args); +  pgtk2__init_this_object();   }