diff options
author | jenglish <jenglish@noemail.net> | 2006-12-01 15:05:27 (GMT) |
---|---|---|
committer | jenglish <jenglish@noemail.net> | 2006-12-01 15:05:27 (GMT) |
commit | ce3b0f38732303c731de51d8b265e1fd663bbc72 (patch) | |
tree | 5e16979b3c5b841b5692d4fbc91b33b4104f4356 | |
parent | 656670215931f7b3acd1f993e76dffea9fc22c88 (diff) | |
download | tk-ce3b0f38732303c731de51d8b265e1fd663bbc72.zip tk-ce3b0f38732303c731de51d8b265e1fd663bbc72.tar.gz tk-ce3b0f38732303c731de51d8b265e1fd663bbc72.tar.bz2 |
Dead code removal.
FossilOrigin-Name: fb532f2f637bd3343d199aa59fa99dc4f0f73084
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/ttk/ttkLayout.c | 7 | ||||
-rw-r--r-- | generic/ttk/ttkTheme.h | 3 |
3 files changed, 7 insertions, 8 deletions
@@ -1,3 +1,8 @@ +2006-12-01 Joe English <jenglish@users.sourceforge.net> + + * generic/ttk/ttkTheme.h, generic/ttk/ttkLayout.c: + Dead code removal. + 2006-11-30 Daniel Steffen <das@users.sourceforge.net> * macosx/tkMacOSXDialog.c (Tk_MessageBoxObjCmd): fix inability to use diff --git a/generic/ttk/ttkLayout.c b/generic/ttk/ttkLayout.c index 09370ea..12f372a 100644 --- a/generic/ttk/ttkLayout.c +++ b/generic/ttk/ttkLayout.c @@ -5,7 +5,7 @@ * * Copyright (c) 2003 Joe English. Freely redistributable. * - * $Id: ttkLayout.c,v 1.3 2006/11/03 15:42:42 patthoyts Exp $ + * $Id: ttkLayout.c,v 1.4 2006/12/01 15:05:28 jenglish Exp $ */ #include <string.h> @@ -1178,11 +1178,6 @@ Ttk_Box Ttk_LayoutNodeParcel(Ttk_LayoutNode *node) return node->parcel; } -void Ttk_LayoutNodeSetParcel(Ttk_LayoutNode *node, Ttk_Box parcel) -{ - node->parcel = parcel; -} - void Ttk_PlaceLayoutNode(Ttk_Layout layout, Ttk_LayoutNode *node, Ttk_Box b) { node->parcel = b; diff --git a/generic/ttk/ttkTheme.h b/generic/ttk/ttkTheme.h index 1871a91..513701d 100644 --- a/generic/ttk/ttkTheme.h +++ b/generic/ttk/ttkTheme.h @@ -4,7 +4,7 @@ * * Copyright (c) 2003 Joe English. Freely redistributable. * - * $Id: ttkTheme.h,v 1.3 2006/11/03 15:42:42 patthoyts Exp $ + * $Id: ttkTheme.h,v 1.4 2006/12/01 15:05:28 jenglish Exp $ */ #ifndef _TTKTHEME @@ -341,7 +341,6 @@ MODULE_SCOPE Ttk_Box Ttk_LayoutNodeInternalParcel(Ttk_Layout,Ttk_LayoutNode *); MODULE_SCOPE Ttk_Padding Ttk_LayoutNodeInternalPadding(Ttk_Layout,Ttk_LayoutNode *); MODULE_SCOPE void Ttk_LayoutNodeReqSize(Ttk_Layout, Ttk_LayoutNode *, int *w, int *h); -MODULE_SCOPE void Ttk_LayoutNodeSetParcel(Ttk_LayoutNode *node, Ttk_Box parcel); MODULE_SCOPE void Ttk_PlaceLayoutNode(Ttk_Layout,Ttk_LayoutNode *, Ttk_Box); MODULE_SCOPE void Ttk_ChangeElementState(Ttk_LayoutNode *,unsigned set,unsigned clr); |