aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-07 18:04:47 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-07 18:04:47 +0800
commit4f533d1b4d8eabd5eeb26f351db75e1c5378129a (patch)
tree4e0737117cc32a5d16ff46b8f92ddeea93fb4a00
parent04e0ca6e092daf3e1d3b60f47fbfb0a6b2e5425c (diff)
downloadgsoc2013-empathy-4f533d1b4d8eabd5eeb26f351db75e1c5378129a.tar
gsoc2013-empathy-4f533d1b4d8eabd5eeb26f351db75e1c5378129a.tar.gz
gsoc2013-empathy-4f533d1b4d8eabd5eeb26f351db75e1c5378129a.tar.bz2
gsoc2013-empathy-4f533d1b4d8eabd5eeb26f351db75e1c5378129a.tar.lz
gsoc2013-empathy-4f533d1b4d8eabd5eeb26f351db75e1c5378129a.tar.xz
gsoc2013-empathy-4f533d1b4d8eabd5eeb26f351db75e1c5378129a.tar.zst
gsoc2013-empathy-4f533d1b4d8eabd5eeb26f351db75e1c5378129a.zip
Add a comment that tells to keep EmpathySound enum sync with sound_entries array.
svn path=/trunk/; revision=2109
-rw-r--r--libempathy-gtk/empathy-ui-utils.c2
-rw-r--r--libempathy-gtk/empathy-ui-utils.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 474148a68..7a9953ac0 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -1500,7 +1500,7 @@ typedef struct {
const char * gconf_key;
} EmpathySoundEntry;
-/* NOTE: these entries MUST be in the same order of the EmpathySound enum */
+/* NOTE: these entries MUST be in the same order than EmpathySound enum */
static EmpathySoundEntry sound_entries[LAST_EMPATHY_SOUND] = {
{ EMPATHY_SOUND_MESSAGE_INCOMING, "message-new-instant",
N_("Received an instant message"), EMPATHY_PREFS_SOUNDS_INCOMING_MESSAGE } ,
diff --git a/libempathy-gtk/empathy-ui-utils.h b/libempathy-gtk/empathy-ui-utils.h
index 0ed291af7..b61d9d86c 100644
--- a/libempathy-gtk/empathy-ui-utils.h
+++ b/libempathy-gtk/empathy-ui-utils.h
@@ -44,6 +44,7 @@
G_BEGIN_DECLS
+/* NOTE: Keep this sync with sound_entries in empathy-ui-utils.c */
typedef enum {
EMPATHY_SOUND_MESSAGE_INCOMING,
EMPATHY_SOUND_MESSAGE_OUTGOING,