Mercurial > pidgin.yaz
comparison src/conversation.c @ 4160:fcc6db86f5c7
[gaim-migrate @ 4389]
Nicola's Lichtmaier (niqueco) writes:
"Several things:
I've added some "const"s here and there.
I've declared some functions as "pure" or "const"
(helps gcc to optimize the code).
I've declared debug_printf so that gcc can check the
printf format string (this makes visible several
formatting bugs!)
I've changed minor things in util.c (why having an
useless extra call to g_strncasecmp?).
And I've added some _() as usual.
I hope some of this gets checked in, if not all."
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Tue, 31 Dec 2002 18:19:14 +0000 |
parents | 78eeef03b419 |
children | d3c8d2b40494 |
comparison
equal
deleted
inserted
replaced
4159:3f267c74e50a | 4160:fcc6db86f5c7 |
---|---|
315 | 315 |
316 if (cnv && !(im_options & OPT_IM_ONE_WINDOW)) | 316 if (cnv && !(im_options & OPT_IM_ONE_WINDOW)) |
317 set_convo_title(cnv); | 317 set_convo_title(cnv); |
318 } | 318 } |
319 | 319 |
320 struct log_conversation *find_log_info(char *name) | 320 struct log_conversation *find_log_info(const char *name) |
321 { | 321 { |
322 char *pname = g_malloc(1024); | 322 char *pname = g_malloc(1024); |
323 GList *lc = log_conversations; | 323 GList *lc = log_conversations; |
324 struct log_conversation *l; | 324 struct log_conversation *l; |
325 | 325 |