comparison plugins/codeinline.c @ 14035:8bda65b88e49

[gaim-migrate @ 16638] A bunch of small changes. Mostly remove "if not null" checks before calling g_free, g_list_free, g_slist_free and g_strdup. Also use g_list_foreach() to call g_free to free strings in an array. And some whitespace changes here and there. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 05 Aug 2006 08:27:39 +0000
parents f09c6e8df82c
children
comparison
equal deleted inserted replaced
14034:0839a7b71325 14035:8bda65b88e49
46 return FALSE; 46 return FALSE;
47 } 47 }
48 48
49 static gboolean 49 static gboolean
50 plugin_load(GaimPlugin *plugin) 50 plugin_load(GaimPlugin *plugin)
51 { 51 {
52 void *handle = gaim_conversations_get_handle(); 52 void *handle = gaim_conversations_get_handle();
53 plugin_handle = plugin; 53 plugin_handle = plugin;
54 gaim_signal_connect(handle, "writing-im-msg", plugin, 54 gaim_signal_connect(handle, "writing-im-msg", plugin,
55 GAIM_CALLBACK(outgoing_msg_cb), NULL); 55 GAIM_CALLBACK(outgoing_msg_cb), NULL);
56 56
57 return TRUE; 57 return TRUE;
58 } 58 }
59 59
60 60
61 static GaimPluginInfo info = 61 static GaimPluginInfo info =