Re: is this good code?
- From: "Dr. Michael J. Chudobiak" <mjc avtechpulse com>
- To: Tristan Van Berkom <tvb gnome org>
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: is this good code?
- Date: Wed, 18 Mar 2009 12:31:08 -0400
Tristan Van Berkom wrote:
Anyway, I guess the question is: has all code tied to the set_active(true)
signal executed before the last line?
I dont know vala at all and I can tell you yes this code is perfectly safe,
assuming the signal is implemented as a GSignal, which is a pretty
safe assumption (someone will soon correct me if I'm wrong though ;-)).
Signals in GObject execute synchronously so nothing to worry about.
Thanks, that's exactly what I needed to know!
- Mike
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]