Re: signal with class offset , but never used in nautilus_file and nautilus_directory



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]