diff options
author | Havoc Pennington <hp@pobox.com> | 2002-11-13 04:11:52 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-11-13 04:11:52 +0000 |
commit | d1aaf6a9b1e698cb91ee6948d4ad08c35b7a9eee (patch) | |
tree | 64d15f0cd1acae530daa8ec065a3932833113090 /src | |
parent | 5590e8878b77568b603b1ebbec6ef7b7c83cf313 (diff) | |
download | metacity-d1aaf6a9b1e698cb91ee6948d4ad08c35b7a9eee.tar.gz |
don't read from op->data.image when the op is an icon
2002-11-12 Havoc Pennington <hp@pobox.com>
* src/theme.c (draw_op_as_pixbuf): don't read from op->data.image
when the op is an icon
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 3 | ||||
-rwxr-xr-x | src/run-metacity.sh | 2 | ||||
-rw-r--r-- | src/theme.c | 6 |
3 files changed, 6 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index ce90d1de..90b1b121 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -112,7 +112,8 @@ metacity_dialog_SOURCES= \ bin_PROGRAMS=metacity metacity-theme-viewer libexec_PROGRAMS=metacity-dialog -metacity_LDADD= @METACITY_LIBS@ +EFENCE= +metacity_LDADD= $(EFENCE) @METACITY_LIBS@ $(EFENCE) metacity_theme_viewer_LDADD= @METACITY_LIBS@ libmetacity-private.la metacity_dialog_LDADD=@METACITY_LIBS@ diff --git a/src/run-metacity.sh b/src/run-metacity.sh index a131033a..98ccbf74 100755 --- a/src/run-metacity.sh +++ b/src/run-metacity.sh @@ -48,6 +48,8 @@ if test -n "$XINERAMA"; then XINERAMA_FLAGS='+xinerama' fi +export EF_ALLOW_MALLOC_0=1 + if test -z "$ONLY_WM"; then echo "Launching Xnest" Xnest -ac $XNEST_DISPLAY -scrns $SCREENS -geometry 640x480 -bw 15 $XINERAMA_FLAGS & diff --git a/src/theme.c b/src/theme.c index 76e9ee60..f1b6f41a 100644 --- a/src/theme.c +++ b/src/theme.c @@ -3140,15 +3140,13 @@ draw_op_as_pixbuf (const MetaDrawOp *op, op->data.icon.alpha_spec, op->data.icon.fill_type, width, height, - op->data.image.vertical_stripes, - op->data.image.horizontal_stripes); + FALSE, FALSE); else if (info->icon) pixbuf = scale_and_alpha_pixbuf (info->icon, op->data.icon.alpha_spec, op->data.icon.fill_type, width, height, - op->data.image.vertical_stripes, - op->data.image.horizontal_stripes); + FALSE, FALSE); break; case META_DRAW_TITLE: |