X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/42b2a986d9d4b7040fb20c90ec0efeffb78e761a..6e65b9ccff5999add7069b41c29aed499a2350f0:/src/emacsgtkfixed.c diff --git a/src/emacsgtkfixed.c b/src/emacsgtkfixed.c index 1a62b59b7a..6a8c751e30 100644 --- a/src/emacsgtkfixed.c +++ b/src/emacsgtkfixed.c @@ -1,7 +1,7 @@ /* A Gtk Widget that inherits GtkFixed, but can be shrunk. This file is only use when compiling with Gtk+ 3. -Copyright (C) 2011-2012 Free Software Foundation, Inc. +Copyright (C) 2011-2013 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -21,13 +21,18 @@ along with GNU Emacs. If not, see . */ #include #include "emacsgtkfixed.h" -#include #include -#include + #include "lisp.h" #include "frame.h" #include "xterm.h" +/* Silence a bogus diagnostic; see GNOME bug 683906. */ +#if (__GNUC__ == 4 && 6 <= __GNUC_MINOR__) || 4 < __GNUC__ +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wunused-local-typedefs" +#endif + #define EMACS_TYPE_FIXED emacs_fixed_get_type () #define EMACS_FIXED(obj) \ G_TYPE_CHECK_INSTANCE_CAST (obj, EMACS_TYPE_FIXED, EmacsFixed)