undefined DROP_NOTIFY_EVENT in gtkwidget.c
- From: Tim Janik <Tim Janik Hamburg Netsurf DE>
- To: gtk-list redhat com
- cc: Elliot Lee <sopwith cuc edu>
- Subject: undefined DROP_NOTIFY_EVENT in gtkwidget.c
- Date: Wed, 15 Oct 1997 05:04:26 +0200 (CEST)
hi all,
[using gtk+ from the cvs rep as of 971015]
there is space reserved for a signal in gtkwidget.c (through
the enum definition) that isn't filled in: DROP_NOTIFY_EVENT.
that means there is no call like:
gtk_signal_new ("drop_notify_event",
GTK_RUN_FIRST,
object_class->type,
GTK_SIGNAL_OFFSET (GtkWidgetClass, drop_notify_event),
gtk_signal_any_marshaller,
GTK_TYPE_NONE, ...);
also there is no function pointer
gint (* drop_notify_event) (GtkWidget *widget,
GdkEventDropNotify *event);
in GtkWidgetClass.
gubi crashed on me for this (but only because the signal name in
widget->klass->signals[i] was NULL (something i didn't expect and
therefore did not check).
i don't think (hope!) this will cause problems in other areas,
it just seems like DROP_NOTIFY_EVENT has been forgotten to
be removed from the enum definition, so can it?
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]