| 826 G_TYPE_NONE, 1, PURPLE_TYPE_PLUGIN); |
826 G_TYPE_NONE, 1, PURPLE_TYPE_PLUGIN); |
| 827 purple_signal_register(handle, "plugin-unload", |
827 purple_signal_register(handle, "plugin-unload", |
| 828 purple_marshal_VOID__POINTER, |
828 purple_marshal_VOID__POINTER, |
| 829 G_TYPE_NONE, 1, PURPLE_TYPE_PLUGIN); |
829 G_TYPE_NONE, 1, PURPLE_TYPE_PLUGIN); |
| 830 |
830 |
| 831 gplugin_init(); |
831 gplugin_init(GPLUGIN_CORE_FLAGS_NONE); |
| 832 |
832 |
| 833 search_path = g_getenv("PURPLE_PLUGIN_PATH"); |
833 search_path = g_getenv("PURPLE_PLUGIN_PATH"); |
| 834 if (search_path) { |
834 if (search_path) { |
| 835 gchar **paths; |
835 gchar **paths; |
| 836 int i; |
836 int i; |