2007/6/13, Paolo Maggi <[EMAIL PROTECTED]>: > Hi, > > why do gtk_builder_add_from_file and gtk_builder_add_from_string return > a guint instead of a gboolean? > > If the positive number returned on success has a special meaning it > should be documented, otherwise I think it is better to use a gboolean > like you do in gtk_builder_value_from_string and other functions.
It is intended to allow UIManager-style merging and unmerging of UI descriptions (in the future). -- Kalle Vahlman, [EMAIL PROTECTED] Powered by http://movial.fi Interesting stuff at http://syslog.movial.fi _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list