Message-ID: <420728AE.8090309 at rftp.com> Date: Mon, 07 Feb 2005 00:37:02 -0800 From: Robert Roessler Organization: Robert's High-performance Software MIME-Version: 1.0 To: "T. Kurt Bond" Cc: lablgtk at kaba.or.jp Subject: Re: Why does GtkTree.TreePath.prev not return bool? References: <16902.63209.563962.183621 at tkb.mpl.com> In-Reply-To: <16902.63209.563962.183621 at tkb.mpl.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit T. Kurt Bond wrote: > http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeModel.html#gtk-tree-path-prev > > says that gtk_tree_path_prev returns gboolean. Yes, and so does gtk/gtktreemodel.h... if you are specifically asking why gtk uses gboolean rather than bool, the usual reason why projects define types for commonly used vars, parameters and return values is to obtain the same size and representation for these objects when compiling on different software and/or hardware platforms (or at least try to). You can look at glib/gtypes.h to see many examples of this. If this wasn't the question you were asking, perhaps you could rephrase it? :) Robert Roessler robertr@rftp.com http://www.rftp.com