Mercurial > mplayer.hg
diff Gui/mplayer/gtk/url.c @ 8719:dc27303ae528
correct widget destroy event handler (thank for D J Hawkey Jr <hawkeyd@visi.com>)
author | pontscho |
---|---|
date | Thu, 02 Jan 2003 15:48:29 +0000 |
parents | 5b67aed0fc28 |
children | ad75409ed15e |
line wrap: on
line diff
--- a/Gui/mplayer/gtk/url.c Thu Jan 02 15:38:26 2003 +0000 +++ b/Gui/mplayer/gtk/url.c Thu Jan 02 15:48:29 2003 +0000 @@ -137,7 +137,7 @@ gtk_widget_add_accelerator( Ok,"clicked",accel_group,GDK_Return,0,GTK_ACCEL_VISIBLE ); gtk_widget_add_accelerator( Cancel,"clicked",accel_group,GDK_Escape,0,GTK_ACCEL_VISIBLE ); - gtk_signal_connect( GTK_OBJECT( URL ),"destroy",GTK_SIGNAL_FUNC( gtk_widget_destroyed ),&URL ); + gtk_signal_connect( GTK_OBJECT( URL ),"destroy",GTK_SIGNAL_FUNC( WidgetDestroy ),&URL ); gtk_signal_connect( GTK_OBJECT( Ok ),"clicked",GTK_SIGNAL_FUNC( on_Button_pressed ),(void *)1 ); gtk_signal_connect( GTK_OBJECT( Cancel ),"clicked",GTK_SIGNAL_FUNC( on_Button_pressed ),NULL );