aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/misc.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
commit948235c3d1076dbe6ed2e57a24c16a083bbd9f01 (patch)
tree4133b1adfd94d8f889ca7ad4ad851346518f4171 /calendar/gui/misc.c
parentcc3a98fc1ad5bb87aa7335f3de404ee7feee1541 (diff)
downloadgsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.gz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.bz2
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.lz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.xz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.zst
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'calendar/gui/misc.c')
-rw-r--r--calendar/gui/misc.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/calendar/gui/misc.c b/calendar/gui/misc.c
index ab657d8872..9fdf6f971b 100644
--- a/calendar/gui/misc.c
+++ b/calendar/gui/misc.c
@@ -45,9 +45,9 @@
* Return value: TRUE if the string is empty, FALSE otherwise.
**/
gboolean
-string_is_empty (const char *value)
+string_is_empty (const gchar *value)
{
- const char *p;
+ const gchar *p;
gboolean empty;
empty = TRUE;
@@ -69,11 +69,11 @@ string_is_empty (const char *value)
/**
* get_uri_without_password
*/
-char *
-get_uri_without_password (const char *full_uri)
+gchar *
+get_uri_without_password (const gchar *full_uri)
{
EUri *uri;
- char *uristr;
+ gchar *uristr;
uri = e_uri_new (full_uri);
if (!uri)
@@ -98,15 +98,15 @@ get_position_in_array (GPtrArray *objects, gpointer item)
return -1;
}
-char *
+gchar *
calculate_time (time_t start, time_t end)
{
time_t difference = end - start;
- char *str;
- int hours, minutes;
- char *times[4];
- char *joined;
- int i;
+ gchar *str;
+ gint hours, minutes;
+ gchar *times[4];
+ gchar *joined;
+ gint i;
i = 0;
if (difference >= 3600) {