summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-02-12 13:45:52 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-02-12 13:45:52 (GMT)
commit1b861e39616fefd5cf6e8d5a2597c5d6d4052f28 (patch)
tree76d87a1336cc0ae03ff1717e7404dbbed46f098f /generic/ttk
parentb70033e1cc63f7b5421f9cf8e26f130283fd0009 (diff)
parentc7d61158224fc5925e7352a253eb2f7c17e20833 (diff)
downloadtk-1b861e39616fefd5cf6e8d5a2597c5d6d4052f28.zip
tk-1b861e39616fefd5cf6e8d5a2597c5d6d4052f28.tar.gz
tk-1b861e39616fefd5cf6e8d5a2597c5d6d4052f28.tar.bz2
Silence some compiler warnings.
Diffstat (limited to 'generic/ttk')
-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)