Branch: Tag:

2010-09-19

2010-09-19 17:40:50 by Marcus Comstedt <marcus@mc.pp.se>

Use PGTK_PUSH_GCHAR(), not push_text(), to push gchar*.

Rev: src/post_modules/GTK2/source/gdkatom.pre:1.4
Rev: src/post_modules/GTK2/source/gdkwindow.pre:1.10
Rev: src/post_modules/GTK2/source/global.pre:1.19
Rev: src/post_modules/GTK2/source/gtkaboutdialog.pre:1.9
Rev: src/post_modules/GTK2/source/gtkfileselection.pre:1.7
Rev: src/post_modules/GTK2/source/gtkiconsource.pre:1.6
Rev: src/post_modules/GTK2/source/gtkimage.pre:1.10
Rev: src/post_modules/GTK2/source/gtkradiotoolbutton.pre:1.5
Rev: src/post_modules/GTK2/source/gtkrecentinfo.pre:1.6
Rev: src/post_modules/GTK2/source/gtksourcelanguage.pre:1.10
Rev: src/post_modules/GTK2/source/gtksourcelanguagesmanager.pre:1.7
Rev: src/post_modules/GTK2/source/gtksourcestylescheme.pre:1.7
Rev: src/post_modules/GTK2/source/gtktreepath.pre:1.11
Rev: src/post_modules/GTK2/source/gtkwidget.pre:1.22

476:    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"));
513:      #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   
552:    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"));
589:      #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