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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gdkdrawable.pre:104:      object get_cairo_context()   //! Creates a Cairo context for this drawable.   {    pgtk2_verify_inited();    if (verify_cairo()) {    cairo_t *ctx;    struct object *o;       ctx=gdk_cairo_create(GDK_DRAWABLE(THIS->obj)); -  o=low_clone(cairo_program); -  call_c_initializers(o); +  o=fast_clone_object(cairo_program);    ((struct cairo_mod_context *)o->storage)->ctx=ctx;    ref_push_object(o);    } else {    Pike_error("Unable to find cairo module.\n");    }   }      void set_source_color(object o, GDK2.Color color)   //! Sets the source color.   {