Branch: Tag:

2008-01-30

2008-01-30 17:38:57 by Per Hedbor <ph@opera.com>

Some more push_gdkobjects fixed.

Rev: src/post_modules/GTK2/source/gdkgc.pre:1.16
Rev: src/post_modules/GTK2/source/gnomecanvas.pre:1.7
Rev: src/post_modules/GTK2/source/gtkcolorbutton.pre:1.11
Rev: src/post_modules/GTK2/source/gtkdatabox.pre:1.9
Rev: src/post_modules/GTK2/source/gtkimage.pre:1.9
Rev: src/post_modules/GTK2/source/gtksourcelanguage.pre:1.9
Rev: src/post_modules/GTK2/source/gtksourcestylescheme.pre:1.6
Rev: src/post_modules/GTK2/source/gtksourcetag.pre:1.7

121:    SIMPLE_OUT_OF_MEMORY_ERROR("get_tag_style",sizeof(GdkColor));    *fg=gs->foreground;    *bg=gs->background; -  ref_push_string(_STR("foreground")); push_gdkobject(fg,color); -  ref_push_string(_STR("background")); push_gdkobject(bg,color); +  ref_push_string(_STR("foreground")); push_gdkobject(fg,color,1); +  ref_push_string(_STR("background")); push_gdkobject(bg,color,1);    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);
210:    SIMPLE_OUT_OF_MEMORY_ERROR("get_tag_default_style",sizeof(GdkColor));    *fg=gs->foreground;    *bg=gs->background; -  ref_push_string(_STR("foreground")); push_gdkobject(fg,color); -  ref_push_string(_STR("background")); push_gdkobject(bg,color); +  ref_push_string(_STR("foreground")); push_gdkobject(fg,color,1); +  ref_push_string(_STR("background")); push_gdkobject(bg,color,1);    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);