diff plugins/chatlist.c @ 3630:9682c0e022c6

[gaim-migrate @ 3753] Yeah this will probably break a lot of shit knowing my luck. But hey, I really don't care what people thnk. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Fri, 11 Oct 2002 03:14:01 +0000
parents 154c4a9d9b6d
children c66ed5df69ef
line wrap: on
line diff
--- a/plugins/chatlist.c	Fri Oct 11 02:10:08 2002 +0000
+++ b/plugins/chatlist.c	Fri Oct 11 03:14:01 2002 +0000
@@ -10,6 +10,9 @@
 
 #include <stdlib.h>
 #include <string.h>
+#ifdef _WIN32
+#include "win32dep.h"
+#endif
 
 #define AOL_SRCHSTR "aim:GoChat?RoomName="
 
@@ -293,7 +296,7 @@
 	parent = NULL;
 }
 
-GtkWidget *gaim_plugin_config_gtk()
+G_MODULE_EXPORT GtkWidget *gaim_plugin_config_gtk()
 {
 	GtkWidget *ret, *vbox;
 	GtkWidget *list1, *list2;
@@ -390,14 +393,14 @@
 	setup_buddy_chats();
 }
 
-char *gaim_plugin_init(GModule *m)
+G_MODULE_EXPORT char *gaim_plugin_init(GModule *m)
 {
 	restore_chat_prefs();
 	gaim_signal_connect(m, event_signon, handle_signon, NULL);
 	return NULL;
 }
 
-void gaim_plugin_remove()
+G_MODULE_EXPORT void gaim_plugin_remove()
 {
 	if (parent)
 		gtk_widget_destroy(parent);
@@ -428,12 +431,12 @@
 	return &desc;
 }
 
-char *name()
+G_MODULE_EXPORT char *name()
 {
 	return "Chat List";
 }
 
-char *description()
+G_MODULE_EXPORT char *description()
 {
 	return "Allows you to add chat rooms to your buddy list. Click the configure button to choose"
 		" which rooms.";