comparison src/plugins.c @ 2086:424a40f12a6c

[gaim-migrate @ 2096] moving protocols from plugins/ to src/protocols. making it so that you can select which protocols are compiled statically. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 31 Jul 2001 01:00:39 +0000
parents 5028a07250c7
children b66aca8e8dce
comparison
equal deleted inserted replaced
2085:7ebb4322f89b 2086:424a40f12a6c
239 239
240 update_show_plugins(); 240 update_show_plugins();
241 save_prefs(); 241 save_prefs();
242 } 242 }
243 243
244 char *gaim_plugin_init(GModule *mod)
245 {
246 void (*asdf)(void *);
247 char *(*gem)();
248 g_module_symbol(mod, "do_stuff", (gpointer *)&asdf);
249 g_module_symbol(mod, "gem", (gpointer *)&gem);
250 asdf(gem);
251 return NULL;
252 }
253
254 void show_plugins(GtkWidget *w, gpointer data) 244 void show_plugins(GtkWidget *w, gpointer data)
255 { 245 {
256 /* most of this code was shamelessly stolen from Glade */ 246 /* most of this code was shamelessly stolen from Glade */
257 GtkWidget *mainvbox; 247 GtkWidget *mainvbox;
258 GtkWidget *tophbox; 248 GtkWidget *tophbox;