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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtksourcetag.pre:48:      void set_style(mapping(string:mixed) style)   //! Associates a style with this tag.   //! See GTK2.SourceBuffer->set_bracket_match_style() for format.   {    pgtk2_verify_inited();    {    GtkSourceTagStyle *sts;    struct mapping *m;    struct svalue *sv; -  get_all_args("set_style",args,"%m",&m); +  get_all_args(NULL,args,"%m",&m);    if (m==NULL)    Pike_error("No mapping.\n");    sts=gtk_source_tag_style_new();    if (sts==NULL)    SIMPLE_OUT_OF_MEMORY_ERROR("set_style",sizeof(GtkSourceTagStyle));    sv=low_mapping_string_lookup(m,_STR("default"));    if (sv)    sts->is_default=PGTK_GETINT(sv);    sv=low_mapping_string_lookup(m,_STR("mask"));    if (sv)