Honestly I just do bool foo = my_gboolean == TRUE;
Seems the safest to me :)
Sent from my iPhone
On 17 Jul 2011, at 15:56, Sam Spilsbury <email address hidden> wrote:
> Yep, that's static_cast <gboolean> ((bool) false) == TRUE :) > > -- > https://code.launchpad.net/~njpatel/unity/nicer-glib-signals/+merge/67439 > You are the owner of lp:~njpatel/unity/nicer-glib-signals.
« Back to merge proposal
Honestly I just do bool foo = my_gboolean == TRUE;
Seems the safest to me :)
Sent from my iPhone
On 17 Jul 2011, at 15:56, Sam Spilsbury <email address hidden> wrote:
> Yep, that's static_cast <gboolean> ((bool) false) == TRUE :) /code.launchpad .net/~njpatel/ unity/nicer- glib-signals/ +merge/ 67439
>
> --
> https:/
> You are the owner of lp:~njpatel/unity/nicer-glib-signals.