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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkclipboard.pre:31:    */    THIS->obj=0;   }      GTK2.Clipboard get(GDK2.Atom selection)   //! Returns the clipboard object for the given selection.   {    pgtk2_verify_inited();    {    struct object *o1; -  get_all_args("get",args,"%o",&o1); +  get_all_args(NULL,args,"%o",&o1);    THIS->obj=G_OBJECT(gtk_clipboard_get(get_gdkatom(o1)));    }    RETURN_THIS();   }      require gtk22;   GTK2.Clipboard get_for_display(GDK2.Display display, GDK2.Atom selection)   //! Returns the clipboard object for the given selection.   {    pgtk2_verify_inited();    {    struct object *o1,*o2; -  get_all_args("get_for_display",args,"%o",&o1,&o2); +  get_all_args(NULL,args,"%o",&o1,&o2);    THIS->obj=G_OBJECT(gtk_clipboard_get_for_display(    (GdkDisplay *)get_gdkobject(o1,display),get_gdkatom(o2)));    }    RETURN_THIS();   }      GDK2.Display get_display();   //! Gets the GDK2.Display associated with this clipboard.   endrequire;   
pike.git/src/post_modules/GTK2/source/gtkclipboard.pre:107:   //! Requests the contents of the clipboard as rich text.   {    pgtk2_verify_inited();    {    struct object *o1;    GtkTextBuffer *gtb;    GdkAtom a;    gsize len;    guint8 *res;    -  get_all_args("wait_for_rich_text",args,"%o",&o1); +  get_all_args(NULL,args,"%o",&o1);    res=gtk_clipboard_wait_for_rich_text(GTK_CLIPBOARD(THIS->obj),    GTK_TEXT_BUFFER(get_gobject(o1)),&a,&len);    pgtk2_pop_n_elems(args);    if (res)    push_string(make_shared_binary_string(res,len));    else    push_string(empty_pike_string);    }   }   endrequire;