| 210 if (g_hash_table_size(plugin_pref_dialogs) == 0) { |
208 if (g_hash_table_size(plugin_pref_dialogs) == 0) { |
| 211 g_hash_table_destroy(plugin_pref_dialogs); |
209 g_hash_table_destroy(plugin_pref_dialogs); |
| 212 plugin_pref_dialogs = NULL; |
210 plugin_pref_dialogs = NULL; |
| 213 } |
211 } |
| 214 gtk_widget_destroy(d); |
212 gtk_widget_destroy(d); |
| |
213 |
| |
214 if (plug->info->prefs_info && plug->info->prefs_info->frame) { |
| |
215 purple_plugin_pref_frame_destroy(plug->info->prefs_info->frame); |
| |
216 plug->info->prefs_info->frame = NULL; |
| |
217 } |
| |
218 |
| 215 break; |
219 break; |
| 216 } |
220 } |
| 217 } |
221 } |
| 218 |
222 |
| 219 static void plugin_unload_confirm_cb(gpointer *data) |
223 static void plugin_unload_confirm_cb(gpointer *data) |