Branch: Tag:

2005-11-03

2005-11-03 13:49:47 by Lance Dillon <riffraff169@yahoo.com>

Updated to latest version 2.17 of the GTK2 module.
Includes gtksourceview, gtkdatabox, and libglade support.

Rev: src/post_modules/GTK2/Makefile.in:1.3
Rev: src/post_modules/GTK2/acconfig.h:1.5
Rev: src/post_modules/GTK2/build_pgtk.pike:1.3
Rev: src/post_modules/GTK2/configure.in:1.11
Rev: src/post_modules/GTK2/options.in:1.3
Rev: src/post_modules/GTK2/pgtk.h:1.5
Rev: src/post_modules/GTK2/source/common_draw.inc:1.2
Rev: src/post_modules/GTK2/source/constants.pre:1.3
Rev: src/post_modules/GTK2/source/encode_truecolor.c:1.2
Rev: src/post_modules/GTK2/source/gdkbitmap.pre:1.2
Rev: src/post_modules/GTK2/source/gdkcolor.pre:1.2
Rev: src/post_modules/GTK2/source/gdkdisplay.pre:1.2
Rev: src/post_modules/GTK2/source/gdkdragcontext.pre:1.2
Rev: src/post_modules/GTK2/source/gdkdrawable.pre:1.2
Rev: src/post_modules/GTK2/source/gdkevent.pre:1.2
Rev: src/post_modules/GTK2/source/gdkgc.pre:1.2
Rev: src/post_modules/GTK2/source/gdkimage.pre:1.2
Rev: src/post_modules/GTK2/source/gdkpixbuf.pre:1.2
Rev: src/post_modules/GTK2/source/gdkpixbufanimation.pre:1.3
Rev: src/post_modules/GTK2/source/gdkpixbufanimationiter.pre:1.3
Rev: src/post_modules/GTK2/source/gdkpixmap.pre:1.2
Rev: src/post_modules/GTK2/source/gdkrectangle.pre:1.2
Rev: src/post_modules/GTK2/source/gdkregion.pre:1.2
Rev: src/post_modules/GTK2/source/gdkwindow.pre:1.2
Rev: src/post_modules/GTK2/source/gladexml.pre:1.2
Rev: src/post_modules/GTK2/source/global.pre:1.2
Rev: src/post_modules/GTK2/source/gnomecanvas.pre:1.2
Rev: src/post_modules/GTK2/source/gnomeclient.pre:1.2
Rev: src/post_modules/GTK2/source/gnomedruidpageedge.pre:1.2
Rev: src/post_modules/GTK2/source/gnomedruidpagestandard.pre:1.2
Rev: src/post_modules/GTK2/source/gobject.pre:1.3
Rev: src/post_modules/GTK2/source/gtkaboutdialog.pre:1.2
Rev: src/post_modules/GTK2/source/gtkaccelgroup.pre:1.2
Rev: src/post_modules/GTK2/source/gtkaccellabel.pre:1.2
Rev: src/post_modules/GTK2/source/gtkaction.pre:1.2
Rev: src/post_modules/GTK2/source/gtkactiongroup.pre:1.2
Rev: src/post_modules/GTK2/source/gtkadjustment.pre:1.2
Rev: src/post_modules/GTK2/source/gtkalignment.pre:1.2
Rev: src/post_modules/GTK2/source/gtkarrow.pre:1.2
Rev: src/post_modules/GTK2/source/gtkaspectframe.pre:1.2
Rev: src/post_modules/GTK2/source/gtkbutton.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcalendar.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcellrenderer.pre:1.3
Rev: src/post_modules/GTK2/source/gtkcellrenderercombo.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcellrendererpixbuf.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcellrendererprogress.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcellrenderertext.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcellrenderertoggle.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcellview.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcheckbutton.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcheckmenuitem.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcolorbutton.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcolorselection.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcolorselectiondialog.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcombobox.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcomboboxentry.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcontainer.pre:1.2
Rev: src/post_modules/GTK2/source/gtkdialog.pre:1.2
Rev: src/post_modules/GTK2/source/gtkdrawingarea.pre:1.2
Rev: src/post_modules/GTK2/source/gtkeditable.inc:1.2
Rev: src/post_modules/GTK2/source/gtkentry.pre:1.2
Rev: src/post_modules/GTK2/source/gtkentrycompletion.pre:1.2
Rev: src/post_modules/GTK2/source/gtkeventbox.pre:1.2
Rev: src/post_modules/GTK2/source/gtkexpander.pre:1.2
Rev: src/post_modules/GTK2/source/gtkfilechooser.inc:1.2
Rev: src/post_modules/GTK2/source/gtkfilechooserbutton.pre:1.2
Rev: src/post_modules/GTK2/source/gtkfilechooserdialog.pre:1.2
Rev: src/post_modules/GTK2/source/gtkfilechooserwidget.pre:1.2
Rev: src/post_modules/GTK2/source/gtkfileselection.pre:1.2
Rev: src/post_modules/GTK2/source/gtkfixed.pre:1.2
Rev: src/post_modules/GTK2/source/gtkfontbutton.pre:1.2
Rev: src/post_modules/GTK2/source/gtkfontselection.pre:1.2
Rev: src/post_modules/GTK2/source/gtkfontselectiondialog.pre:1.2
Rev: src/post_modules/GTK2/source/gtkframe.pre:1.2
Rev: src/post_modules/GTK2/source/gtkhandlebox.pre:1.2
Rev: src/post_modules/GTK2/source/gtkhbox.pre:1.2
Rev: src/post_modules/GTK2/source/gtkhbuttonbox.pre:1.2
Rev: src/post_modules/GTK2/source/gtkhpaned.pre:1.2
Rev: src/post_modules/GTK2/source/gtkhscale.pre:1.2
Rev: src/post_modules/GTK2/source/gtkhscrollbar.pre:1.2
Rev: src/post_modules/GTK2/source/gtkhseparator.pre:1.2
Rev: src/post_modules/GTK2/source/gtkiconfactory.pre:1.2
Rev: src/post_modules/GTK2/source/gtkiconinfo.pre:1.2
Rev: src/post_modules/GTK2/source/gtkiconset.pre:1.2
Rev: src/post_modules/GTK2/source/gtkiconsize.pre:1.2
Rev: src/post_modules/GTK2/source/gtkiconsource.pre:1.2
Rev: src/post_modules/GTK2/source/gtkicontheme.pre:1.2
Rev: src/post_modules/GTK2/source/gtkiconview.pre:1.2
Rev: src/post_modules/GTK2/source/gtkimage.pre:1.2
Rev: src/post_modules/GTK2/source/gtkimagemenuitem.pre:1.2
Rev: src/post_modules/GTK2/source/gtkinvisible.pre:1.2
Rev: src/post_modules/GTK2/source/gtklabel.pre:1.2
Rev: src/post_modules/GTK2/source/gtklayout.pre:1.2
Rev: src/post_modules/GTK2/source/gtkliststore.pre:1.2
Rev: src/post_modules/GTK2/source/gtkmenu.pre:1.2
Rev: src/post_modules/GTK2/source/gtkmenubar.pre:1.2
Rev: src/post_modules/GTK2/source/gtkmenuitem.pre:1.2
Rev: src/post_modules/GTK2/source/gtkmenushell.pre:1.2
Rev: src/post_modules/GTK2/source/gtkmenutoolbutton.pre:1.2
Rev: src/post_modules/GTK2/source/gtkmisc.pre:1.2
Rev: src/post_modules/GTK2/source/gtknotebook.pre:1.2
Rev: src/post_modules/GTK2/source/gtkplug.pre:1.2
Rev: src/post_modules/GTK2/source/gtkprogressbar.pre:1.2
Rev: src/post_modules/GTK2/source/gtkradioaction.pre:1.2
Rev: src/post_modules/GTK2/source/gtkradiobutton.pre:1.2
Rev: src/post_modules/GTK2/source/gtkradiomenuitem.pre:1.2
Rev: src/post_modules/GTK2/source/gtkradiotoolbutton.pre:1.2
Rev: src/post_modules/GTK2/source/gtkscrolledwindow.pre:1.2
Rev: src/post_modules/GTK2/source/gtkseparatormenuitem.pre:1.2
Rev: src/post_modules/GTK2/source/gtkseparatortoolitem.pre:1.2
Rev: src/post_modules/GTK2/source/gtksettings.pre:1.2
Rev: src/post_modules/GTK2/source/gtksizegroup.pre:1.2
Rev: src/post_modules/GTK2/source/gtksocket.pre:1.2
Rev: src/post_modules/GTK2/source/gtkspinbutton.pre:1.2
Rev: src/post_modules/GTK2/source/gtkstatusbar.pre:1.2
Rev: src/post_modules/GTK2/source/gtktable.pre:1.2
Rev: src/post_modules/GTK2/source/gtktearoffmenuitem.pre:1.2
Rev: src/post_modules/GTK2/source/gtktextattributes.pre:1.2
Rev: src/post_modules/GTK2/source/gtktextbuffer.pre:1.2
Rev: src/post_modules/GTK2/source/gtktextiter.pre:1.2
Rev: src/post_modules/GTK2/source/gtktextmark.pre:1.2
Rev: src/post_modules/GTK2/source/gtktexttag.pre:1.2
Rev: src/post_modules/GTK2/source/gtktextview.pre:1.2
Rev: src/post_modules/GTK2/source/gtktoggleaction.pre:1.2
Rev: src/post_modules/GTK2/source/gtktogglebutton.pre:1.2
Rev: src/post_modules/GTK2/source/gtktoggletoolbutton.pre:1.2
Rev: src/post_modules/GTK2/source/gtktoolbar.pre:1.2
Rev: src/post_modules/GTK2/source/gtktoolbutton.pre:1.2
Rev: src/post_modules/GTK2/source/gtktoolitem.pre:1.2
Rev: src/post_modules/GTK2/source/gtktreeiter.pre:1.2
Rev: src/post_modules/GTK2/source/gtktreemodel.inc:1.2
Rev: src/post_modules/GTK2/source/gtktreepath.pre:1.2
Rev: src/post_modules/GTK2/source/gtktreerowreference.pre:1.2
Rev: src/post_modules/GTK2/source/gtktreeselection.pre:1.5
Rev: src/post_modules/GTK2/source/gtktreesortable.inc:1.2
Rev: src/post_modules/GTK2/source/gtktreestore.pre:1.2
Rev: src/post_modules/GTK2/source/gtktreeview.pre:1.2
Rev: src/post_modules/GTK2/source/gtktreeviewcolumn.pre:1.2
Rev: src/post_modules/GTK2/source/gtkuimanager.pre:1.2
Rev: src/post_modules/GTK2/source/gtkvbox.pre:1.2
Rev: src/post_modules/GTK2/source/gtkvbuttonbox.pre:1.2
Rev: src/post_modules/GTK2/source/gtkviewport.pre:1.2
Rev: src/post_modules/GTK2/source/gtkvpaned.pre:1.2
Rev: src/post_modules/GTK2/source/gtkvscale.pre:1.2
Rev: src/post_modules/GTK2/source/gtkvscrollbar.pre:1.2
Rev: src/post_modules/GTK2/source/gtkvseparator.pre:1.2
Rev: src/post_modules/GTK2/source/gtkwidget.pre:1.2
Rev: src/post_modules/GTK2/source/gtkwindow.pre:1.2
Rev: src/post_modules/GTK2/source/pangoattrlist.pre:1.2
Rev: src/post_modules/GTK2/source/pangocontext.pre:1.2
Rev: src/post_modules/GTK2/source/pangofontdescription.pre:1.2
Rev: src/post_modules/GTK2/source/pangolayout.pre:1.2
Rev: src/post_modules/GTK2/source/pangolayoutiter.pre:1.2
Rev: src/post_modules/GTK2/source/pangolayoutline.pre:1.2
Rev: src/post_modules/GTK2/source/support.c:1.2

