Re: Typo on gobject file ?

 I will post it there -- I am afraid the socond string was suposed to be
something else... well, let us see.



--- Tristan Van Berkom <vantr touchtunes com> wrote:
Harring Figueiredo wrote:
Folks, I was browsing through the gobject file and I saw the fowllowing:
   1418       if (strncmp (signal_spec, "any_signal::", 12) == 0 ||
   1419           strncmp (signal_spec, "any-signal::", 12) == 0)
   1420         {
   1421           signal_spec += 12;


  Is that a typo on the if statement, or am I missing something in here .

    That is obviosly not what the programmer intended, although it may
not cause any malicious behaviour. Maybe your post would be more
appropriate on gtk-devel, it is possible that the code is recent enough
for the programmer in question to recognize their error (I personally
cant make heads or tails out of what was intended in the second string
comparison), if nobody knows, I assume the second comparison should
simply be removed.


gtk-app-devel-list mailing list
gtk-app-devel-list gnome org

Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger. 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]