Mercurial > hg > xmms-sid
comparison src/xs_fileinfo.c @ 282:0d2d379a83c0
Fixed nasty crash when closing fileinfo-window from window's closebutton -
the window's delete_event was not being handled ... stupid :(
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 25 Dec 2004 11:11:00 +0000 |
parents | 7833df935239 |
children | b6bcd62394f3 |
comparison
equal
deleted
inserted
replaced
281:d913f0f69487 | 282:0d2d379a83c0 |
---|---|
103 } | 103 } |
104 XS_MUTEX_UNLOCK(xs_fileinfowin); | 104 XS_MUTEX_UNLOCK(xs_fileinfowin); |
105 } | 105 } |
106 | 106 |
107 | 107 |
108 gboolean xs_fileinfo_delete(GtkWidget *widget, GdkEvent *event, gpointer user_data) | |
109 { | |
110 XSDEBUG("delete_event\n"); | |
111 xs_fileinfo_ok(); | |
112 return FALSE; | |
113 } | |
114 | |
115 | |
116 | |
108 void xs_fileinfo_subtune(GtkWidget *widget, void *data) | 117 void xs_fileinfo_subtune(GtkWidget *widget, void *data) |
109 { | 118 { |
110 t_xs_stil_subnode *tmpNode; | 119 t_xs_stil_subnode *tmpNode; |
111 GtkWidget *tmpItem, *tmpText; | 120 GtkWidget *tmpItem, *tmpText; |
112 gint tmpIndex; | 121 gint tmpIndex; |