Change to gtksignal.h that would ease porting
- From: Darin Adler <darin bentspoon com>
- To: Gtk Developers <gtk-devel-list gnome org>
- Subject: Change to gtksignal.h that would ease porting
- Date: Tue, 30 Oct 2001 08:40:51 -0800
Since GCallback is defined as void (*)(void), but GtkSignalFunc was defined
as void (*)(...) in gtk 1.2.x, it would be nice if the deprecated macros in
gtksignal.h included a type cast. It does make things a bit less type safe,
on the one hand, but on the other hand it makes porting easier and people
shouldn't use these for new code.
Also, should GtkSignalFunc itself be deprecated, to be replaced by
GCallback?
And what about GtkArg? Is it replaced by GValue?
-- Darin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]