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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtksourcelanguagesmanager.pre:38:   //! language manager.      GTK2.SourceLanguage get_language_from_name(string name)   //! Gets the GTK2.SourceLanguage which has this name.   {    pgtk2_verify_inited();    {    char *name;    const GSList *gsl;    int sel=0; -  get_all_args("get_language_from_name", args, "%s", &name); +  get_all_args(NULL, args, "%s", &name);    gsl=gtk_source_languages_manager_get_available_languages(    GTK_SOURCE_LANGUAGES_MANAGER(THIS->obj));    while (gsl) {    if (!strcmp(gtk_source_language_get_name(    GTK_SOURCE_LANGUAGE(gsl->data)),name)) {    pgtk2_pop_n_elems(args);    push_gobject(gsl->data);    g_object_ref(gsl->data);    sel=1;    break;