empathy r2109 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2109 - trunk/libempathy-gtk
- Date: Wed, 7 Jan 2009 10:04:47 +0000 (UTC)
Author: xclaesse
Date: Wed Jan 7 10:04:47 2009
New Revision: 2109
URL: http://svn.gnome.org/viewvc/empathy?rev=2109&view=rev
Log:
Add a comment that tells to keep EmpathySound enum sync with sound_entries array.
Modified:
trunk/libempathy-gtk/empathy-ui-utils.c
trunk/libempathy-gtk/empathy-ui-utils.h
Modified: trunk/libempathy-gtk/empathy-ui-utils.c
==============================================================================
--- trunk/libempathy-gtk/empathy-ui-utils.c (original)
+++ trunk/libempathy-gtk/empathy-ui-utils.c Wed Jan 7 10:04:47 2009
@@ -1500,7 +1500,7 @@
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 } ,
Modified: trunk/libempathy-gtk/empathy-ui-utils.h
==============================================================================
--- trunk/libempathy-gtk/empathy-ui-utils.h (original)
+++ trunk/libempathy-gtk/empathy-ui-utils.h Wed Jan 7 10:04:47 2009
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]