[vte] Minor cleanup
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vte] Minor cleanup
- Date: Sun, 6 Sep 2009 02:27:05 +0000 (UTC)
commit e92865dce49fdcec5181add1a2be36fa57fad3af
Author: Behdad Esfahbod <behdad behdad org>
Date: Sat Sep 5 22:06:56 2009 -0400
Minor cleanup
src/debug.h | 2 +-
src/ring.c | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/debug.h b/src/debug.h
index a437188..77f8dce 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -77,7 +77,7 @@ _vte_debug_on(VteDebugFlags flags)
#include <glib/gstdio.h>
static void _vte_debug_print(guint flags, const char *fmt, ...)
{
- if (_vte_debug_on (flags)) {
+ _VTE_DEBUG_IF(flags) {
va_list ap;
va_start (ap, fmt);
g_vfprintf (stderr, fmt, ap);
diff --git a/src/ring.c b/src/ring.c
index cc05b0f..0e0f702 100644
--- a/src/ring.c
+++ b/src/ring.c
@@ -29,6 +29,7 @@
#define VTE_POOL_BYTES (1024*1024 - 4 * sizeof (void *)) /* hopefully we get some nice mmapped region */
+
/*
* VtePool: Global, alloc-only, allocator for VteCells
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]