aboutsummaryrefslogtreecommitdiffstats
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
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()
-rw-r--r--doc/reference/libeutil/libeutil-sections.txt4
-rw-r--r--e-util/e-misc-utils.c8
-rw-r--r--e-util/e-misc-utils.h4
3 files changed, 8 insertions, 8 deletions
diff --git a/doc/reference/libeutil/libeutil-sections.txt b/doc/reference/libeutil/libeutil-sections.txt
index 6d87f8f8d3..3d6758a6be 100644
--- a/doc/reference/libeutil/libeutil-sections.txt
+++ b/doc/reference/libeutil/libeutil-sections.txt
@@ -2247,8 +2247,8 @@ e_strftime_fix_am_pm
e_utf8_strftime_fix_am_pm
e_get_month_name
e_get_weekday_name
-e_get_next_weekday
-e_get_prev_weekday
+e_weekday_get_next
+e_weekday_get_prev
e_flexible_strtod
E_ASCII_DTOSTR_BUF_SIZE
e_ascii_dtostr
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);