comparison src/plugins.c @ 134:00c1ee609648

[gaim-migrate @ 144] Heh, whoops. Silly bug. If you only have one plugin loaded, and it's configurable, and you unload it, the 'configure' button wouldn't deactivate, and so you could still click on it, and it would segfault. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 19 Apr 2000 02:23:30 +0000
parents 4290a5a20d3c
children e8ea1e2fdf0c
comparison
equal deleted inserted replaced
133:e277d5f0c1dd 134:00c1ee609648
342 } 342 }
343 dlclose(p->handle); 343 dlclose(p->handle);
344 344
345 plugins = g_list_remove(plugins, p); 345 plugins = g_list_remove(plugins, p);
346 g_free(p); 346 g_free(p);
347 gtk_widget_set_sensitive(config, 0);
347 update_show_plugins(); 348 update_show_plugins();
348 } 349 }
349 350
350 void list_clicked(GtkWidget *w, struct gaim_plugin *p) { 351 void list_clicked(GtkWidget *w, struct gaim_plugin *p) {
351 gchar buffer[2048]; 352 gchar buffer[2048];