Re: testing for GType == 0



On 18 June 2016 at 17:53, Christoph Reiter <reiter christoph gmail com> wrote:
On Sat, Jun 18, 2016 at 6:23 PM,  <jcupitt gmail com> wrote:
What would be the best way to test the return value of image.get_type()
for invalid?

image.get_type() == GObject.TYPE_INVALID

Ah of course. I looked under GType and didn't see it. Thanks!

John


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]