After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697196 - gtk_notebook_set_tab_reorderable boolean handling
gtk_notebook_set_tab_reorderable boolean handling
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkNotebook
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-04-03 16:52 UTC by Morten Welinder
Modified: 2013-04-25 00:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2013-04-03 16:52:25 UTC
If the reorderable argument of gtk_notebook_set_tab_reorderable
is, say, (gboolean)4 as it can happen with a flag test then the
code will treat it mostly like FALSE.

The code should normalize with

    reorderable = !!reorderable;

and avoid the == TRUE test.