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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtksourceview.pre:45:      void create(?GTK2.SourceBuffer buffer)   //! Create a new W(SourceView). If a buffer isn't specified, an empty default   //! buffer will be created.   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    if (args) {    struct object *o1;    GtkWidget *gs; -  get_all_args("create",args,"%o",&o1); +  get_all_args(NULL,args,"%o",&o1);    gs=gtk_source_view_new_with_buffer(    GTK_SOURCE_BUFFER(get_gobject(o1)));    THIS->obj=G_OBJECT(gs);    } else {    GtkWidget *gs;    gs=gtk_source_view_new();    THIS->obj=G_OBJECT(gs);    }    pgtk2_pop_n_elems(args);    pgtk2__init_this_object();
pike.git/src/post_modules/GTK2/source/gtksourceview.pre:114:   int get_margin();   //! Gets the position of the right margin.      void set_marker_pixbuf(string type, GDK2.Pixbuf pixbuf)   //! Associates a given pixbuf with a given marker type.   {    pgtk2_verify_inited();    {    char *type;    struct object *o1; -  get_all_args("set_marker_pixbuf",args,"%s%o",&type,&o1); +  get_all_args(NULL,args,"%s%o",&type,&o1);    gtk_source_view_set_marker_pixbuf(GTK_SOURCE_VIEW(THIS->obj),type,    GDK_PIXBUF(get_gobject(o1)));    }    RETURN_THIS();   }      GDK2.Pixbuf get_marker_pixbuf(string type)   //! Gets the pixbuf which is associated with the given type.   {    pgtk2_verify_inited();    {    char *type;    GdkPixbuf *gp; -  get_all_args("get_marker_pixbuf",args,"%s",&type); +  get_all_args(NULL,args,"%s",&type);    gp=gtk_source_view_get_marker_pixbuf(GTK_SOURCE_VIEW(THIS->obj),type);    pgtk2_pop_n_elems(args);    if (gp)    push_gobject(gp);    else    push_int(0);    }   }   endnot;