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

version» Context lines:

pike.git/src/post_modules/GTK2/source/global.pre:87:   //! Returns the root window of the current display   {    static struct object *_pgtk_root_window;    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( pgdk2_window_program ); -  call_c_initializers( _pgtk_root_window ); +  _pgtk_root_window = fast_clone_object( pgdk2_window_program );    /* ugly...*/   #ifdef GDK_ROOT_PARENT    ((struct object_wrapper *)_pgtk_root_window->storage)->obj=    (void *)GDK_ROOT_PARENT();   #else    ((struct object_wrapper *)_pgtk_root_window->storage)->obj=    (void *)&gdk_root_parent;   #endif    add_ref( _pgtk_root_window );    ref_push_object( _pgtk_root_window );