summaryrefslogtreecommitdiff
path: root/gtk/gtktextbuffer.h
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2007-02-05 10:36:27 +0000
committerMichael Natterer <mitch@src.gnome.org>2007-02-05 10:36:27 +0000
commitaca7e2316a79855f403ca3ed90772ae08e2dd8c8 (patch)
treed38c902b422a342fbd93ac34ad4ab0f99139c46f /gtk/gtktextbuffer.h
parentaa5785710a82dc98c878ed1bc8b8192c854cc091 (diff)
downloadgtk+-aca7e2316a79855f403ca3ed90772ae08e2dd8c8.tar.gz
changed values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
2007-02-05 Michael Natterer <mitch@imendio.com> * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within ansi C enum value limits. Fixes bug #46757. svn path=/trunk/; revision=17260
Diffstat (limited to 'gtk/gtktextbuffer.h')
-rw-r--r--gtk/gtktextbuffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktextbuffer.h b/gtk/gtktextbuffer.h
index 79f969ccfa..715b514acf 100644
--- a/gtk/gtktextbuffer.h
+++ b/gtk/gtktextbuffer.h
@@ -49,9 +49,9 @@ G_BEGIN_DECLS
*/
typedef enum
{
- GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS = G_MAXUINT - 0,
- GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT = G_MAXUINT - 1,
- GTK_TEXT_BUFFER_TARGET_INFO_TEXT = G_MAXUINT - 2
+ GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS = - 1,
+ GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT = - 2,
+ GTK_TEXT_BUFFER_TARGET_INFO_TEXT = - 3
} GtkTextBufferTargetInfo;
typedef struct _GtkTextBTree GtkTextBTree;