Mercurial > mplayer.hg
diff Gui/mplayer/gtk/sb.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 | 5c7d92600018 |
line wrap: on
line diff
--- a/Gui/mplayer/gtk/sb.c Thu Jan 02 15:38:26 2003 +0000 +++ b/Gui/mplayer/gtk/sb.c Thu Jan 02 15:48:29 2003 +0000 @@ -175,7 +175,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( SkinBrowser ),"destroy",GTK_SIGNAL_FUNC( gtk_widget_destroyed ),&SkinBrowser ); + gtk_signal_connect( GTK_OBJECT( SkinBrowser ),"destroy",GTK_SIGNAL_FUNC( WidgetDestroy ),&SkinBrowser ); gtk_signal_connect( GTK_OBJECT( SkinList ),"select_row",GTK_SIGNAL_FUNC( on_SkinList_select_row ),NULL ); gtk_signal_connect( GTK_OBJECT( Ok ),"clicked",GTK_SIGNAL_FUNC( prButton ),(void *)1 ); gtk_signal_connect( GTK_OBJECT( Cancel ),"clicked",GTK_SIGNAL_FUNC( prButton ),(void *)0 );