>>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:

Andre> On Fri, Nov 19, 2004 at 02:28:25PM +0100, Juergen Spitzmueller
Andre> wrote:
>> The attached patch shuts up a few compiler warnings. John, please
>> have a look. I didn't test this very much.

Andre> Please use 'size_t' instead of 'unsigned' for vector
Andre> postitions. It's the 'proper' type, not only wrt to signedness,
Andre> but also wrt to size.

I am not sure about that. It seems to me that the types eventually
resolve to unsigned int:
http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeModel.html
http://www.gtkmm.org/gtkmm2/docs/reference/html/classGtk_1_1TreeNodeChildren.html

This kind of make sense for GUI elements. Who need 64bit ints there?

So if we have to use an abstract type, I'd use
Gtk::ListStore::Children::size_type, which is admittedly a bit wordy.

JMarc

Reply via email to