From 4f533d1b4d8eabd5eeb26f351db75e1c5378129a Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 7 Jan 2009 10:04:47 +0000 Subject: Add a comment that tells to keep EmpathySound enum sync with sound_entries array. svn path=/trunk/; revision=2109 --- libempathy-gtk/empathy-ui-utils.c | 2 +- libempathy-gtk/empathy-ui-utils.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'libempathy-gtk') 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, -- cgit v1.2.3