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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gdkdrawable.pre:119:    }   }      void set_source_color(object o, GDK2.Color color)   //! Sets the source color.   {    pgtk2_verify_inited();    {    struct object *o1,*o2;    -  get_all_args("set_source_color",args,"%o%o",&o1,&o2); +  get_all_args(NULL,args,"%o%o",&o1,&o2);    gdk_cairo_set_source_color(((struct cairo_mod_context *)o1->storage)->ctx,    (GdkColor *)get_gdkobject(o2,color));    }    RETURN_THIS();   }      void set_source_pixbuf(object o, GDK2.Pixbuf pixbuf, float x, float y)   //! Sets the pixbuf as the source pattern for a Cairo context.   {    pgtk2_verify_inited();    {    struct object *o1,*o2;    FLOAT_TYPE x,y;    -  get_all_args("set_source_pixbuf",args,"%o%o%f%f",&o1,&o2,&x,&y); +  get_all_args(NULL,args,"%o%o%f%f",&o1,&o2,&x,&y);    gdk_cairo_set_source_pixbuf(((struct cairo_mod_context *)o1->storage)->ctx,    GDK_PIXBUF(get_gobject(o2)),x,y);    }    RETURN_THIS();   }      require gtk210;   void set_source_pixmap(object o, GDK2.Pixmap, float x, float y)   //! Sets the pixmap as the source pattern for a Cairo context.   {    pgtk2_verify_inited();    {    struct object *o1,*o2;    FLOAT_TYPE x,y;    -  get_all_args("set_source_pixmap",args,"%o%o%f%f",&o1,&o2,&x,&y); +  get_all_args(NULL,args,"%o%o%f%f",&o1,&o2,&x,&y);    gdk_cairo_set_source_pixmap(((struct cairo_mod_context *)o1->storage)->ctx,    GDK_PIXMAP(get_gobject(o2)),x,y);    }    RETURN_THIS();   }   endrequire;      void rectangle(object o, GDK2.Rectangle rect)   //! Adds the given rectangle to the current path.   {    pgtk2_verify_inited();    {    struct object *o1,*o2;    -  get_all_args("rectangle",args,"%o%o",&o1,&o2); +  get_all_args(NULL,args,"%o%o",&o1,&o2);    gdk_cairo_rectangle(((struct cairo_mod_context *)o1->storage)->ctx,    (GdkRectangle *)get_gdkobject(o2,rectangle));    }    RETURN_THIS();   }      void region(object o, GDK2.Region region)   //! Adds the given region to the current path.   {    pgtk2_verify_inited();    {    struct object *o1,*o2;    -  get_all_args("region",args,"%o%o",&o1,&o2); +  get_all_args(NULL,args,"%o%o",&o1,&o2);    gdk_cairo_region(((struct cairo_mod_context *)o1->storage)->ctx,    (GdkRegion *)get_gdkobject(o2,region));    }    RETURN_THIS();   }   endrequire;   endrequire;