diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-01 21:13:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-01 21:13:04 +0000 |
commit | b28bec8855ca26ac4d597a8cfee58aa904610a1e (patch) | |
tree | a6dad0f83d3978825eded4a2849f3701455e384d | |
parent | b36032062811121842f24bf8d365e8e10ad712d6 (diff) | |
download | gnunet-gtk-b28bec8855ca26ac4d597a8cfee58aa904610a1e.tar.gz gnunet-gtk-b28bec8855ca26ac4d597a8cfee58aa904610a1e.zip |
actually run GUI tasks with UI priority
-rw-r--r-- | src/lib/eventloop.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/eventloop.c b/src/lib/eventloop.c index 15c6859a..d44008fe 100644 --- a/src/lib/eventloop.c +++ b/src/lib/eventloop.c | |||
@@ -622,8 +622,9 @@ gnunet_gtk_select (void *cls, struct GNUNET_NETWORK_FDSet *rfds, | |||
622 | if (TRUE == | 622 | if (TRUE == |
623 | g_main_context_check (ml->gmc, max_priority, | 623 | g_main_context_check (ml->gmc, max_priority, |
624 | &ml->cached_poll_array[fd_counter], need_gfds)) | 624 | &ml->cached_poll_array[fd_counter], need_gfds)) |
625 | GNUNET_SCHEDULER_add_continuation (&dispatch_gtk_task, ml, | 625 | GNUNET_SCHEDULER_add_continuation_with_priority (&dispatch_gtk_task, ml, |
626 | GNUNET_SCHEDULER_REASON_STARTUP); | 626 | GNUNET_SCHEDULER_REASON_STARTUP, |
627 | GNUNET_SCHEDULER_PRIORITY_UI); | ||
627 | } | 628 | } |
628 | /* Now map back GNUnet scheduler events ... */ | 629 | /* Now map back GNUnet scheduler events ... */ |
629 | #if !WINDOWS | 630 | #if !WINDOWS |