diff options
Diffstat (limited to 'generic/ttk/ttkImage.c')
-rw-r--r-- | generic/ttk/ttkImage.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/generic/ttk/ttkImage.c b/generic/ttk/ttkImage.c index 4e93235..130fcee 100644 --- a/generic/ttk/ttkImage.c +++ b/generic/ttk/ttkImage.c @@ -1,4 +1,4 @@ -/* $Id: ttkImage.c,v 1.1 2006/10/31 01:42:26 hobbs Exp $ +/* $Id: ttkImage.c,v 1.2 2006/11/03 03:06:22 das Exp $ * Ttk widget set -- image element factory. * * Copyright (C) 2004 Pat Thoyts <patthoyts@users.sf.net> @@ -202,7 +202,7 @@ static Ttk_ElementSpec ImageElementSpec = { TK_STYLE_VERSION_2, sizeof(NullElement), - NullElementOptions, + TtkNullElementOptions, ImageElementGeometry, ImageElementDraw }; @@ -283,9 +283,10 @@ error: return TCL_ERROR; } -void Ttk_ImageInit(Tcl_Interp *interp) +MODULE_SCOPE int Ttk_ImageInit(Tcl_Interp *); +int Ttk_ImageInit(Tcl_Interp *interp) { - Ttk_RegisterElementFactory(interp, "image", Ttk_CreateImageElement, NULL); + return Ttk_RegisterElementFactory(interp, "image", Ttk_CreateImageElement, NULL); } /*EOF*/ |