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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkaboutdialog.pre:102:   //! Returns the strings which are displayed in the authors tab of the   //! secondary credits dialog.   {    pgtk2_verify_inited();    pgtk2_pop_n_elems(args);    {    const gchar * const *auth;    int i=0;    auth=gtk_about_dialog_get_authors(GTK_ABOUT_DIALOG(THIS->obj));    while (auth[i]) { -  push_text(auth[i++]); +  PGTK_PUSH_GCHAR(auth[i++]);    f_utf8_to_string(1);    }    f_aggregate(i);    }   }      void set_authors(array(string) auth)   //! Sets the strings which are displayed in the authors tab of the secondary   //! credits dialog.   {
pike.git/src/post_modules/GTK2/source/gtkaboutdialog.pre:165:   //! Returns the strings which are displayed in the artists tab of the   //! secondary credits dialog.   {    pgtk2_verify_inited();    pgtk2_pop_n_elems(args);    {    const gchar * const *art;    int i=0;    art=gtk_about_dialog_get_artists(GTK_ABOUT_DIALOG(THIS->obj));    while (art[i]) { -  push_text(art[i++]); +  PGTK_PUSH_GCHAR(art[i++]);    f_utf8_to_string(1);    }    f_aggregate(i);    }   }      void set_artists(array(string) art)   //! Sets the strings which are displayed in the artists tab of the secondary   //! credits dialog.   {
pike.git/src/post_modules/GTK2/source/gtkaboutdialog.pre:228:   //! Returns the strings which are displayed in the documenters tab of the   //! secondary credits dialog.   {    pgtk2_verify_inited();    pgtk2_pop_n_elems(args);    {    const gchar * const *doc;    int i=0;    doc=gtk_about_dialog_get_documenters(GTK_ABOUT_DIALOG(THIS->obj));    while (doc[i]) { -  push_text(doc[i++]); +  PGTK_PUSH_GCHAR(doc[i++]);    f_utf8_to_string(1);    }    f_aggregate(i);    }   }      void set_documenters(array(string) doc)   //! Sets the strings which are displayed in the documenters tab of the   //! secondary credits dialog.   {
pike.git/src/post_modules/GTK2/source/gtkaboutdialog.pre:312:    {    struct pike_string *prop;    get_all_args("get_property",args,"%n",&prop);    if (is_same_string(prop,_STR("artists")) ||    is_same_string(prop,_STR("authors")) ||    is_same_string(prop,_STR("documenters"))) {    gchar **a;    int i=0;    g_object_get(G_OBJECT(THIS->obj),prop->str,&a,NULL);    while (a[i]) -  push_text(a[i]); +  PGTK_PUSH_GCHAR(a[i]);    f_aggregate(i);    g_strfreev(a);    } else {    char *s=g_strdup(prop->str);    pgtk2_pop_n_elems(args);    pgtk2_get_property(G_OBJECT(THIS->obj),s);    g_free(s);    }    }   }      endrequire;