Re: signal with class offset , but never used in nautilus_file and nautilus_directory
- From: Emmanuele Bassi <ebassi gmail com>
- To: nautilus-list gnome org
- Subject: Re: signal with class offset , but never used in nautilus_file and nautilus_directory
- Date: Thu, 27 May 2010 11:13:31 +0100
On Thu, 2010-05-27 at 12:24 +0800, gachen gachen wrote:
> the problem is that these class functions are not implemented at
> all...
it doesn't matter: if the function pointer is NULL then they won't be
invoked. the function pointer is there for sub-classing and overriding
the default behaviour[0].
ciao,
Emmanuele.
[0] which could still be done by passing 0 to the offset for the class
handler, and then using the GSignal API to override that; function
pointers in the class vtable are usually easier to override, though.
--
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]