[Bug 177] libmokoui widget functions should return GtkWidget

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Tue Feb 13 16:06:16 CET 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=177





------- Additional Comments From ross at openedhand.com  2007-02-13 16:06 -------
Several reasons:

1) principle of common denominator.  You always have to cast widgets to the
correct type when using them, so you may as well store everything in the base
type and cast into specific instances as required, rather than storing in a
specific type and casting up into the generic types.

2) it is the style used by all of GTK+, and all of GNOME.  libmokoui could be
different, but at some point you'll get a patch "cleaning up" the library which
will do this.



------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.




More information about the buglog mailing list