![](https://secure.gravatar.com/avatar/15f5e6abf26f57e1838c29a8356ce7f8.jpg?s=120&d=mm&r=g)
Looking at the roadmap of 0.46 I found:
* (DONE) Convert use of gboolean to bool where feasible * (DONE) Switch from use of TRUE/FALSE to true/false
When I search the source, I see *a lot* of gboolean and TRUE/FALSE. I will start switching code to bool when i see it.
I could not find a text saying that we should use bool or gboolean. Similar issue is 'char' or 'gchar'.
Where can I read which types to use?
Thanks! Johan
![](https://secure.gravatar.com/avatar/bb65b6b3a109d97cf9f8d6c014ede042.jpg?s=120&d=mm&r=g)
On 10/24/07, J.B.C.Engelen@...1578... <J.B.C.Engelen@...1578...> wrote:
Looking at the roadmap of 0.46 I found:
- (DONE) Convert use of gboolean to bool where feasible
- (DONE) Switch from use of TRUE/FALSE to true/false
When I search the source, I see *a lot* of gboolean and TRUE/FALSE. I will start switching code to bool when i see it.
This was attempted and (partially?) rolled back, because it broke GTK calls which require gbooleans.
![](https://secure.gravatar.com/avatar/160c5ee6b3c8bb183d06835a7845fa8a.jpg?s=120&d=mm&r=g)
On Wed, 24 Oct 2007 17:45:24 +0200 J.B.C.Engelen@...1578... wrote:
Looking at the roadmap of 0.46 I found:
- (DONE) Convert use of gboolean to bool where feasible
- (DONE) Switch from use of TRUE/FALSE to true/false
When I search the source, I see *a lot* of gboolean and TRUE/FALSE. I will start switching code to bool when i see it.
I could not find a text saying that we should use bool or gboolean. Similar issue is 'char' or 'gchar'.
Since inksacpe is based on GTK, may I ask why to don't use the glib-types anymore?
Frank
participants (4)
-
unknown@example.com
-
Aaron Spike
-
bulia byak
-
Frank Lanitz