diff options
author | das <das> | 2006-11-03 03:06:21 (GMT) |
---|---|---|
committer | das <das> | 2006-11-03 03:06:21 (GMT) |
commit | 6a21e72df71f06d61c44e3de34afe26973732214 (patch) | |
tree | ddde20bc872b7fac3e8a946a67418e60dcc23428 /generic/ttk/ttkImage.c | |
parent | 576cbeb2f5ccec11ea4ebb71b788d4527ee1aae3 (diff) | |
download | tk-6a21e72df71f06d61c44e3de34afe26973732214.zip tk-6a21e72df71f06d61c44e3de34afe26973732214.tar.gz tk-6a21e72df71f06d61c44e3de34afe26973732214.tar.bz2 |
* generic/ttk/ttkBlink.c, generic/ttk/ttkButton.c:
* generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c:
* generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c:
* generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c:
* generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c:
* generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c:
* generic/ttk/ttkLayout.c, generic/ttk/ttkManager.h:
* generic/ttk/ttkNotebook.c, generic/ttk/ttkPanedwindow.c:
* generic/ttk/ttkProgress.c, generic/ttk/ttkScale.c:
* generic/ttk/ttkScroll.c, generic/ttk/ttkScrollbar.c:
* generic/ttk/ttkSeparator.c, generic/ttk/ttkSquare.c:
* generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c:
* generic/ttk/ttkTheme.c, generic/ttk/ttkTheme.h:
* generic/ttk/ttkThemeInt.h, generic/ttk/ttkTrack.c:
* generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c:
* generic/ttk/ttkWidget.h, macosx/ttkMacOSXTheme.c:
* win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: ensure
all global Ttk symbols have Ttk or ttk prefix; declare all externally
visible Ttk symbols not contained in stubs table as MODULE_SCOPE (or as
static when possible); so that 'make check{exports,stubs}' once again
complete without errors.
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*/ |