* gmain.c (x_init_dlg): Warning fix for buggy Gtk that doesn't

always cast the argument to GTK_OBJECT.
This commit is contained in:
Pavel Roskin 2001-06-02 02:10:47 +00:00
parent 5386a6375f
commit d2724e215a
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2001-06-01 Pavel Roskin <proski@gnu.org>
* 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 <proski@gnu.org>

View File

@ -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)