Mercurial > pidgin.yaz
comparison src/gtkprefs.c @ 5870:44d381ad19a9
[gaim-migrate @ 6302]
This is some mem leak fixes.
I made the select buddy icon dialog be openable twice, and not give gdk messages.
It should all be reasonably clutch.
Also, tonight is Chips & Dip night, so get some Chips & Dip, some people,
possibly some alcohol, and probably a movie.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 14 Jun 2003 20:23:20 +0000 |
parents | d048e5f2af27 |
children | 059d95c67cda |
comparison
equal
deleted
inserted
replaced
5869:2f86cf55b0e9 | 5870:44d381ad19a9 |
---|---|
2028 for (j=0; j < GAIM_NUM_SOUNDS; j++) { | 2028 for (j=0; j < GAIM_NUM_SOUNDS; j++) { |
2029 char *pref = g_strdup_printf("/gaim/gtk/sound/enabled/%s", | 2029 char *pref = g_strdup_printf("/gaim/gtk/sound/enabled/%s", |
2030 gaim_gtk_sound_get_event_option(j)); | 2030 gaim_gtk_sound_get_event_option(j)); |
2031 const char *label = gaim_gtk_sound_get_event_label(j); | 2031 const char *label = gaim_gtk_sound_get_event_label(j); |
2032 | 2032 |
2033 if (label == NULL) | 2033 if (label == NULL) { |
2034 g_free(pref); | |
2034 continue; | 2035 continue; |
2036 } | |
2035 | 2037 |
2036 gtk_list_store_append (event_store, &iter); | 2038 gtk_list_store_append (event_store, &iter); |
2037 gtk_list_store_set(event_store, &iter, | 2039 gtk_list_store_set(event_store, &iter, |
2038 0, gaim_prefs_get_bool(pref), | 2040 0, gaim_prefs_get_bool(pref), |
2039 1, _(label), | 2041 1, _(label), |