Mercurial > pidgin
comparison finch/gntprefs.c @ 18295:464004cc58e4
propagate from branch 'im.pidgin.pidgin' (head 704b8c18f7c29f1fc8bfcf640275d2a9928ed03c)
to branch 'org.maemo.garage.pidgin.smiley-install' (head 6a34c0d525ca3bb40837ac0334d8a353af0b0e34)
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Wed, 27 Jun 2007 21:43:18 +0000 |
parents | b8572b937c09 |
children | 65fedb03ac05 1cb69ea47a6e |
comparison
equal
deleted
inserted
replaced
17919:6c9c16275868 | 18295:464004cc58e4 |
---|---|
20 * | 20 * |
21 * You should have received a copy of the GNU General Public License | 21 * You should have received a copy of the GNU General Public License |
22 * along with this program; if not, write to the Free Software | 22 * along with this program; if not, write to the Free Software |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
24 */ | 24 */ |
25 #include "finch.h" | |
26 | |
25 #include <prefs.h> | 27 #include <prefs.h> |
26 #include <savedstatuses.h> | 28 #include <savedstatuses.h> |
27 | 29 |
28 #include "finch.h" | |
29 #include "gntprefs.h" | 30 #include "gntprefs.h" |
30 #include "gntrequest.h" | 31 #include "gntrequest.h" |
31 | 32 |
32 #include <string.h> | 33 #include <string.h> |
33 | 34 |
87 | 88 |
88 static GList * | 89 static GList * |
89 get_status_titles() | 90 get_status_titles() |
90 { | 91 { |
91 GList *list = NULL; | 92 GList *list = NULL; |
92 const GList *iter; | 93 GList *iter; |
93 for (iter = purple_savedstatuses_get_all(); iter; iter = iter->next) { | 94 for (iter = purple_savedstatuses_get_all(); iter; iter = iter->next) { |
94 char *str; | 95 char *str; |
95 if (purple_savedstatus_is_transient(iter->data)) | 96 if (purple_savedstatus_is_transient(iter->data)) |
96 continue; | 97 continue; |
97 str = g_strdup_printf("%ld", purple_savedstatus_get_creation_time(iter->data)); | 98 str = g_strdup_printf("%ld", purple_savedstatus_get_creation_time(iter->data)); |