summaryrefslogtreecommitdiff
path: root/Logo.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-22 15:40:27 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-22 15:40:27 -0200
commit9bb8ad30520e9e9d688e844e18590b371a2ac1a9 (patch)
treef3a60fad0ef2032e39b96d0751d56ebfb73e8a8b /Logo.c
parent15a8c8d5c3db1945a3ba6876241d04f0027e9dcd (diff)
Correct make distcheck and sparse warnings.
Diffstat (limited to 'Logo.c')
-rw-r--r--Logo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Logo.c b/Logo.c
index 99d2153..cd5b113 100644
--- a/Logo.c
+++ b/Logo.c
@@ -239,7 +239,7 @@ RenderPrepare (LogoWidget w)
}
}
-XtConvertArgRec xftColorConvertArgs[] = {
+static XtConvertArgRec xftColorConvertArgs[] = {
{XtWidgetBaseOffset, (XtPointer)XtOffsetOf(WidgetRec, core.screen),
sizeof(Screen *)},
{XtWidgetBaseOffset, (XtPointer)XtOffsetOf(WidgetRec, core.colormap),
@@ -367,7 +367,7 @@ Initialize(Widget request, Widget new, ArgList args, Cardinal *num_args)
LogoWidget w = (LogoWidget)new;
#ifdef XRENDER
- w->logo.draw = 0;
+ w->logo.draw = NULL;
w->logo.fgpixel = w->logo.fg.pixel;
#endif
if (w->core.width < 1) w->core.width = 100;