GNOME Bugzilla – Bug 774086
[PATCH] fix g_main_context_check declaration
Last modified: 2016-11-09 16:13:44 UTC
Created attachment 339299 [details] [review] gmain: fix g_main_context_check declaration g_main_context_check is defined as a function returning gboolean. It should be declared as such.
Review of attachment 339299 [details] [review]: LGTM. Shouldn't be an API/ABI issue since it's just a typedef. With things like this I usually prefer to know - *why* are you changing this? Did you just happen to be reading the code? Did some static analysis tool flag it?
Attachment 339299 [details] pushed as 4607bd3 - gmain: fix g_main_context_check declaration
(In reply to Colin Walters from comment #1) > With things like this I usually prefer to know - *why* are you > changing this? Did you just happen to be reading the code? > Did some static analysis tool flag it? I was trying to typedef gboolean as _Bool (the true boolean), which is present in c99+. Anyway, it isn't as easy as I did anticipate, and surely it will break ABI.