Re: [PATCH] allow undef as argument in a few functions

2010-05-16 Thread Torsten Schoenfeld
On 13.05.2010 22:45, Quentin Sculo wrote: A few more I found, in particular, it removes the comment saying gtk_widget_get_toplevel may return undef, when in fact it can't : http://library.gnome.org/devel/gtk/stable/GtkWidget.html#gtk-widget-get-toplevel the second patch wrap a forgotten widget f

Re: [PATCH] allow undef as argument in a few functions

2010-05-13 Thread Quentin Sculo
A few more I found, in particular, it removes the comment saying gtk_widget_get_toplevel may return undef, when in fact it can't : http://library.gnome.org/devel/gtk/stable/GtkWidget.html#gtk-widget-get-toplevel the second patch wrap a forgotten widget function. Quentin >From 1b47b3bd628d76293a4d

Re: [PATCH] allow undef as argument in a few functions

2010-04-24 Thread Torsten Schoenfeld
On 23.04.2010 17:22, Quentin Sculo wrote: I was annoyed some time ago (but didn't report it) that $gdkwindow->draw_pixbuf didn't accept undef for the gc argument, even though the C function allows NULL [1], here's a fix, as well as a few similar cases I found. Committed. Thanks! __

[PATCH] allow undef as argument in a few functions

2010-04-23 Thread Quentin Sculo
Hi, I was annoyed some time ago (but didn't report it) that $gdkwindow->draw_pixbuf didn't accept undef for the gc argument, even though the C function allows NULL [1], here's a fix, as well as a few similar cases I found. I haven't looked at all functions, so there are most likely other cases. Don