Ticket #20612: bonobo.diff

File bonobo.diff, 1.5 KB (added by neric27@…, 15 years ago)

patch file to have bonobo.ui working with gtk +quartz

  • bonobo.defs

    diff -ru bonobo.orig/bonobo.defs bonobo/bonobo.defs
    old new  
    777777  (return-type "gboolean")
    778778)
    779779
    780 (define-function setup_x_error_handler
    781   (c-name "bonobo_setup_x_error_handler")
    782   (return-type "none")
    783 )
    784 
    785780(define-function orb
    786781  (c-name "bonobo_orb")
    787782  (return-type "CORBA_ORB")
  • bonoboui.defs

    diff -ru bonobo.orig/bonoboui.defs bonobo/bonoboui.defs
    old new  
    15021502  )
    15031503)
    15041504
    1505 (define-function setup_x_error_handler
    1506   (c-name "bonobo_setup_x_error_handler")
    1507   (return-type "none")
    1508 )
    1509 
    15101505(define-function debug_shutdown
    15111506  (c-name "bonobo_ui_debug_shutdown")
    15121507  (return-type "int")
  • bonobouimodule.c

    diff -ru bonobo.orig/bonobouimodule.c bonobo/bonobouimodule.c
    old new  
    2525
    2626    init_pygtk();
    2727
    28     /* we don't call bonobo_ui_init() here, as all it does is call
    29      * bonobo_init() (done by the bonobo module we import),
    30      * gnome_program_init() (meant to be done by the user), and
    31      * gtk_init() (done by the gtk module we import), and call
    32      * bonobo_setup_x_error_handler().  This last call is all that is
    33      * left. */
    34     bonobo_setup_x_error_handler();
    35 
    36 
    3728    pybonoboui_register_classes(d);
    3829
    3930    /* add anything else to the module dictionary (such as constants) */