Branch: Tag:

2006-01-14

2006-01-14 02:20:32 by Martin Nilsson <mani@lysator.liu.se>

push_text -> ref_push_string

Rev: src/post_modules/GTK2/source/gdkdisplay.pre:1.4
Rev: src/post_modules/GTK2/source/gdkdrawable.pre:1.4
Rev: src/post_modules/GTK2/source/gdkevent.pre:1.4
Rev: src/post_modules/GTK2/source/gdkgc.pre:1.5
Rev: src/post_modules/GTK2/source/gdkrectangle.pre:1.6
Rev: src/post_modules/GTK2/source/gdkwindow.pre:1.4
Rev: src/post_modules/GTK2/source/global.pre:1.10
Rev: src/post_modules/GTK2/source/gtkcalendar.pre:1.3
Rev: src/post_modules/GTK2/source/gtkcellrenderer.pre:1.6
Rev: src/post_modules/GTK2/source/gtkcellview.pre:1.8
Rev: src/post_modules/GTK2/source/gtkcolorselection.pre:1.7
Rev: src/post_modules/GTK2/source/gtkdatabox.pre:1.6
Rev: src/post_modules/GTK2/source/gtkfixed.pre:1.4
Rev: src/post_modules/GTK2/source/gtkframe.pre:1.5
Rev: src/post_modules/GTK2/source/gtkimage.pre:1.4
Rev: src/post_modules/GTK2/source/gtklabel.pre:1.6
Rev: src/post_modules/GTK2/source/gtkmisc.pre:1.4
Rev: src/post_modules/GTK2/source/gtknotebook.pre:1.4
Rev: src/post_modules/GTK2/source/gtkscale.pre:1.3
Rev: src/post_modules/GTK2/source/gtkscrolledwindow.pre:1.6
Rev: src/post_modules/GTK2/source/gtksourcelanguage.pre:1.6
Rev: src/post_modules/GTK2/source/gtksourceprintjob.pre:1.5
Rev: src/post_modules/GTK2/source/gtksourcestylescheme.pre:1.4
Rev: src/post_modules/GTK2/source/gtksourcetag.pre:1.5
Rev: src/post_modules/GTK2/source/gtkspinbutton.pre:1.5
Rev: src/post_modules/GTK2/source/gtktextview.pre:1.6
Rev: src/post_modules/GTK2/source/gtktreepath.pre:1.5
Rev: src/post_modules/GTK2/source/gtktreesortable.inc:1.4
Rev: src/post_modules/GTK2/source/gtktreeview.pre:1.6
Rev: src/post_modules/GTK2/source/gtktreeviewcolumn.pre:1.7
Rev: src/post_modules/GTK2/source/gtkwindow.pre:1.5
Rev: src/post_modules/GTK2/source/pangolayout.pre:1.6
Rev: src/post_modules/GTK2/source/pangotabarray.pre:1.4

111:    gs=gtk_source_language_get_tag_style(GTK_SOURCE_LANGUAGE(THIS->obj),id);    my_pop_n_elems(args);    if (gs) { -  push_text("default"); push_int(gs->is_default); -  push_text("mask"); push_int(gs->mask); +  ref_push_string(_STR("default")); push_int(gs->is_default); +  ref_push_string(_STR("mask")); push_int(gs->mask);    fg=(GdkColor *)g_malloc(sizeof(GdkColor));    if (fg==NULL)    SIMPLE_OUT_OF_MEMORY_ERROR("get_tag_style",sizeof(GdkColor));
121:    SIMPLE_OUT_OF_MEMORY_ERROR("get_tag_style",sizeof(GdkColor));    *fg=gs->foreground;    *bg=gs->background; -  push_text("foreground"); push_gdkobject(fg,color); -  push_text("background"); push_gdkobject(bg,color); -  push_text("italic"); push_int(gs->italic); -  push_text("bold"); push_int(gs->bold); -  push_text("underline"); push_int(gs->underline); -  push_text("strikethrough"); push_int(gs->strikethrough); +  ref_push_string(_STR("foreground")); push_gdkobject(fg,color); +  ref_push_string(_STR("background")); push_gdkobject(bg,color); +  ref_push_string(_STR("italic")); push_int(gs->italic); +  ref_push_string(_STR("bold")); push_int(gs->bold); +  ref_push_string(_STR("underline")); push_int(gs->underline); +  ref_push_string(_STR("strikethrough")); push_int(gs->strikethrough);    f_aggregate_mapping(16);    } else    push_int(0);
200:    id);    my_pop_n_elems(args);    if (gs) { -  push_text("default"); push_int(gs->is_default); -  push_text("mask"); push_int(gs->mask); +  ref_push_string(_STR("default")); push_int(gs->is_default); +  ref_push_string(_STR("mask")); push_int(gs->mask);    fg=(GdkColor *)g_malloc(sizeof(GdkColor));    if (fg==NULL)    SIMPLE_OUT_OF_MEMORY_ERROR("get_tag_default_style",sizeof(GdkColor));
210:    SIMPLE_OUT_OF_MEMORY_ERROR("get_tag_default_style",sizeof(GdkColor));    *fg=gs->foreground;    *bg=gs->background; -  push_text("foreground"); push_gdkobject(fg,color); -  push_text("background"); push_gdkobject(bg,color); -  push_text("italic"); push_int(gs->italic); -  push_text("bold"); push_int(gs->bold); -  push_text("underline"); push_int(gs->underline); -  push_text("strikethrough"); push_int(gs->strikethrough); +  ref_push_string(_STR("foreground")); push_gdkobject(fg,color); +  ref_push_string(_STR("background")); push_gdkobject(bg,color); +  ref_push_string(_STR("italic")); push_int(gs->italic); +  ref_push_string(_STR("bold")); push_int(gs->bold); +  ref_push_string(_STR("underline")); push_int(gs->underline); +  ref_push_string(_STR("strikethrough")); push_int(gs->strikethrough);    f_aggregate_mapping(16);    } else    push_int(0);    }   }