Update of /cvsroot/gtkpod/gtkpod/src
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv18030/src
Modified Files:
display_playlists.c
Log Message:
* src/display_playlists.c: avoid crash when clicking on the
'Eject/Load iPod' icons too quickly.
Index: display_playlists.c
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/src/display_playlists.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- display_playlists.c 26 Nov 2006 05:49:48 -0000 1.93
+++ display_playlists.c 26 Nov 2006 08:40:31 -0000 1.94
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-11-26 14:34:06 jcs>
+/* Time-stamp: <2006-11-26 17:39:43 jcs>
|
| Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
| Part of the gtkpod project.
@@ -2037,6 +2037,10 @@
e->x, e->y, NULL);
if (cell_nr == 0)
{
+ /* don't accept clicks while widgets are blocked -- this
+ might cause a crash (e.g. when we click the 'Eject
+ iPod' symbol while we are ejecting it already) */
+ if (widgets_blocked) return FALSE;
/* */
model= gtk_tree_view_get_model (GTK_TREE_VIEW (w));
gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW(w),
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2