DELTA 23695 0 9025
SVN  s,B& 0  G D G@? G  G@W G O G@H G  G@@ G  jwq mstruct msg_data {
  const char *msg;
};

****
  Main thread handling of message sent from downloader thread.
***/
static gboolean msg_main_thread(gpointer user_data)
{
  struct msg_data *data = (struct msg_data *)user_data;

  msg_callback(data->msg);

  FC_FREE(data);

  return G_SOURCE_REMOVE;
}

****
  Downloader thread message callback.
***/
static void msg_dl_thread(const char *msg)
{
  struct msg_data *data = fc_malloc(sizeof(*data));

  data->msg = msg;

  gdk_threads_add_idle(msg_main_thread, data);
}

struct pbar_data {
  double fraction;
};

****
  Main thread handling of progressbar update sent from downloader thread.
***/
static gboolean pbar_main_thread(gpointer user_data)
{
  struct pbar_data *data = (struct pbar_data *)user_data;

  pbar_callback(data->fraction);

  FC_FREE(data);

  return G_SOURCE_REMOVE;
}

****
  Downloader thread progress bar callback.
***/
static void pbar_dl_thread(const double fraction)
{
  struct pbar_data *data = fc_malloc(sizeof(*data));

  data->fraction = fraction;

  gdk_threads_add_idle(pbar_main_thread, data);
}

dl_thread, pbar_dl_thread);

  if (errmsg == NULL) {
    msg_dl_thread(_("Ready"));
  } else {
    msg_dl_thread(ENDREP
id: 4pn.5ii.r25485/1294
type: file
pred: 4pn.5ii.r23695/9054
count: 33
text: 25485 0 1268 15276 0de10e45a0bb98a3272d8d995c253468
cpath: /branches/S2_4/modinst/modinst.c
copyroot: 20416 /branches/S2_4

PLAIN
K 11
Makefile.am
V 24
file 4pk.5ii.r24747/8962
K 10
download.c
V 22
file 4pl.5ii.r20884/67
K 10
download.h
V 23
file 4pm.5ii.r20493/161
K 9
modinst.c
V 24
file 4pn.5ii.r25485/1294
K 9
modinst.h
V 23
file 76i.5ck.r20338/643
K 11
mpcmdline.c
V 23
file 73v.5ii.r24288/311
K 11
mpcmdline.h
V 24
file 73w.5ck.r20096/3827
END
ENDREP
id: 4pj.5ii.r25485/1828
type: dir
pred: 4pj.5ii.r24747/9496
count: 65
text: 25485 1495 320 320 9b30bc4023b6bbef7b6599aec8e12036
props: 23992 422 121 0 f8650fee66c714d19c10628164f2cfc8
cpath: /branches/S2_4/modinst
copyroot: 20416 /branches/S2_4

PLAIN
K 9
ABOUT-NLS
V 22
file fu.0.r13215/85704
K 7
AUTHORS
V 24
file 5u.5ii.r22144/14016
K 7
COPYING
V 19
file 1h.0.r9643/400
K 9
ChangeLog
V 26
file 6l.5ii.r24387/2166279
K 7
INSTALL
V 23
file 6.5ii.r23651/28514
K 11
Makefile.am
V 24
file 59.5ii.r23989/13807
K 4
NEWS
V 24
file 6m.5ii.r23363/35065
K 8
NEWS-2.4
V 25
file jp5.5ii.r24383/20887
K 6
README
V 20
file 7.0.r4421/96382
K 2
ai
V 21
dir 8.5ii.r25471/2658
K 10
autogen.sh
V 23
file 12o.5ii.r24093/115
K 9
bootstrap
V 24
dir 2p5.5ii.r23989/12766
K 6
client
V 22
dir d.5ii.r25460/10111
K 6
common
V 22
dir p.5ii.r25431/11110
K 12
config.mac.h
V 20
file hb.0.r6045/5982
K 12
configure.ac
V 23
file 149.5ii.r25404/250
K 4
data
V 22
dir w.5ii.r25451/12249
K 6
debian
V 22
dir 5w.5ii.r22192/3202
K 12
dependencies
V 24
dir 2yu.5ii.r24834/12256
K 11
diff_ignore
V 22
file qq.5ck.r19346/607
K 3
doc
V 22
dir k7.5ii.r25069/2170
K 10
fc_version
V 24
file 2lo.5ij.r24411/9639
K 2
m4
V 23
dir 12p.5ii.r25030/2842
K 6
manual
V 23
dir 2m2.5ii.r24834/7345
K 7
modinst
V 23
dir 4pj.5ii.r25485/1828
K 2
po
V 24
dir fs.5ii.r25461/115992
K 7
scripts
V 22
dir 2yo.5ii.r24504/875
K 6
server
V 21
dir z.5ii.r25436/6703
K 10
stamp-h.in
V 19
file 80.0.r1125/241
K 5
tests
V 22
dir 2g9.5ii.r22097/841
K 7
utility
V 22
dir 1c.5ii.r25191/8322
K 3
vms
V 25
dir u9.5ii.r21529/1398731
K 5
win32
V 23
dir 2eu.5ii.r24296/3491
END
ENDREP
id: 3.5ii.r25485/3438
type: dir
pred: 3.5ii.r25471/4262
count: 16145
text: 25485 2074 1351 1351 8c00cc0724b7b1470ce0ea95889cd989
props: 20140 3888 282 0 e4bb46e81629a60eef613b169b23a9ea
cpath: /branches/S2_4
copyroot: 20416 /branches/S2_4

PLAIN
K 5
S1_14
V 21
dir 3.21.r18109/18803
K 4
S2_0
V 21
dir 3.10x.r21862/4178
K 4
S2_1
V 22
dir 3.59e.r20026/11014
K 4
S2_2
V 21
dir 3.5cy.r21861/5036
K 4
S2_3
V 21
dir 3.5f2.r24391/5183
K 4
S2_4
V 21
dir 3.5ii.r25485/3438
K 4
S2_5
V 21
dir 3.5kv.r25484/6458
K 11
freeciv-web
V 22
dir 3.5bl.r13594/14918
END
ENDREP
id: 1.0.r25485/3994
type: dir
pred: 1.0.r25484/7015
count: 7621
text: 25485 3678 303 303 477fd766c5ffeae2554f852e07083df6
cpath: /branches
copyroot: 0 /

PLAIN
K 8
branches
V 19
dir 1.0.r25485/3994
K 4
tags
V 19
dir 2.0.r24394/6245
K 5
trunk
V 21
dir 3.5ck.r25483/6423
K 7
website
V 21
dir 3ge.0.r22980/2263
END
ENDREP
id: 0.0.r25485/4313
type: dir
pred: 0.0.r25484/7335
count: 25485
text: 25485 4148 152 152 94664a2339463bab7674fc3b1414ac0e
cpath: /
copyroot: 0 /

4pn.5ii.t25484-1 modify true false /branches/S2_4/modinst/modinst.c


4313 4460
