/[graveman]/graveman/current/src/readcd.c
ViewVC logotype

Diff of /graveman/current/src/readcd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by scresto, Tue Jan 25 03:32:12 2005 UTC revision 1.4 by scresto, Tue Feb 1 02:35:19 2005 UTC
# Line 145  gint make_image(GHashTable *Ahash, GErro Line 145  gint make_image(GHashTable *Ahash, GErro
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");
# Line 194  gint make_image(GHashTable *Ahash, GErro Line 195  gint make_image(GHashTable *Ahash, GErro
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);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26