Branch: Tag:

2006-02-27

2006-02-27 12:23:19 by Martin Stjernholm <mast@lysator.liu.se>

Properly (hopefully) fixed naming to not conflict with the GTK module.

Rev: src/post_modules/GTK2/build_pgtk.pike:1.11
Rev: src/post_modules/GTK2/output/split.pike:1.10
Rev: src/post_modules/GTK2/output/util.pike:1.3
Rev: src/post_modules/GTK2/pgtk.h:1.14
Rev: src/post_modules/GTK2/pgtk2_symbol_remap.h:1.5(DEAD)
Rev: src/post_modules/GTK2/source/common_draw.inc:1.6
Rev: src/post_modules/GTK2/source/encode_truecolor.c:1.3
Rev: src/post_modules/GTK2/source/gdkatom.pre:1.3
Rev: src/post_modules/GTK2/source/gdkbitmap.pre:1.6
Rev: src/post_modules/GTK2/source/gdkcolor.pre:1.4
Rev: src/post_modules/GTK2/source/gdkdisplay.pre:1.5
Rev: src/post_modules/GTK2/source/gdkdragcontext.pre:1.4
Rev: src/post_modules/GTK2/source/gdkdrawable.pre:1.5
Rev: src/post_modules/GTK2/source/gdkevent.pre:1.7
Rev: src/post_modules/GTK2/source/gdkgc.pre:1.6
Rev: src/post_modules/GTK2/source/gdkimage.pre:1.3
Rev: src/post_modules/GTK2/source/gdkpixbuf.pre:1.14
Rev: src/post_modules/GTK2/source/gdkpixbufanimation.pre:1.5
Rev: src/post_modules/GTK2/source/gdkpixbufanimationiter.pre:1.5
Rev: src/post_modules/GTK2/source/gdkpixmap.pre:1.4
Rev: src/post_modules/GTK2/source/gdkrectangle.pre:1.7
Rev: src/post_modules/GTK2/source/gdkregion.pre:1.3
Rev: src/post_modules/GTK2/source/gdkwindow.pre:1.6
Rev: src/post_modules/GTK2/source/gladexml.pre:1.7
Rev: src/post_modules/GTK2/source/global.pre:1.12
Rev: src/post_modules/GTK2/source/gnome/gnomeapp.pre:1.2
Rev: src/post_modules/GTK2/source/gnome/gnomecanvas.pre:1.3
Rev: src/post_modules/GTK2/source/gnome/gnomecanvasgroup.pre:1.3
Rev: src/post_modules/GTK2/source/gnome/gnomecanvasitem.pre:1.3
Rev: src/post_modules/GTK2/source/gnome/gnomecanvasline.pre:1.3
Rev: src/post_modules/GTK2/source/gnome/gnomedialog.pre:1.3
Rev: src/post_modules/GTK2/source/gnome/gnomemessagebox.pre:1.3
Rev: src/post_modules/GTK2/source/gnomecanvas.pre:1.6
Rev: src/post_modules/GTK2/source/gnomeclient.pre:1.5
Rev: src/post_modules/GTK2/source/gnomedruidpageedge.pre:1.7
Rev: src/post_modules/GTK2/source/gnomedruidpagestandard.pre:1.7
Rev: src/post_modules/GTK2/source/gobject.pre:1.6
Rev: src/post_modules/GTK2/source/gtkaboutdialog.pre:1.6
Rev: src/post_modules/GTK2/source/gtkaccelgroup.pre:1.4
Rev: src/post_modules/GTK2/source/gtkaccellabel.pre:1.4
Rev: src/post_modules/GTK2/source/gtkaction.pre:1.6
Rev: src/post_modules/GTK2/source/gtkactiongroup.pre:1.5
Rev: src/post_modules/GTK2/source/gtkadjustment.pre:1.5
Rev: src/post_modules/GTK2/source/gtkalignment.pre:1.4
Rev: src/post_modules/GTK2/source/gtkarrow.pre:1.5
Rev: src/post_modules/GTK2/source/gtkaspectframe.pre:1.7
Rev: src/post_modules/GTK2/source/gtkbox.pre:1.4
Rev: src/post_modules/GTK2/source/gtkbutton.pre:1.10
Rev: src/post_modules/GTK2/source/gtkcalendar.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcelleditable.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcellrenderer.pre:1.7
Rev: src/post_modules/GTK2/source/gtkcellrenderercombo.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcellrendererpixbuf.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcellrendererprogress.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcellrenderertext.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcellrenderertoggle.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcellview.pre:1.9
Rev: src/post_modules/GTK2/source/gtkcheckbutton.pre:1.7
Rev: src/post_modules/GTK2/source/gtkcheckmenuitem.pre:1.6
Rev: src/post_modules/GTK2/source/gtkclipboard.pre:1.3
Rev: src/post_modules/GTK2/source/gtkcolorbutton.pre:1.8
Rev: src/post_modules/GTK2/source/gtkcolorselection.pre:1.8
Rev: src/post_modules/GTK2/source/gtkcolorselectiondialog.pre:1.6
Rev: src/post_modules/GTK2/source/gtkcombobox.pre:1.6
Rev: src/post_modules/GTK2/source/gtkcomboboxentry.pre:1.6
Rev: src/post_modules/GTK2/source/gtkcontainer.pre:1.4
Rev: src/post_modules/GTK2/source/gtkdatabox.pre:1.8
Rev: src/post_modules/GTK2/source/gtkdialog.pre:1.4
Rev: src/post_modules/GTK2/source/gtkdrawingarea.pre:1.4
Rev: src/post_modules/GTK2/source/gtkeditable.pre:1.2
Rev: src/post_modules/GTK2/source/gtkentry.pre:1.7
Rev: src/post_modules/GTK2/source/gtkentrycompletion.pre:1.7
Rev: src/post_modules/GTK2/source/gtkeventbox.pre:1.4
Rev: src/post_modules/GTK2/source/gtkexpander.pre:1.6
Rev: src/post_modules/GTK2/source/gtkfilechooser.pre:1.3
Rev: src/post_modules/GTK2/source/gtkfilechooserbutton.pre:1.7
Rev: src/post_modules/GTK2/source/gtkfilechooserdialog.pre:1.10
Rev: src/post_modules/GTK2/source/gtkfilechooserwidget.pre:1.6
Rev: src/post_modules/GTK2/source/gtkfileselection.pre:1.6
Rev: src/post_modules/GTK2/source/gtkfixed.pre:1.5
Rev: src/post_modules/GTK2/source/gtkfontbutton.pre:1.4
Rev: src/post_modules/GTK2/source/gtkfontselection.pre:1.4
Rev: src/post_modules/GTK2/source/gtkfontselectiondialog.pre:1.6
Rev: src/post_modules/GTK2/source/gtkframe.pre:1.7
Rev: src/post_modules/GTK2/source/gtkhandlebox.pre:1.4
Rev: src/post_modules/GTK2/source/gtkhbox.pre:1.5
Rev: src/post_modules/GTK2/source/gtkhbuttonbox.pre:1.4
Rev: src/post_modules/GTK2/source/gtkhpaned.pre:1.4
Rev: src/post_modules/GTK2/source/gtkhscale.pre:1.5
Rev: src/post_modules/GTK2/source/gtkhscrollbar.pre:1.6
Rev: src/post_modules/GTK2/source/gtkhseparator.pre:1.4
Rev: src/post_modules/GTK2/source/gtkiconfactory.pre:1.4
Rev: src/post_modules/GTK2/source/gtkiconinfo.pre:1.4
Rev: src/post_modules/GTK2/source/gtkiconset.pre:1.5
Rev: src/post_modules/GTK2/source/gtkiconsize.pre:1.5
Rev: src/post_modules/GTK2/source/gtkiconsource.pre:1.5
Rev: src/post_modules/GTK2/source/gtkicontheme.pre:1.5
Rev: src/post_modules/GTK2/source/gtkiconview.pre:1.5
Rev: src/post_modules/GTK2/source/gtkimage.pre:1.7
Rev: src/post_modules/GTK2/source/gtkimagemenuitem.pre:1.6
Rev: src/post_modules/GTK2/source/gtkinvisible.pre:1.4
Rev: src/post_modules/GTK2/source/gtkkeywordlisttag.pre:1.4
Rev: src/post_modules/GTK2/source/gtklabel.pre:1.7
Rev: src/post_modules/GTK2/source/gtklayout.pre:1.5
Rev: src/post_modules/GTK2/source/gtkliststore.pre:1.13
Rev: src/post_modules/GTK2/source/gtkmenu.pre:1.3
Rev: src/post_modules/GTK2/source/gtkmenubar.pre:1.5
Rev: src/post_modules/GTK2/source/gtkmenuitem.pre:1.7
Rev: src/post_modules/GTK2/source/gtkmenushell.pre:1.4
Rev: src/post_modules/GTK2/source/gtkmenutoolbutton.pre:1.5
Rev: src/post_modules/GTK2/source/gtkmessagedialog.pre:1.2
Rev: src/post_modules/GTK2/source/gtkmisc.pre:1.5
Rev: src/post_modules/GTK2/source/gtknotebook.pre:1.5
Rev: src/post_modules/GTK2/source/gtkobject.pre:1.2
Rev: src/post_modules/GTK2/source/gtkplug.pre:1.5
Rev: src/post_modules/GTK2/source/gtkprogressbar.pre:1.5
Rev: src/post_modules/GTK2/source/gtkradioaction.pre:1.7
Rev: src/post_modules/GTK2/source/gtkradiobutton.pre:1.8
Rev: src/post_modules/GTK2/source/gtkradiomenuitem.pre:1.5
Rev: src/post_modules/GTK2/source/gtkradiotoolbutton.pre:1.4
Rev: src/post_modules/GTK2/source/gtkrcstyle.pre:1.4
Rev: src/post_modules/GTK2/source/gtkscale.pre:1.4
Rev: src/post_modules/GTK2/source/gtkscrolledwindow.pre:1.7
Rev: src/post_modules/GTK2/source/gtkseparatormenuitem.pre:1.4
Rev: src/post_modules/GTK2/source/gtkseparatortoolitem.pre:1.4
Rev: src/post_modules/GTK2/source/gtksettings.pre:1.4
Rev: src/post_modules/GTK2/source/gtksizegroup.pre:1.5
Rev: src/post_modules/GTK2/source/gtksocket.pre:1.4
Rev: src/post_modules/GTK2/source/gtksourcebuffer.pre:1.5
Rev: src/post_modules/GTK2/source/gtksourceiter.pre:1.5
Rev: src/post_modules/GTK2/source/gtksourcelanguage.pre:1.7
Rev: src/post_modules/GTK2/source/gtksourcelanguagesmanager.pre:1.5
Rev: src/post_modules/GTK2/source/gtksourceprintjob.pre:1.6
Rev: src/post_modules/GTK2/source/gtksourcestylescheme.pre:1.5
Rev: src/post_modules/GTK2/source/gtksourcetag.pre:1.6
Rev: src/post_modules/GTK2/source/gtksourcetagtable.pre:1.3
Rev: src/post_modules/GTK2/source/gtksourceview.pre:1.3
Rev: src/post_modules/GTK2/source/gtkspinbutton.pre:1.7
Rev: src/post_modules/GTK2/source/gtkstatusbar.pre:1.4
Rev: src/post_modules/GTK2/source/gtkstyle.pre:1.5
Rev: src/post_modules/GTK2/source/gtktable.pre:1.5
Rev: src/post_modules/GTK2/source/gtktearoffmenuitem.pre:1.4
Rev: src/post_modules/GTK2/source/gtktextattributes.pre:1.5
Rev: src/post_modules/GTK2/source/gtktextbuffer.pre:1.9
Rev: src/post_modules/GTK2/source/gtktextchildanchor.pre:1.3
Rev: src/post_modules/GTK2/source/gtktextiter.pre:1.8
Rev: src/post_modules/GTK2/source/gtktextmark.pre:1.5
Rev: src/post_modules/GTK2/source/gtktexttag.pre:1.4
Rev: src/post_modules/GTK2/source/gtktextview.pre:1.7
Rev: src/post_modules/GTK2/source/gtktoggleaction.pre:1.4
Rev: src/post_modules/GTK2/source/gtktogglebutton.pre:1.6
Rev: src/post_modules/GTK2/source/gtktoggletoolbutton.pre:1.4
Rev: src/post_modules/GTK2/source/gtktoolbar.pre:1.5
Rev: src/post_modules/GTK2/source/gtktoolbutton.pre:1.5
Rev: src/post_modules/GTK2/source/gtktoolitem.pre:1.4
Rev: src/post_modules/GTK2/source/gtktreedragdest.pre:1.2
Rev: src/post_modules/GTK2/source/gtktreedragsource.pre:1.2
Rev: src/post_modules/GTK2/source/gtktreeiter.pre:1.4
Rev: src/post_modules/GTK2/source/gtktreemodel.pre:1.4
Rev: src/post_modules/GTK2/source/gtktreepath.pre:1.6
Rev: src/post_modules/GTK2/source/gtktreerowreference.pre:1.5
Rev: src/post_modules/GTK2/source/gtktreeselection.pre:1.7
Rev: src/post_modules/GTK2/source/gtktreesortable.pre:1.2
Rev: src/post_modules/GTK2/source/gtktreestore.pre:1.12
Rev: src/post_modules/GTK2/source/gtktreeview.pre:1.7
Rev: src/post_modules/GTK2/source/gtktreeviewcolumn.pre:1.8
Rev: src/post_modules/GTK2/source/gtkuimanager.pre:1.5
Rev: src/post_modules/GTK2/source/gtkvbox.pre:1.5
Rev: src/post_modules/GTK2/source/gtkvbuttonbox.pre:1.4
Rev: src/post_modules/GTK2/source/gtkviewport.pre:1.5
Rev: src/post_modules/GTK2/source/gtkvpaned.pre:1.4
Rev: src/post_modules/GTK2/source/gtkvscale.pre:1.4
Rev: src/post_modules/GTK2/source/gtkvscrollbar.pre:1.6
Rev: src/post_modules/GTK2/source/gtkvseparator.pre:1.4
Rev: src/post_modules/GTK2/source/gtkwidget.pre:1.10
Rev: src/post_modules/GTK2/source/gtkwindow.pre:1.7
Rev: src/post_modules/GTK2/source/pangoattrlist.pre:1.5
Rev: src/post_modules/GTK2/source/pangocontext.pre:1.5
Rev: src/post_modules/GTK2/source/pangofontdescription.pre:1.6
Rev: src/post_modules/GTK2/source/pangolayout.pre:1.7
Rev: src/post_modules/GTK2/source/pangolayoutiter.pre:1.5
Rev: src/post_modules/GTK2/source/pangolayoutline.pre:1.6
Rev: src/post_modules/GTK2/source/pangotabarray.pre:1.5
Rev: src/post_modules/GTK2/source/support.c:1.11

