diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-11 16:37:58 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-11 16:37:58 +0000 |
commit | 587eca9977c4b2cce29fabbf4e7f62da647145e1 (patch) | |
tree | c3d344b76c95f179995730df6a37891f81645a75 /Gui/mplayer/gtk/sb.c | |
parent | e6215bef4078ff772f74e9cad7aa327a5a2b5ef5 (diff) |
fix gtk dialog box destroy bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6045 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/gtk/sb.c')
-rw-r--r-- | Gui/mplayer/gtk/sb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Gui/mplayer/gtk/sb.c b/Gui/mplayer/gtk/sb.c index 6de1cf76b2..6488c83e3d 100644 --- a/Gui/mplayer/gtk/sb.c +++ b/Gui/mplayer/gtk/sb.c @@ -62,12 +62,12 @@ int gtkFillSkinList( gchar * mdir ) } void on_SkinBrowser_destroy( GtkObject * object,gpointer user_data ) -{ gtk_widget_hide( SkinBrowser ); } +{ gtk_widget_destroy( SkinBrowser ); } void on_SkinBrowser_Cancel( GtkObject * object,gpointer user_data ) { if ( strcmp( sbSelectedSkin,gtkOldSkin ) ) ChangeSkin( gtkOldSkin ); - gtk_widget_hide( SkinBrowser ); + gtk_widget_destroy( SkinBrowser ); } void on_SkinBrowser_Ok( GtkObject * object,gpointer user_data ) @@ -75,7 +75,7 @@ void on_SkinBrowser_Ok( GtkObject * object,gpointer user_data ) ChangeSkin( sbSelectedSkin ); if ( skinName ) free( skinName ); skinName=strdup( sbSelectedSkin ); - gtk_widget_hide( SkinBrowser ); + gtk_widget_destroy( SkinBrowser ); } void on_SkinList_select_row( GtkCList * clist,gint row,gint column,GdkEvent * bevent,gpointer user_data ) @@ -91,7 +91,7 @@ void on_SkinList_select_row( GtkCList * clist,gint row,gint column,GdkEvent * be { if ( skinName ) free( skinName ); skinName=strdup( sbSelectedSkin ); - gtk_widget_hide( SkinBrowser ); + gtk_widget_destroy( SkinBrowser ); } } |