Re-re hi,

in _wrap_gnome_mdi_generic_child_set_menu_creator, shouldn't
PyGtk_CallbackMarshal be replaced with a specific marshaller ? The callback
is expected to return a list, and the Gtk return type is GTK_TYPE_OBJECT,
hence the current mismatch...

Before testing this, you actually need to fix a bug in gnome-libs (fixed in
CVS):

Index: gnome-mdi-generic-child.c
===================================================================
RCS file: /cvs/gnome/gnome-libs/libgnomeui/gnome-mdi-generic-child.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- gnome-mdi-generic-child.c   1999/08/23 16:01:48     1.7
+++ gnome-mdi-generic-child.c   2000/02/21 10:29:29     1.8
@@ -356,7 +356,7 @@
                GTK_VALUE_OBJECT(args[0]) = GTK_OBJECT(child);
                args[1].name = NULL;
                args[1].type = gtk_widget_get_type();
-               GTK_VALUE_OBJECT(args[0]) = GTK_OBJECT(view);
+               GTK_VALUE_OBJECT(args[1]) = GTK_OBJECT(view);
                args[2].name = NULL;
                args[2].type = GTK_TYPE_POINTER; /* should we have a boxed type? */
                GTK_VALUE_POINTER(args[2]) = &ret;


Fr�d�ric
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to