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

version» Context lines:

pike.git/src/post_modules/GTK2/source/global.pre:469:    GSList *gsl,*gs2;    gchar **gca;    int i=0,j,k;    pgtk2_verify_setup();    pgtk2_pop_n_elems(args);    gs2=gsl=gdk_pixbuf_get_formats();    while (gs2) {    i++;    k=0;    ref_push_string(_STR("name")); -  push_text(gdk_pixbuf_format_get_name(gs2->data)); +  PGTK_PUSH_GCHAR(gdk_pixbuf_format_get_name(gs2->data));    k++;       ref_push_string(_STR("description")); -  push_text(gdk_pixbuf_format_get_description(gs2->data)); +  PGTK_PUSH_GCHAR(gdk_pixbuf_format_get_description(gs2->data));    k++;       ref_push_string(_STR("mime_types"));    gca=gdk_pixbuf_format_get_mime_types(gs2->data);    j=0;    while (gca[j]) {    PGTK_PUSH_GCHAR(gca[j]);    j++;    }    f_aggregate(j);
pike.git/src/post_modules/GTK2/source/global.pre:506:    k++;      #ifdef HAVE_GTK26    ref_push_string(_STR("disabled"));    push_int(gdk_pixbuf_format_is_disabled(gs2->data));    k++;   #endif      #ifdef HAVE_GTK26    ref_push_string(_STR("license")); -  push_text(gdk_pixbuf_format_get_license(gs2->data)); +  PGTK_PUSH_GCHAR(gdk_pixbuf_format_get_license(gs2->data));    k++;   #endif       ref_push_string(_STR("is_writable"));    push_int(gdk_pixbuf_format_is_writable(gs2->data));    k++;      #ifdef HAVE_GTK26    ref_push_string(_STR("is_scalable"));    push_int(gdk_pixbuf_format_is_scalable(gs2->data));
pike.git/src/post_modules/GTK2/source/global.pre:545:    int j,k;    char *filename;    int width,height;       get_all_args("get_file_info",args,"%s",&filename);    gpf=gdk_pixbuf_get_file_info(filename,&width,&height);    pgtk2_pop_n_elems(args);    k=0;       ref_push_string(_STR("name")); -  push_text(gdk_pixbuf_format_get_name(gpf)); +  PGTK_PUSH_GCHAR(gdk_pixbuf_format_get_name(gpf));    k++;       ref_push_string(_STR("description")); -  push_text(gdk_pixbuf_format_get_description(gpf)); +  PGTK_PUSH_GCHAR(gdk_pixbuf_format_get_description(gpf));    k++;       ref_push_string(_STR("mime_types"));    gca=gdk_pixbuf_format_get_mime_types(gpf);    j=0;    while (gca[j]) {    PGTK_PUSH_GCHAR(gca[j]);    j++;    }    f_aggregate(j);
pike.git/src/post_modules/GTK2/source/global.pre:582:    k++;      #ifdef HAVE_GTK26    ref_push_string(_STR("disabled"));    push_int(gdk_pixbuf_format_is_disabled(gpf));    k++;   #endif      #ifdef HAVE_GTK26    ref_push_string(_STR("license")); -  push_text(gdk_pixbuf_format_get_license(gpf)); +  PGTK_PUSH_GCHAR(gdk_pixbuf_format_get_license(gpf));    k++;   #endif       ref_push_string(_STR("is_writable"));    push_int(gdk_pixbuf_format_is_writable(gpf));    k++;      #ifdef HAVE_GTK26    ref_push_string(_STR("is_scalable"));    push_int(gdk_pixbuf_format_is_scalable(gpf));