[hafqa] [hafqa] [Bug 1025] New: gtktextbuffer.h does not compile with -pedantic

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Tue Feb 6 15:34:22 EET 2007
https://maemo.org/bugzilla/show_bug.cgi?id=1025

           Summary: gtktextbuffer.h does not compile with -pedantic
           Product: haf
           Version: sardine
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gtk
        AssignedTo: tommi.komulainen at nokia.com
        ReportedBy: johan.bilien at nokia.com
         QAContact: hafqa at maemo.org


For some strange reason gttextbuffer.h differs from upstream version in a way
which breaks the build with the -pedantic flag (used commonly in HAF): 

typedef enum
{
-  GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS = G_MAXUINT - 0,
+  GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS = - 1,
-  GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT       = G_MAXUINT - 1,
+  GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT       = - 2,
-  GTK_TEXT_BUFFER_TARGET_INFO_TEXT            = G_MAXUINT - 2
+  GTK_TEXT_BUFFER_TARGET_INFO_TEXT            = - 3
} GtkTextBufferTargetInfo;

It also breaks (a bit more) binary compatibility with upstream.

-- 
Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list