--- a/pidgin/gtkplugin.c Wed Oct 23 22:20:14 2013 +0530 +++ b/pidgin/gtkplugin.c Thu Oct 24 03:37:02 2013 +0530 @@ -91,7 +91,7 @@ config = pidgin_plugin_pref_create_frame(frame); - plugin->info->prefs_info->frame = frame; + plugin->ui_data = frame; } return config; @@ -227,9 +227,9 @@ } gtk_widget_destroy(d); - if (plug->info->prefs_info && plug->info->prefs_info->frame) { - purple_plugin_pref_frame_destroy(plug->info->prefs_info->frame); - plug->info->prefs_info->frame = NULL; + if (plug->info->prefs_info && plug->ui_data) { + purple_plugin_pref_frame_destroy(plug->ui_data); + plug->ui_data = NULL; } break;