comparison pidgin/gtksound.c @ 21015:787b3897ba9f

Patch from Andrew Gaul to constify a bunch of static variables to reduce the amount of writable memory +08108000 12K rwx-- /local/local/bin/pidgin -08107000 16K rwx-- /local/local/bin/pidgin +005bf000 20K rwx-- /local/local/lib/libpurple.so.0.2.1 -005be000 24K rwx-- /local/local/lib/libpurple.so.0.2.1
author Ka-Hing Cheung <khc@hxbc.us>
date Fri, 26 Oct 2007 04:59:23 +0000
parents d4cdca890d8e
children 901b3e13c633
comparison
equal deleted inserted replaced
21014:0314cb293463 21015:787b3897ba9f
58 58
59 #ifdef USE_GSTREAMER 59 #ifdef USE_GSTREAMER
60 static gboolean gst_init_failed; 60 static gboolean gst_init_failed;
61 #endif /* USE_GSTREAMER */ 61 #endif /* USE_GSTREAMER */
62 62
63 static struct pidgin_sound_event sounds[PURPLE_NUM_SOUNDS] = { 63 static const struct pidgin_sound_event sounds[PURPLE_NUM_SOUNDS] = {
64 {N_("Buddy logs in"), "login", "login.wav"}, 64 {N_("Buddy logs in"), "login", "login.wav"},
65 {N_("Buddy logs out"), "logout", "logout.wav"}, 65 {N_("Buddy logs out"), "logout", "logout.wav"},
66 {N_("Message received"), "im_recv", "receive.wav"}, 66 {N_("Message received"), "im_recv", "receive.wav"},
67 {N_("Message received begins conversation"), "first_im_recv", "receive.wav"}, 67 {N_("Message received begins conversation"), "first_im_recv", "receive.wav"},
68 {N_("Message sent"), "send_im", "send.wav"}, 68 {N_("Message sent"), "send_im", "send.wav"},