pidgin/plugins/history.c

branch
release-2.x.y
changeset 40764
d687fda4047d
parent 37239
b4e5abab1114
equal deleted inserted replaced
40761:f8ecce79cb9a 40764:d687fda4047d
4 #include "internal.h" 4 #include "internal.h"
5 #include "pidgin.h" 5 #include "pidgin.h"
6 6
7 #include "conversation.h" 7 #include "conversation.h"
8 #include "debug.h" 8 #include "debug.h"
9 #include "glibcompat.h"
9 #include "log.h" 10 #include "log.h"
10 #include "notify.h" 11 #include "notify.h"
11 #include "prefs.h" 12 #include "prefs.h"
12 #include "signals.h" 13 #include "signals.h"
13 #include "util.h" 14 #include "util.h"
148 g_free(protocol); 149 g_free(protocol);
149 150
150 g_object_ref(G_OBJECT(gtkconv->imhtml)); 151 g_object_ref(G_OBJECT(gtkconv->imhtml));
151 g_idle_add(_scroll_imhtml_to_end, gtkconv->imhtml); 152 g_idle_add(_scroll_imhtml_to_end, gtkconv->imhtml);
152 153
153 g_list_foreach(logs, (GFunc)purple_log_free, NULL); 154 g_list_free_full(logs, (GDestroyNotify)purple_log_free);
154 g_list_free(logs);
155 } 155 }
156 156
157 static void 157 static void
158 history_prefs_check(PurplePlugin *plugin) 158 history_prefs_check(PurplePlugin *plugin)
159 { 159 {

mercurial