comparison src/plugins.c @ 2280:13d5d7e829c9

[gaim-migrate @ 2290] hi committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 13 Sep 2001 22:57:53 +0000
parents f2150073cd41
children a49e8f1afbc4
comparison
equal deleted inserted replaced
2279:63102b44541a 2280:13d5d7e829c9
513 513
514 /* Load */ 514 /* Load */
515 load_plugin(file); 515 load_plugin(file);
516 516
517 /* Try and reselect the plugin in list */ 517 /* Try and reselect the plugin in list */
518 if (!pluglist)
519 return;
518 plugs = plugins; 520 plugs = plugins;
519 while (plugs) { 521 while (plugs) {
520 plug = plugs->data; 522 plug = plugs->data;
521 if (!strcmp(file, g_module_name(plug->handle))) { 523 if (!strcmp(file, g_module_name(plug->handle))) {
522 gtk_list_select_item(GTK_LIST(pluglist), g_list_index(plugins, plug)); 524 gtk_list_select_item(GTK_LIST(pluglist), g_list_index(plugins, plug));