11:   #endif   /* The main stuff.. */    - int pigtk_is_setup = 0, gnome_is_setup = 0; + int pgtk2_is_setup = 0, pgnome2_is_setup = 0;   /* Not used in this file, really, but we need the require    * 'preprocessor' stuff..    */    - int IS_OBJECT_PROGRAM(struct program *X) + int pgtk2_is_object_program(struct program *X)   {   #ifdef GTK_TYPE_TEXT_ITER -  if ((X)==pgtk_text_iter_program) +  if ((X)==pgtk2_text_iter_program)    return 0;   #endif   #ifdef PANGO_TYPE_TAB_ARRAY -  if ((X)==ppango_tab_array_program) +  if ((X)==ppango2_tab_array_program)    return 0;   #endif   #ifdef GTK_TYPE_TEXT_ATTRIBUTES -  if ((X)==pgtk_text_attributes_program) +  if ((X)==pgtk2_text_attributes_program)    return 0;   #endif   #ifdef GTK_TYPE_TREE_ITER -  if ((X)==pgtk_tree_iter_program) +  if ((X)==pgtk2_tree_iter_program)    return 0;   #endif   #ifdef PANGO_TYPE_ATTR_LIST -  if ((X)==ppango_attr_list_program) +  if ((X)==ppango2_attr_list_program)    return 0;   #endif   #ifdef GTK_TYPE_TREE_PATH -  if ((X)==pgtk_tree_path_program) +  if ((X)==pgtk2_tree_path_program)    return 0;   #endif   #ifdef PANGO_TYPE_FONT_DESCRIPTION -  if ((X)==ppango_font_description_program) +  if ((X)==ppango2_font_description_program)    return 0;   #endif    return 1;
76:    char *s;    get_all_args("parse_rc",args,"%s",&s);    gtk_rc_parse_string(s); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    push_int(0);   /* gtk_widget_propagate_default_style(); */   }
85:   //! Returns the root window of the current display   {    static struct object *_pgtk_root_window; -  my_pop_n_elems( args ); +  pgtk2_pop_n_elems( args );    if(_pgtk_root_window && _pgtk_root_window->prog )    {    ref_push_object( _pgtk_root_window );    return;    } else if( _pgtk_root_window )    free_object( _pgtk_root_window ); -  _pgtk_root_window = low_clone( pgdk_window_program ); +  _pgtk_root_window = low_clone( pgdk2_window_program );    call_c_initializers( _pgtk_root_window );    /* ugly...*/   #ifdef GDK_ROOT_PARENT
128:    gint argc;    INT_TYPE flags=0;    -  if( pigtk_is_setup ) +  if( pgtk2_is_setup )    Pike_error( "You should only call GTK2.setup_gtk() or Gnome.init() once\n");       switch( args )
145:    vers = PGTK_GETSTR( Pike_sp-args+1 );    data = get_argv( &argc, args-2 );    } -  gnome_is_setup = 1; -  pigtk_is_setup = 1; +  pgnome2_is_setup = 1; +  pgtk2_is_setup = 1;       gtk_set_locale();   
159:       backend_cb = (void *)add_backend_callback( backend_callback, 0, 0);    -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    push_and_free_argv( data, argc, 1 );   }   
242:    gchar **data;    int argc;    -  if (pigtk_is_setup) +  if (pgtk2_is_setup)    Pike_error("You should only call GTK2.setup_gtk() or Gnome.init() once\n");       if (args)
254:    data[0]=g_strdup("Pike GTK");    argc=1;    } -  pigtk_is_setup=1; +  pgtk2_is_setup=1;    gtk_set_locale();    gtk_init(&argc,&data);    g_type_init();       backend_cb=(void *)add_backend_callback(backend_callback,0,0); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    push_and_free_argv(data,argc,0);   }   
269:   {    gdk_flush();    while(g_main_iteration( 0 ) ); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    push_int(0);   }   
281:   #else    gdk_flush();   #endif -  my_pop_n_elems( args ); +  pgtk2_pop_n_elems( args );    push_int( 0 );   }   
290:   //! This function is more or less equivalent to the C-GTK+ function gtk_init.   //! setup_gtk does some extra things (such as parsing ~/.pgtkrc).   { -  pgtk_setup_gtk( args ); +  pgtk2_setup_gtk( args );   }      
300:   //! You can return -1 from main in pike to run GTK (and the rest of   //! pike) in asynchronous mode.   { -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    gtk_main();   }      void main_quit()   //! Exit from the gtk_main function on the next iteration.   { -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    gtk_main_quit();   }      int main_level()   //! Return the current recursion depth.   { -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    push_int( gtk_main_level() );   }   
324:   {    INT_TYPE n;    get_all_args( "gtk_main_iteration_do", args, "%i", &n ); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    push_int( g_main_iteration( n ) );   }      int true()   //! Always returns true.   { -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    push_int(1);   }      int false()   //! Always returns false.   { -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    push_int(0);   }   
348:    struct object *o;    get_all_args("gtk_grab_add",args,"%o",&o);    gtk_grab_add(GTK_WIDGET(get_gobject(o))); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);   }      void grab_remove(GTK2.Widget widget)
357:    struct object *o;    get_all_args("gtk_grab_remove",args,"%o",&o);    gtk_grab_remove(GTK_WIDGET(get_gobject(o))); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);   }      
382:   //! 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); +  pgtk2_pop_n_elems(args);    XGetScreenSaver(GDK_DISPLAY(),    &timeout_save, &interval, &prefer_blank, &allow_exp);    if (timeout_save)
403:   //! 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); +  pgtk2_pop_n_elems(args);    if( timeout_save )    {    int dummy, interval, prefer_blank, allow_exp;
432:   {    INT_TYPE x, y;    get_all_args( "move_cursor", args, "%i%i", &x, &y ); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    XWarpPointer( GDK_DISPLAY(), None, None, 0, 0, 0, 0, x, y );   }   
451:    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); +  pgtk2_pop_n_elems(args);   }      endrequire; /* x11 */
463:    GSList *gsl,*gs2;    gchar **gca;    int i=0,j,k; -  pgtk_verify_setup(); -  my_pop_n_elems(args); +  pgtk2_verify_setup(); +  pgtk2_pop_n_elems(args);    gs2=gsl=gdk_pixbuf_get_formats();    while (gs2) {    i++;
542:       get_all_args("get_file_info",args,"%s",&filename);    gpf=gdk_pixbuf_get_file_info(filename,&width,&height); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    k=0;       ref_push_string(_STR("name"));
615:    struct object *o1;    get_all_args("set_default_icon",args,"%o",&o1);    gtk_window_set_default_icon(GDK_PIXBUF(get_gobject(o1))); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);   }   endrequire;   
628:    get_all_args("set_default_icon_from_file",args,"%*",&sv);       gtk_window_set_default_icon_from_file(PGTK_GETSTR(sv),NULL); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);   }   endrequire;   
641:    char *s;    get_all_args("set_default_icon_name",args,"%s",&s);    gtk_window_set_default_icon_name(s); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);   }   endrequire;   
651:    GList *gl=gtk_window_list_toplevels();    GList *g2=gl;    int i=0; -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    while (g2) {    push_gobject(g2->data);    i++;
667:    GList *gl=gtk_window_get_default_icon_list();    GList *g2=gl;    int i=0; -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    while (g2) {    push_gobject(g2->data);    g_object_ref(GDK_PIXBUF(g2->data));
702:    gtk_window_set_default_icon_list(gl);    g_list_free(gl);    } -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);   }      require gtk24;
717:    gp=GDK_PIXBUF(get_gobject(o1));    if (gp)    gtk_window_set_default_icon(gp); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);   }   endrequire;   
733:    res=gtk_window_set_default_icon_from_file(filename,&err);    if (!res)    Pike_error("Unable to set icon from file %s: %s\n",filename,err->message); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);   }   endrequire;   
751:    gtk_window_set_default_icon_name(CGSTR0(Pike_sp[-1].u.string));    pop_stack();    } -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);   }   endrequire;   
760:   //! Gets the icon theme.   {    GtkIconTheme *git=gtk_icon_theme_get_default(); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    push_gobject(git);   }   
774:   //! In general, if you use add_builtin_icon() you should also install the icon   //! in the icon theme, so that the icon is generally available.   { -  pgtk_verify_inited(); +  pgtk2_verify_inited();    {    char *name;    INT_TYPE size;
782:    get_all_args("add_builtin_icon",args,"%s%i%o",&name,&size,&o1);    gtk_icon_theme_add_builtin_icon(name,size,GDK_PIXBUF(get_gobject(o1)));    } -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);   }   endrequire;   
802:       get_all_args("set_auto_startup_notification",args,"%i",&set);    gtk_window_set_auto_startup_notification(set); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);   }   endrequire;