Re: fix for sorttab bug-no selecting at all possible(probably 64 bit issue)

Daniele Forsi <[email protected]> Fri, 15 Feb 2013 19:16:19 +0100
Newsgroups gmane.comp.ipod.gtkpod
Message-ID <CAN_we7M8znNUEjZu5y2a5a4rK7zzCprgMuaBA-zqwohD6HATmA@mail.gmail.com>
2013/2/15 Benno:

> The reason was the comparison of different sized(at least in 64 bit systems)
> unsigned types, that were set to "-1"
> 1)in _NormalSortTabPagePrivate
>   guint selection_changed_idle_id;
> 2)in _st_selection_changed()
>    gulong idleId

I committed your fix
http://sourceforge.net/mailarchive/message.php?msg_id=30490651

but now I think I misunderstood and I think I should revert it and
change idelId to guint instead because struct member
selection_changed_idle_id is assigned the return value from
gdk_threads_add_idle_full() which indeed is a guint. What do you
think?

-- 
Daniele Forsi

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb