From ce3b0f38732303c731de51d8b265e1fd663bbc72 Mon Sep 17 00:00:00 2001 From: jenglish Date: Fri, 1 Dec 2006 15:05:27 +0000 Subject: Dead code removal. FossilOrigin-Name: fb532f2f637bd3343d199aa59fa99dc4f0f73084 --- ChangeLog | 5 +++++ generic/ttk/ttkLayout.c | 7 +------ generic/ttk/ttkTheme.h | 3 +-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index a534cea..fd16dd7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-12-01 Joe English + + * generic/ttk/ttkTheme.h, generic/ttk/ttkLayout.c: + Dead code removal. + 2006-11-30 Daniel Steffen * 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 @@ -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); -- cgit v0.12