aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/addressbook/ea-minicard.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 23:13:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-29 00:13:23 +0800
commitfad4af8a3d4c6f50f7bcceca8d545eb17d6fd056 (patch)
treeae78be371695c3dc18847b87d3f014f985aa3a40 /a11y/addressbook/ea-minicard.c
parent6f5464f34ceec9e5701e3e3e651a40f9e6b3a072 (diff)
downloadgsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.gz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.bz2
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.lz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.xz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.zst
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'a11y/addressbook/ea-minicard.c')
-rw-r--r--a11y/addressbook/ea-minicard.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/a11y/addressbook/ea-minicard.c b/a11y/addressbook/ea-minicard.c
index d77d591fcc..b1b1ebbe33 100644
--- a/a11y/addressbook/ea-minicard.c
+++ b/a11y/addressbook/ea-minicard.c
@@ -27,12 +27,12 @@
#include "ea-minicard-view.h"
#include "e-minicard.h"
-static const char * action_name[] = {
+static const gchar * action_name[] = {
N_("Open")
};
-static G_CONST_RETURN gchar* ea_minicard_get_name (AtkObject *accessible);
-static G_CONST_RETURN gchar* ea_minicard_get_description (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_minicard_get_name (AtkObject *accessible);
+static G_CONST_RETURN gchar * ea_minicard_get_description (AtkObject *accessible);
static void ea_minicard_class_init (EaMinicardClass *klass);
@@ -44,8 +44,8 @@ static AtkStateSet *ea_minicard_ref_state_set (AtkObject *obj);
static void atk_action_interface_init (AtkActionIface *iface);
static gboolean atk_action_interface_do_action (AtkAction *iface, gint i);
static gint atk_action_interface_get_n_action (AtkAction *iface);
-static G_CONST_RETURN gchar* atk_action_interface_get_description (AtkAction *iface, gint i);
-static G_CONST_RETURN gchar* atk_action_interface_get_name (AtkAction *iface, gint i);
+static G_CONST_RETURN gchar * atk_action_interface_get_description (AtkAction *iface, gint i);
+static G_CONST_RETURN gchar * atk_action_interface_get_name (AtkAction *iface, gint i);
static gpointer parent_class = NULL;
@@ -117,7 +117,7 @@ ea_minicard_class_init (EaMinicardClass *klass)
* we access the main content of current minicard, including
* header text, label(field, field name)
*/
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_minicard_get_name (AtkObject *accessible)
{
#define BUFFERSIZE 500
@@ -159,7 +159,7 @@ ea_minicard_get_name (AtkObject *accessible)
return accessible->name;
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
ea_minicard_get_description (AtkObject *accessible)
{
if (accessible->description)
@@ -256,13 +256,13 @@ static gint atk_action_interface_get_n_action (AtkAction *iface)
return G_N_ELEMENTS (action_name);
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
atk_action_interface_get_description (AtkAction *iface, gint i)
{
return atk_action_interface_get_name (iface, i);
}
-static G_CONST_RETURN gchar*
+static G_CONST_RETURN gchar *
atk_action_interface_get_name (AtkAction *iface, gint i)
{
if( i >= G_N_ELEMENTS (action_name) || i < 0)