GNOME Bugzilla – Bug 613353
AccelLabel set_accel_widget() allow NULL
Last modified: 2010-03-31 16:57:08 UTC
Created attachment 156576 [details] [review] accept undef in set_accel_widget() I believe $accel_label->set_accel_widget can accept NULL for when there's no target widget. (Which is its default setting too I think.) Perhaps an _ornull per below. Should get_accel_widget have an _ornull on its return similarly? Or plain GtkWidget typemap already allows NULL in a return, so it doesn't matter ... The tedium of individually wrapped get/set_foo funcs, eh :-)
Thanks, committed. The _ornull on the getter is not stricly necessary since the outgoing typemap handles NULL gracefully. But when the doc generator sees the _ornull, it turns it into "or undef" in the POD signature, which is useful.