changeset 9018:bb168141eb5f

[gaim-migrate @ 9794] I have a feeling returning act here is important. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 22 May 2004 22:37:33 +0000
parents 8db7732df1fd
children db1dc2d02020
files src/plugin.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugin.c	Sat May 22 19:55:39 2004 +0000
+++ b/src/plugin.c	Sat May 22 22:37:33 2004 +0000
@@ -1159,7 +1159,10 @@
 gaim_plugin_action_new(char* label, void (*callback)(GaimPluginAction *))
 {
 	GaimPluginAction *act = g_new0(GaimPluginAction, 1);
+
 	act->label = label;
 	act->callback = callback;
+
+	return act;
 }