aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-17 00:11:55 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-21 10:52:36 +0800
commita538f3f3100dbdbae1ea172ae3b8344e650d529d (patch)
treef1f8b15c56dbe92e46352853373382af9bf92de0 /addressbook
parentd8fd55f9ec0e70a0d5c8529ea989f8c272d0c443 (diff)
downloadgsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar
gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar.gz
gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar.bz2
gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar.lz
gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar.xz
gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar.zst
gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.zip
Fix several types of pedantic compiler warnings.
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/conduit/address-conduit.c4
-rw-r--r--addressbook/gui/component/addressbook-config.h2
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c2
-rw-r--r--addressbook/gui/widgets/a11y/ea-minicard.c2
-rw-r--r--addressbook/gui/widgets/e-addressbook-reflow-adapter.c2
-rw-r--r--addressbook/gui/widgets/eab-config.h2
6 files changed, 7 insertions, 7 deletions
diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c
index 79bcdc4750..a28c3c5f99 100644
--- a/addressbook/conduit/address-conduit.c
+++ b/addressbook/conduit/address-conduit.c
@@ -206,7 +206,7 @@ e_pilot_add_category_if_possible(char *cat_to_add, struct CategoryAppInfo *categ
category->name[i][j] = '\0';
}
- //find a desktop id that is not in use between 128 and 255
+ /* find a desktop id that is not in use between 128 and 255 */
/* XXX desktopUniqueID should really be used for tracking
* categories across renaming operations, but as Evo
* doesn't have a concept of category UIDs or renaming,
@@ -265,7 +265,7 @@ void e_pilot_local_category_to_remote(int * pilotCategory,
}
l = c_list;
while(l && *pilotCategory == 0) {
- //list != 0, so at least 1 category is assigned
+ /* list != 0, so at least 1 category is assigned */
category_string = e_pilot_utf8_to_pchar((const char *)l->data);
for (i=0; i < PILOT_MAX_CATEGORIES; i++) {
/* only 15 chars + nul in palm category name */
diff --git a/addressbook/gui/component/addressbook-config.h b/addressbook/gui/component/addressbook-config.h
index dc0452e6b1..92d16c795c 100644
--- a/addressbook/gui/component/addressbook-config.h
+++ b/addressbook/gui/component/addressbook-config.h
@@ -30,7 +30,7 @@
typedef enum {
ADDRESSBOOK_LDAP_AUTH_NONE,
ADDRESSBOOK_LDAP_AUTH_SIMPLE_EMAIL,
- ADDRESSBOOK_LDAP_AUTH_SIMPLE_BINDDN,
+ ADDRESSBOOK_LDAP_AUTH_SIMPLE_BINDDN
} AddressbookLDAPAuthType;
typedef enum {
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
index ccaf9b740f..9e07381e4e 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -124,7 +124,7 @@ struct _EContactListEditorPrivate {
#define VCARD_TYPE "text/x-vcard"
enum {
- TARGET_TYPE_VCARD,
+ TARGET_TYPE_VCARD
};
static GtkTargetEntry targets[] = {
diff --git a/addressbook/gui/widgets/a11y/ea-minicard.c b/addressbook/gui/widgets/a11y/ea-minicard.c
index d0219e03b5..258fcbd4bc 100644
--- a/addressbook/gui/widgets/a11y/ea-minicard.c
+++ b/addressbook/gui/widgets/a11y/ea-minicard.c
@@ -240,7 +240,7 @@ static gboolean atk_action_interface_do_action (AtkAction *iface, gint i)
return FALSE;
switch (i) {
- // open card
+ /* open card */
case 0:
e_minicard_activate_editor (minicard);
break;
diff --git a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c
index 2a2f1a2d87..1f9f44bf30 100644
--- a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c
+++ b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c
@@ -49,7 +49,7 @@ enum {
PROP_BOOK,
PROP_QUERY,
PROP_EDITABLE,
- PROP_MODEL,
+ PROP_MODEL
};
enum {
diff --git a/addressbook/gui/widgets/eab-config.h b/addressbook/gui/widgets/eab-config.h
index 59b1705764..6e593f1fb8 100644
--- a/addressbook/gui/widgets/eab-config.h
+++ b/addressbook/gui/widgets/eab-config.h
@@ -45,7 +45,7 @@ struct _EABConfigClass {
};
enum _eab_config_target_t {
- EAB_CONFIG_TARGET_SOURCE,
+ EAB_CONFIG_TARGET_SOURCE
};
typedef struct _EABConfigTargetSource EABConfigTargetSource;