177:   */   endrequire;    + require gnome_vfs; + void gnome_vfs_init() + //! Initialize gnome-vfs. Usually done automatically by gnome_init(). + { +  gnome_vfs_init(); + } + endrequire; +    %{   static gchar **get_argv( int *argc_ret, int an )   {
290:   //! You can return -1 from main in pike to run GTK (and the rest of   //! pike) in asynchronous mode.   { +  my_pop_n_elems(args);    gtk_main();   }      void main_quit()   //! Exit from the gtk_main function on the next iteration.   { -  +  my_pop_n_elems(args);    gtk_main_quit();   }      int main_level()   //! Return the current recursion depth.   { -  +  my_pop_n_elems(args);    push_int( gtk_main_level() );   }   
311:   {    INT_TYPE n;    get_all_args( "gtk_main_iteration_do", args, "%i", &n ); +  my_pop_n_elems(args);    push_int( g_main_iteration( n ) );   }      int true()   //! Always returns true.   { -  +  my_pop_n_elems(args);    push_int(1);   }      int false()   //! Always returns false.   { -  +  my_pop_n_elems(args);    push_int(0);   }   
366:   //! This is a low-level X11 function, and thus only works when GDK uses X11   {    int interval, prefer_blank, allow_exp; +  my_pop_n_elems(args);    XGetScreenSaver(GDK_DISPLAY(),    &timeout_save, &interval, &prefer_blank, &allow_exp);    if (timeout_save)
386:   //! Enable the screensaver again after @[saver_disable] has been called.   //! This is a low-level X11 function, and thus only works when GDK uses X11.   { +  my_pop_n_elems(args);    if( timeout_save )    {    int dummy, interval, prefer_blank, allow_exp;
414:   {    INT_TYPE x, y;    get_all_args( "move_cursor", args, "%i%i", &x, &y ); -  +  my_pop_n_elems(args);    XWarpPointer( GDK_DISPLAY(), None, None, 0, 0, 0, 0, x, y );   }   
433:    if( !priv )    Pike_error("No window specified!\n");    XWarpPointer(GDK_DISPLAY(),None,priv->xwindow,0,0,0,0,x,y); +  my_pop_n_elems(args);   }      endrequire; /* x11 */
522:    int width,height;       get_all_args("get_file_info",args,"%s",&filename); -  my_pop_n_elems(args); +     gpf=gdk_pixbuf_get_file_info(filename,&width,&height); -  +  my_pop_n_elems(args);    k=0; -  +     push_text("name");    push_text(gdk_pixbuf_format_get_name(gpf));    k++;
594:   {    struct object *o1;    get_all_args("set_default_icon",args,"%o",&o1); -  my_pop_n_elems(args); +     gtk_window_set_default_icon(GDK_PIXBUF(get_gobject(o1))); -  +  my_pop_n_elems(args);   }   endrequire;   
606:   {    struct svalue *sv;    get_all_args("set_default_icon_from_file",args,"%*",&sv); -  my_pop_n_elems(args); +     gtk_window_set_default_icon_from_file(PGTK_GETSTR(sv),NULL); -  +  my_pop_n_elems(args);   }   endrequire;   
636:    GList *gl=gtk_window_list_toplevels();    GList *g2=gl;    int i=0; +  my_pop_n_elems(args);    while (g2) {    push_gobject(g2->data);    i++;
651:    GList *gl=gtk_window_get_default_icon_list();    GList *g2=gl;    int i=0; +  my_pop_n_elems(args);    while (g2) {    push_gobject(g2->data);    g_object_ref(GDK_PIXBUF(g2->data));