145 |
GIOChannel *Lcom, *Lcomerr; |
GIOChannel *Lcom, *Lcomerr; |
146 |
guint Lcomevent, Lcomerrevent; |
guint Lcomevent, Lcomerrevent; |
147 |
gint *Lcont = g_hash_table_lookup(Ahash, "cont"); |
gint *Lcont = g_hash_table_lookup(Ahash, "cont"); |
148 |
|
gboolean *Labort = (gboolean *) g_hash_table_lookup(Ahash, "gabort"); |
149 |
GtkLabel *Ltitle = GTK_LABEL(g_hash_table_lookup(Ahash, "gravetitle")); |
GtkLabel *Ltitle = GTK_LABEL(g_hash_table_lookup(Ahash, "gravetitle")); |
150 |
gint *Lpid = (gint *) g_hash_table_lookup(Ahash, "pid"); |
gint *Lpid = (gint *) g_hash_table_lookup(Ahash, "pid"); |
151 |
GtkWidget *Lvitesse = g_hash_table_lookup(Ahash, "dstcopyspeed"); |
GtkWidget *Lvitesse = g_hash_table_lookup(Ahash, "dstcopyspeed"); |
195 |
g_io_channel_set_flags( Lcomerr, G_IO_FLAG_NONBLOCK, NULL ); |
g_io_channel_set_flags( Lcomerr, G_IO_FLAG_NONBLOCK, NULL ); |
196 |
Lcomerrevent = g_io_add_watch (Lcomerr, (G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_PRI), |
Lcomerrevent = g_io_add_watch (Lcomerr, (G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_PRI), |
197 |
readcd_makeimage_callback, Ahash); |
readcd_makeimage_callback, Ahash); |
198 |
while (*Lcont>0) { |
while (*Lcont>0 && *Labort == FALSE) { |
199 |
gtk_main_iteration(); |
gtk_main_iteration(); |
200 |
} |
} |
201 |
g_source_remove(Lcomevent); |
g_source_remove(Lcomevent); |