summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkLabel.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-02-12 12:51:10 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-02-12 12:51:10 (GMT)
commite6b4870d4f61887fd44d960a9aa579cea35a6573 (patch)
tree587344f98f1985de320c58734134f3eee93b87f8 /generic/ttk/ttkLabel.c
parent7a579bc55967e3b4c5873c02e3823a484c45665b (diff)
downloadtk-e6b4870d4f61887fd44d960a9aa579cea35a6573.zip
tk-e6b4870d4f61887fd44d960a9aa579cea35a6573.tar.gz
tk-e6b4870d4f61887fd44d960a9aa579cea35a6573.tar.bz2
Silence some compiler warnings
Diffstat (limited to 'generic/ttk/ttkLabel.c')
-rw-r--r--generic/ttk/ttkLabel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/ttk/ttkLabel.c b/generic/ttk/ttkLabel.c
index d51388b..1037840 100644
--- a/generic/ttk/ttkLabel.c
+++ b/generic/ttk/ttkLabel.c
@@ -293,6 +293,7 @@ static void ImageCleanup(ImageElement *image)
TtkFreeImageSpec(image->imageSpec);
}
+#ifndef MAC_OSX_TK
/*
* StippleOver --
* Draw a stipple over the image area, to make it look "grayed-out"
@@ -317,6 +318,7 @@ static void StippleOver(
Tk_FreeBitmapFromObj(tkwin, image->stippleObj);
}
}
+#endif
static void ImageDraw(
ImageElement *image, Tk_Window tkwin,Drawable d,Ttk_Box b,Ttk_State state)