[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Graveman-cvs] Changes to graveman/current/src/readcd.c
From: |
sylvain cresto |
Subject: |
[Graveman-cvs] Changes to graveman/current/src/readcd.c |
Date: |
Mon, 31 Jan 2005 21:35:30 -0500 |
Index: graveman/current/src/readcd.c
diff -u graveman/current/src/readcd.c:1.3 graveman/current/src/readcd.c:1.4
--- graveman/current/src/readcd.c:1.3 Tue Jan 25 03:32:12 2005
+++ graveman/current/src/readcd.c Tue Feb 1 02:35:19 2005
@@ -145,6 +145,7 @@
GIOChannel *Lcom, *Lcomerr;
guint Lcomevent, Lcomerrevent;
gint *Lcont = g_hash_table_lookup(Ahash, "cont");
+ gboolean *Labort = (gboolean *) g_hash_table_lookup(Ahash, "gabort");
GtkLabel *Ltitle = GTK_LABEL(g_hash_table_lookup(Ahash, "gravetitle"));
gint *Lpid = (gint *) g_hash_table_lookup(Ahash, "pid");
GtkWidget *Lvitesse = g_hash_table_lookup(Ahash, "dstcopyspeed");
@@ -194,7 +195,7 @@
g_io_channel_set_flags( Lcomerr, G_IO_FLAG_NONBLOCK, NULL );
Lcomerrevent = g_io_add_watch (Lcomerr, (G_IO_IN | G_IO_HUP | G_IO_ERR |
G_IO_PRI),
readcd_makeimage_callback, Ahash);
- while (*Lcont>0) {
+ while (*Lcont>0 && *Labort == FALSE) {
gtk_main_iteration();
}
g_source_remove(Lcomevent);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Graveman-cvs] Changes to graveman/current/src/readcd.c,
sylvain cresto <=