diff options
author | Michael Natterer <mitch@imendio.com> | 2007-02-05 10:36:27 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2007-02-05 10:36:27 +0000 |
commit | aca7e2316a79855f403ca3ed90772ae08e2dd8c8 (patch) | |
tree | d38c902b422a342fbd93ac34ad4ab0f99139c46f /gtk/gtktextbuffer.h | |
parent | aa5785710a82dc98c878ed1bc8b8192c854cc091 (diff) | |
download | gtk+-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.h | 6 |
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; |