diff --git a/gnome/ChangeLog b/gnome/ChangeLog index bcf8b9519..ce1a09b81 100644 --- a/gnome/ChangeLog +++ b/gnome/ChangeLog @@ -1,5 +1,8 @@ 2001-06-01 Pavel Roskin + * gmain.c (x_init_dlg): Warning fix for buggy Gtk that doesn't + always cast the argument to GTK_OBJECT. + * Makefile.in: Don't use key.o. 2001-05-29 Pavel Roskin diff --git a/gnome/gmain.c b/gnome/gmain.c index bab9b78d1..2f909b562 100644 --- a/gnome/gmain.c +++ b/gnome/gmain.c @@ -346,7 +346,7 @@ x_init_dlg (Dlg_head *h) gtk_widget_show (GTK_WIDGET (h->wdata)); } - gtk_signal_connect (GTK_OBJECT (h->wdata), "delete_event", + gtk_signal_connect (GTK_OBJECT ((void *)h->wdata), "delete_event", GTK_SIGNAL_FUNC (gnome_dlg_send_destroy), h); if (h->current)