diff src/plugins.c @ 139:c009c4f4ad02

[gaim-migrate @ 149] Decided I wasn't going to implement a generic unload_plugin, and decided I liked the plugin box interface, and decided to make that the only interface. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 19 Apr 2000 20:28:02 +0000
parents e8ea1e2fdf0c
children fbabd28795d2
line wrap: on
line diff
--- a/src/plugins.c	Wed Apr 19 12:36:18 2000 +0000
+++ b/src/plugins.c	Wed Apr 19 20:28:02 2000 +0000
@@ -61,14 +61,13 @@
 
 /* --------------- Function Declarations --------------------- */
 
-       void load_plugin  (GtkWidget *, gpointer);
-       void unload_plugin(GtkWidget *, gpointer);
        void show_plugins (GtkWidget *, gpointer);
 
        void gaim_signal_connect   (void *, enum gaim_event, void *, void *);
        void gaim_signal_disconnect(void *, enum gaim_event, void *);
 
 static void destroy_plugins  (GtkWidget *, gpointer);
+static void load_plugin  (GtkWidget *, gpointer);
 static void load_which_plugin(GtkWidget *, gpointer);
 static void unload           (GtkWidget *, gpointer);
 static void list_clicked     (GtkWidget *, struct gaim_plugin *);
@@ -83,7 +82,7 @@
 	plugin_dialog = NULL;
 }
 
-void load_plugin(GtkWidget *w, gpointer data)
+static void load_plugin(GtkWidget *w, gpointer data)
 {
 	char *buf = g_malloc(BUF_LEN);
  
@@ -120,7 +119,7 @@
 	gdk_window_raise(plugin_dialog->window);   
 }
 
-void load_which_plugin(GtkWidget *w, gpointer data) {
+static void load_which_plugin(GtkWidget *w, gpointer data) {
 	struct gaim_plugin *plug;
 	void (*gaim_plugin_init)();
 	char *(*cfunc)();
@@ -170,10 +169,6 @@
 	update_show_plugins();
 }
 
-void unload_plugin(GtkWidget *w, gpointer data) {
-	/* FIXME */
-}
-
 void show_plugins(GtkWidget *w, gpointer data) {
 	/* most of this code was shamelessly stolen from prefs.c */
 	GtkWidget *page;