aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-03-08 00:19:13 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-03-08 04:50:41 +0800
commit2b8003742082d5bbd9b80ed20de8cd0a14d89359 (patch)
tree567c3f46d5b948536dc7c794c4bcd172f1c16583 /e-util
parentd799ed066631b24993afc8a36ea33e04157d70cd (diff)
downloadgsoc2013-evolution-2b8003742082d5bbd9b80ed20de8cd0a14d89359.tar
gsoc2013-evolution-2b8003742082d5bbd9b80ed20de8cd0a14d89359.tar.gz
gsoc2013-evolution-2b8003742082d5bbd9b80ed20de8cd0a14d89359.tar.bz2
gsoc2013-evolution-2b8003742082d5bbd9b80ed20de8cd0a14d89359.tar.lz
gsoc2013-evolution-2b8003742082d5bbd9b80ed20de8cd0a14d89359.tar.xz
gsoc2013-evolution-2b8003742082d5bbd9b80ed20de8cd0a14d89359.tar.zst
gsoc2013-evolution-2b8003742082d5bbd9b80ed20de8cd0a14d89359.zip
Rename functions in previous commit.
Changed my mind... got more to add. e_get_next_weekday() -> e_weekday_get_next() e_get_prev_weekday() -> e_weekday_get_prev()
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-misc-utils.c8
-rw-r--r--e-util/e-misc-utils.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/e-util/e-misc-utils.c b/e-util/e-misc-utils.c
index af5d6906a1..261612c87b 100644
--- a/e-util/e-misc-utils.c
+++ b/e-util/e-misc-utils.c
@@ -1496,7 +1496,7 @@ e_get_weekday_name (GDateWeekday weekday,
}
/**
- * e_get_next_weekday:
+ * e_weekday_get_next:
* @weekday: a #GDateWeekday
*
* Returns the #GDateWeekday after @weekday.
@@ -1504,7 +1504,7 @@ e_get_weekday_name (GDateWeekday weekday,
* Returns: the day after @weekday
**/
GDateWeekday
-e_get_next_weekday (GDateWeekday weekday)
+e_weekday_get_next (GDateWeekday weekday)
{
GDateWeekday next;
@@ -1540,7 +1540,7 @@ e_get_next_weekday (GDateWeekday weekday)
}
/**
- * e_get_prev_weekday:
+ * e_weekday_get_prev:
* @weekday: a #GDateWeekday
*
* Returns the #GDateWeekday before @weekday.
@@ -1548,7 +1548,7 @@ e_get_next_weekday (GDateWeekday weekday)
* Returns: the day before @weekday
**/
GDateWeekday
-e_get_prev_weekday (GDateWeekday weekday)
+e_weekday_get_prev (GDateWeekday weekday)
{
GDateWeekday prev;
diff --git a/e-util/e-misc-utils.h b/e-util/e-misc-utils.h
index ee7e276152..282b1fda04 100644
--- a/e-util/e-misc-utils.h
+++ b/e-util/e-misc-utils.h
@@ -139,8 +139,8 @@ const gchar * e_get_month_name (GDateMonth month,
gboolean abbreviated);
const gchar * e_get_weekday_name (GDateWeekday weekday,
gboolean abbreviated);
-GDateWeekday e_get_next_weekday (GDateWeekday weekday);
-GDateWeekday e_get_prev_weekday (GDateWeekday weekday);
+GDateWeekday e_weekday_get_next (GDateWeekday weekday);
+GDateWeekday e_weekday_get_prev (GDateWeekday weekday);
gboolean e_file_lock_create (void);
void e_file_lock_destroy (void);