X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/7ad8fe5e2876518a8f33b80050f98dab4ff78398..cb1caeaf2ba26df05e8f9bcd4aa63203cef781fb:/src/emacs-icon.h diff --git a/src/emacs-icon.h b/src/emacs-icon.h index ffa0f5e0e3..590d874ca8 100644 --- a/src/emacs-icon.h +++ b/src/emacs-icon.h @@ -1,7 +1,7 @@ /* XPM */ /* Emacs icon -Copyright (C) 2008 Free Software Foundation, Inc. +Copyright (C) 2008-2012 Free Software Foundation, Inc. Author: Kentaro Ohkouchi @@ -20,9 +20,10 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see . */ - -#if defined (HAVE_XPM) && defined (HAVE_X_WINDOWS) -static char * gnu_xpm_bits[] = { +/* Note that the GTK port uses gdk to display the icon, so Emacs need + not have XPM support compiled in. */ +#if (defined (HAVE_XPM) && defined (HAVE_X_WINDOWS)) || defined (USE_GTK) +static const char * gnu_xpm_bits[] = { /* width height ncolors chars_per_pixel */ "32 32 255 2", /* colors */ @@ -314,7 +315,7 @@ static char * gnu_xpm_bits[] = { "OPOPOPOPOPOPOPOPILILBIILPKCBJAAHJFBPILILOBOBAIOPOPOPOPOPOPOPOPOP", "OPOPOPOPOPOPOPOPOPOPILMIGECABCPKGHAIILOBOBOPOPOPOPOPOPOPOPOPOPOP", "OPOPOPOPOPOPOPOPOPOPOPOPOPCAOPOPOPOPOPOPOPOPOPOPOPOPOPOPOPOPOPOP"}; -#endif /* defined (HAVE_XPM) && defined (HAVE_X_WINDOWS) */ +#endif /* (defined (HAVE_XPM) && defined (HAVE_X_WINDOWS)) || defined (USE_GTK) */ #define gnu_xbm_width 50 #define gnu_xbm_height 50 @@ -350,5 +351,3 @@ static unsigned char gnu_xbm_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; -/* arch-tag: b57020c7-c937-4d77-8ca6-3875178d9828 - (do not change this comment) */