Re: Typo on gobject file ?
- From: Keith Maika <keithm aoeex com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Typo on gobject file ?
- Date: Thu, 03 Jun 2004 22:26:44 -0600
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)
1421 signal_spec += 12;
Is that a typo on the if statement, or am I missing something in here .
Please let me know so we can file a <bug ?>
Well, I'm not really that good with Gtk, nor do I have much experience,
but my guess would be that the code is simply to allow either a - or a _
as a word separator in the signal name? In the examples I've looked at
while learning gtk, I remember places (even in postings on this list)
where some people use -, and others use _ to separate signal names.
I've never actually tried using both, but it seems that both separators
work equally well.
http://kicken.mine.nu:8008/ - Personal Site.
http://wiser.kicks-ass.org:8008/ - Long-term Project.
http://www.fsf.org/philosophy/can-you-trust.html - Can you trust your
http://www.fsf.org/philosophy/no-word-attachments.html - Support Free
] [Thread Prev