aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2009-06-24 14:27:47 +0000
committerChong Yidong2009-06-24 14:27:47 +0000
commit57ebc3fdd233f97886bab4fd513e92530d4c3dc9 (patch)
tree92bf8399a6669a60d9aa0e4c5dd10786bf29f1cd /src
parentaa4a938453c9dfd3630042687651784b91787882 (diff)
downloademacs-57ebc3fdd233f97886bab4fd513e92530d4c3dc9.tar.gz
emacs-57ebc3fdd233f97886bab4fd513e92530d4c3dc9.zip
* emacs-icon.h: Always define gnu_xpm_bits on GTK (bug#3671).
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/emacs-icon.h7
2 files changed, 8 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index fa2a8ef91d5..c82e6e86407 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12009-06-24 Chong Yidong <cyd@stupidchicken.com>
2
3 * emacs-icon.h: Always define gnu_xpm_bits on GTK (bug#3671).
4
12009-06-24 Kenichi Handa <handa@m17n.org> 52009-06-24 Kenichi Handa <handa@m17n.org>
2 6
3 * fontset.c (fontset_get_font_group): Return 0 if no font-group is 7 * fontset.c (fontset_get_font_group): Return 0 if no font-group is
diff --git a/src/emacs-icon.h b/src/emacs-icon.h
index 56cd5c601df..0bd216e99ef 100644
--- a/src/emacs-icon.h
+++ b/src/emacs-icon.h
@@ -20,8 +20,9 @@ GNU General Public License for more details.
20You should have received a copy of the GNU General Public License 20You should have received a copy of the GNU General Public License
21along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 21along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
22 22
23 23/* Note that the GTK port uses gdk to display the icon, so Emacs need
24#if defined (HAVE_XPM) && defined (HAVE_X_WINDOWS) 24 not have XPM support compiled in. */
25#if (defined (HAVE_XPM) && defined (HAVE_X_WINDOWS)) || defined (USE_GTK)
25static char * gnu_xpm_bits[] = { 26static char * gnu_xpm_bits[] = {
26/* width height ncolors chars_per_pixel */ 27/* width height ncolors chars_per_pixel */
27"32 32 255 2", 28"32 32 255 2",
@@ -314,7 +315,7 @@ static char * gnu_xpm_bits[] = {
314"OPOPOPOPOPOPOPOPILILBIILPKCBJAAHJFBPILILOBOBAIOPOPOPOPOPOPOPOPOP", 315"OPOPOPOPOPOPOPOPILILBIILPKCBJAAHJFBPILILOBOBAIOPOPOPOPOPOPOPOPOP",
315"OPOPOPOPOPOPOPOPOPOPILMIGECABCPKGHAIILOBOBOPOPOPOPOPOPOPOPOPOPOP", 316"OPOPOPOPOPOPOPOPOPOPILMIGECABCPKGHAIILOBOBOPOPOPOPOPOPOPOPOPOPOP",
316"OPOPOPOPOPOPOPOPOPOPOPOPOPCAOPOPOPOPOPOPOPOPOPOPOPOPOPOPOPOPOPOP"}; 317"OPOPOPOPOPOPOPOPOPOPOPOPOPCAOPOPOPOPOPOPOPOPOPOPOPOPOPOPOPOPOPOP"};
317#endif /* defined (HAVE_XPM) && defined (HAVE_X_WINDOWS) */ 318#endif /* (defined (HAVE_XPM) && defined (HAVE_X_WINDOWS)) || defined (USE_GTK) */
318 319
319#define gnu_xbm_width 50 320#define gnu_xbm_width 50
320#define gnu_xbm_height 50 321#define gnu_xbm_height 50