diff -ru bonobo.orig/bonobo.defs bonobo/bonobo.defs
old
|
new
|
|
777 | 777 | (return-type "gboolean") |
778 | 778 | ) |
779 | 779 | |
780 | | (define-function setup_x_error_handler |
781 | | (c-name "bonobo_setup_x_error_handler") |
782 | | (return-type "none") |
783 | | ) |
784 | | |
785 | 780 | (define-function orb |
786 | 781 | (c-name "bonobo_orb") |
787 | 782 | (return-type "CORBA_ORB") |
diff -ru bonobo.orig/bonoboui.defs bonobo/bonoboui.defs
old
|
new
|
|
1502 | 1502 | ) |
1503 | 1503 | ) |
1504 | 1504 | |
1505 | | (define-function setup_x_error_handler |
1506 | | (c-name "bonobo_setup_x_error_handler") |
1507 | | (return-type "none") |
1508 | | ) |
1509 | | |
1510 | 1505 | (define-function debug_shutdown |
1511 | 1506 | (c-name "bonobo_ui_debug_shutdown") |
1512 | 1507 | (return-type "int") |
diff -ru bonobo.orig/bonobouimodule.c bonobo/bonobouimodule.c
old
|
new
|
|
25 | 25 | |
26 | 26 | init_pygtk(); |
27 | 27 | |
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 | | |
37 | 28 | pybonoboui_register_classes(d); |
38 | 29 | |
39 | 30 | /* add anything else to the module dictionary (such as constants) */ |