Re: GtkBuilder Public API - Last call



Paolo Maggi wrote:
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.
GtkBuilder is currently not supporting unmerging/merging of interfaces,
but it might do in the future. I changed the api to return an integer
instead of a boolean to be able to support that feature without
adding a new API.

Johan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]