vte r2187 - in trunk: . src
- From: behdad svn gnome org
- To: svn-commits-list gnome org
- Subject: vte r2187 - in trunk: . src
- Date: Mon, 24 Nov 2008 18:19:54 +0000 (UTC)
Author: behdad
Date: Mon Nov 24 18:19:53 2008
New Revision: 2187
URL: http://svn.gnome.org/viewvc/vte?rev=2187&view=rev
Log:
2008-11-24 Behdad Esfahbod <behdad gnome org>
* src/vtepangocairo.c (font_info_destroy): Modify GTK_CHECK_VERSION
handling to make my vim syntax highlighter happy.
Modified:
trunk/ChangeLog
trunk/src/vtepangocairo.c
Modified: trunk/src/vtepangocairo.c
==============================================================================
--- trunk/src/vtepangocairo.c (original)
+++ trunk/src/vtepangocairo.c Mon Nov 24 18:19:53 2008
@@ -422,12 +422,12 @@
if (info->ref_count)
return;
+#if !GTK_CHECK_VERSION (2, 14, 0)
+#define gdk_threads_add_timeout_seconds(sec, func, data) gdk_threads_add_timeout ((sec) * 1000, (func), (data))
+#endif
+
/* Delay destruction by a few seconds, in case we need it again */
-#if GTK_CHECK_VERSION (2, 14, 0)
info->destroy_timeout = gdk_threads_add_timeout_seconds (FONT_CACHE_TIMEOUT,
-#else
- info->destroy_timeout = gdk_threads_add_timeout (FONT_CACHE_TIMEOUT * 1000,
-#endif
(GSourceFunc) font_info_destroy_delayed,
info);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]