[pygtk] Distinguish gtk and pygtk warnings
Baiju M
baijum81 at gmail.com
Mon Mar 7 21:59:28 WST 2005
> > Here is two warnings I get from our in house app,
> >gtk.idle_add is deprecation is imposed by gtk, and gtk.TRUE by pygtk, is it?
> >
> >
> No, both are deprecated by pygtk.
gtk_idle_add() is deprecated by gtk, and so pygtk deprecated gtk.idle_add()
gtk_true() is not deprecated by gtk, but pygtk deprecated gtk.TRUE.
>
> >Can you put the second one as PyGtkDeprecationWarning to distinguish
> >between these two warnings?
> >
> >
> Why?
Programmer can understant from which layer (gtk, libglade, pygtk) the
waring arose.
I don't know why he should know that :)
Regards,
Baiju M
More information about the pygtk
mailing list