"gtk_quit_add_destroy()" takes a "GtkObject *" as its second argument in

both GTK+ 1.2[.x] and 2.x, so put the "GTK_OBJECT()" cast back in to
squelch a compiler warning.

svn path=/trunk/; revision=6612
This commit is contained in:
Guy Harris 2002-11-11 17:32:42 +00:00
parent 1981d976e3
commit 13b8bc3f9c
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
/* proto_dlg.c
*
* $Id: proto_dlg.c,v 1.17 2002/11/11 15:39:06 oabad Exp $
* $Id: proto_dlg.c,v 1.18 2002/11/11 17:32:42 guy Exp $
*
* Laurent Deniel <deniel@worldnet.fr>
*
@ -189,7 +189,7 @@ void proto_cb(GtkWidget *w _U_, gpointer data _U_)
dlg_set_cancel(proto_w, cancel_bt);
gtk_quit_add_destroy(gtk_main_level(), proto_w);
gtk_quit_add_destroy(gtk_main_level(), GTK_OBJECT(proto_w));
gtk_widget_show(proto_w);
} /* proto_cb */