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
This commit is contained in:

committed by
Michael Natterer

parent
aa5785710a
commit
aca7e2316a
@ -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;
|
||||
|
Reference in New Issue
Block a user