From 91c2d0aab9a03eaa94637de8b8e8af49abdc26fa Mon Sep 17 00:00:00 2001 From: Jactry Zeng Date: Sun, 17 Aug 2014 19:52:27 +0800 Subject: [PATCH] dialogs/display-settings: Initialise x,y in on_area_paint(). --- dialogs/display-settings/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c index a7ee1f5..2080b9c 100644 --- a/dialogs/display-settings/main.c +++ b/dialogs/display-settings/main.c @@ -2514,7 +2514,7 @@ on_area_paint (FooScrollArea *area, { GList *connected_outputs = NULL; GList *list; - double x, y; + double x = 0.0, y = 0.0; paint_background (area, cr); @@ -2965,7 +2965,7 @@ main (gint argc, gchar **argv) if (G_UNLIKELY (opt_version)) { g_print ("%s %s (Xfce %s)\n\n", G_LOG_DOMAIN, PACKAGE_VERSION, xfce_version_string ()); - g_print ("%s\n", "Copyright (c) 2004-2011"); + g_print ("%s\n", "Copyright (c) 2004-2014"); g_print ("\t%s\n\n", _("The Xfce development team. All rights reserved.")); g_print (_("Please report bugs to <%s>."), PACKAGE_BUGREPORT); g_print ("\n"); -- 1.9.1