[MPlayer-cvslog] r36189 - trunk/gui/dialog/fileselect.c

ib subversion at mplayerhq.hu
Tue Apr 30 12:41:28 CEST 2013


Author: ib
Date: Tue Apr 30 12:41:28 2013
New Revision: 36189

Log:
Fix segmentation fault.

It would occur after a selection from the path combo box
by pressing the return key.

Modified:
   trunk/gui/dialog/fileselect.c

Modified: trunk/gui/dialog/fileselect.c
==============================================================================
--- trunk/gui/dialog/fileselect.c	Tue Apr 30 08:56:45 2013	(r36188)
+++ trunk/gui/dialog/fileselect.c	Tue Apr 30 12:41:28 2013	(r36189)
@@ -689,7 +689,7 @@ static GtkWidget *CreateFileSelect(void)
     fsCancel = gtkAddButton(MSGTR_Cancel, hbuttonbox3);
 
     gtk_signal_connect(GTK_OBJECT(FileSelector), "destroy", GTK_SIGNAL_FUNC(fs_Destroy), NULL);
-    gtk_signal_connect(GTK_OBJECT(FileSelector), "key_release_event", GTK_SIGNAL_FUNC(on_FileSelect_key_release_event), NULL);
+    gtk_signal_connect(GTK_OBJECT(fsFNameListWindow), "key_release_event", GTK_SIGNAL_FUNC(on_FileSelect_key_release_event), NULL);
 
     gtk_signal_connect(GTK_OBJECT(fsFilterCombo), "changed", GTK_SIGNAL_FUNC(fs_fsFilterCombo_changed), fsFilterCombo);
     gtk_signal_connect(GTK_OBJECT(fsFilterCombo), "activate", GTK_SIGNAL_FUNC(fs_fsFilterCombo_activate), fsFilterCombo);


More information about the MPlayer-cvslog mailing list