[Goodies-commits] r4828 - in xfce4-datetime-plugin/trunk: . panel-plugin
Diego Ongaro
ongardie at xfce.org
Mon May 19 23:42:54 CEST 2008
Author: ongardie
Date: 2008-05-19 21:42:54 +0000 (Mon, 19 May 2008)
New Revision: 4828
Modified:
xfce4-datetime-plugin/trunk/ChangeLog
xfce4-datetime-plugin/trunk/panel-plugin/datetime-dialog.c
Log:
Missing static keywords
Modified: xfce4-datetime-plugin/trunk/ChangeLog
===================================================================
--- xfce4-datetime-plugin/trunk/ChangeLog 2008-05-19 16:12:20 UTC (rev 4827)
+++ xfce4-datetime-plugin/trunk/ChangeLog 2008-05-19 21:42:54 UTC (rev 4828)
@@ -1,3 +1,6 @@
+2008-05-18 Diego Ongaro <ongardie at gmail.com>
+ * panel-plugin/datetime-dialog.c: Missing static keywords
+
2008-05-17 Diego Ongaro <ongardie at gmail.com>
* panel-plugin/datetime-dialog.c:
- translate strings in combo boxes
Modified: xfce4-datetime-plugin/trunk/panel-plugin/datetime-dialog.c
===================================================================
--- xfce4-datetime-plugin/trunk/panel-plugin/datetime-dialog.c 2008-05-19 16:12:20 UTC (rev 4827)
+++ xfce4-datetime-plugin/trunk/panel-plugin/datetime-dialog.c 2008-05-19 21:42:54 UTC (rev 4828)
@@ -35,7 +35,7 @@
#include "datetime-dialog.h"
/* Layouts */
-const char *layout_strs[] = {
+static const char *layout_strs[] = {
N_("Date only"),
N_("Date only, time in tooltip"),
N_("Time only"),
@@ -46,7 +46,7 @@
/* builtin formats - derived from xfce4-panel-clock.patch by Nick Schermer */
#define TIME_FORMAT_COUNT 6
-const char *time_format[] = {
+static const char *time_format[] = {
"%H:%M", "%H:%M:%S",
"%l:%M %P", "%l:%M:%S %P",
"---",
@@ -54,7 +54,7 @@
};
#define DATE_FORMAT_COUNT 13
-const char *date_format[] = {
+static const char *date_format[] = {
"%Y/%m/%d", "%m/%d/%Y",
"%B %d, %Y", "%b %d, %Y",
"%A, %B %d, %Y", "%a, %b %d, %Y",
@@ -65,7 +65,7 @@
};
/* example timestamp to show in the dialog */
-const time_t example_time_t = 946684799;
+static const time_t example_time_t = 946684799;
/*
* show and read fonts and inform datetime about it
More information about the Goodies-commits
mailing list