summaryrefslogtreecommitdiffstats
path: root/vcl/unx/gtk/app/gtkdata.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-01-07 08:24:12 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-01-07 08:24:12 +0000
commitf68f5affce8772e0c874567e589d96a871efb3c3 (patch)
treec005fd212ffc90511abdc4009fdf2c301d792a25 /vcl/unx/gtk/app/gtkdata.cxx
parentINTEGRATION: CWS vcl32 (1.33.4); FILE MERGED (diff)
downloadcore-f68f5affce8772e0c874567e589d96a871efb3c3.tar.gz
core-f68f5affce8772e0c874567e589d96a871efb3c3.zip
INTEGRATION: CWS vcl32 (1.11.2); FILE MERGED
2004/11/27 12:00:57 pl 1.11.2.2: RESYNC: (1.11-1.12); FILE MERGED 2004/11/19 14:01:28 pl 1.11.2.1: #i36226# timers need to run with lower priority than XEvents
Diffstat (limited to 'vcl/unx/gtk/app/gtkdata.cxx')
-rw-r--r--vcl/unx/gtk/app/gtkdata.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/unx/gtk/app/gtkdata.cxx b/vcl/unx/gtk/app/gtkdata.cxx
index f9ae75f46987..3319f172b0c1 100644
--- a/vcl/unx/gtk/app/gtkdata.cxx
+++ b/vcl/unx/gtk/app/gtkdata.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: gtkdata.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: obo $ $Date: 2004-11-15 12:09:22 $
+ * last change: $Author: rt $ $Date: 2005-01-07 09:24:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -594,6 +594,9 @@ void GtkXLib::StartTimer( ULONG nMS )
}
m_pTimeout = g_timeout_source_new (m_nTimeoutMS);
+ // #i36226# timers should be executed with lower priority
+ // than XEvents like in generic plugin
+ g_source_set_priority( m_pTimeout, G_PRIORITY_LOW );
g_source_set_can_recurse (m_pTimeout, TRUE);
g_source_set_callback (m_pTimeout, timeoutFn,
(gpointer) this, NULL);