summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-12-02 12:26:06 +0000
committerChristian Persch <chpe@src.gnome.org>2008-12-02 12:26:06 +0000
commit0d8b243122843d15e7d0bdc47a8d8858a75a286a (patch)
tree118dd84f428b5c8766bb533008a30793f424e08e
parentd34606b64581e58b2c5d3878f4e54e4f73da2be3 (diff)
downloadvte-0d8b243122843d15e7d0bdc47a8d8858a75a286a.tar.gz
Bug 560667 – invalid definition of VTE_INVALID_SOURCE
* src/vte-private.h: Fix VTE_INVALID_SOURCE define to use 0 instead of -1. svn path=/trunk/; revision=2291
-rw-r--r--ChangeLog7
-rw-r--r--src/vte-private.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b75ac68a..22dd7971 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2008-12-02 Christian Persch <chpe@gnome.org>
+ Bug 560667 – invalid definition of VTE_INVALID_SOURCE
+
+ * src/vte-private.h: Fix VTE_INVALID_SOURCE define to use 0 instead of
+ -1.
+
+2008-12-02 Christian Persch <chpe@gnome.org>
+
* configure.in: Remove two AC_DEFINEs from here.
* src/vte-private.h: Define VTE_INVALID_SOURCE here for now.
diff --git a/src/vte-private.h b/src/vte-private.h
index 8dd65fd5..cc85cea5 100644
--- a/src/vte-private.h
+++ b/src/vte-private.h
@@ -91,7 +91,7 @@ G_BEGIN_DECLS
#define VTE_CELL_BBOX_SLACK 1
#define I_(string) (g_intern_static_string(string))
-#define VTE_INVALID_SOURCE ((guint)-1) /* A number which can never be a valid source ID */
+#define VTE_INVALID_SOURCE (0) /* A number which can never be a valid source ID */
/* The structure we use to hold characters we're supposed to display -- this
* includes any supported visible attributes. */