pidgin/gtkplugin.c

changeset 34477
86f6c431da7b
parent 34449
bbcb198650b7
child 34479
7d4651f1035e
child 36926
d2c0c68a9816
equal deleted inserted replaced
34476:aececc7e1314 34477:86f6c431da7b
89 89
90 frame = plugin->info->prefs_info->get_plugin_pref_frame(plugin); 90 frame = plugin->info->prefs_info->get_plugin_pref_frame(plugin);
91 91
92 config = pidgin_plugin_pref_create_frame(frame); 92 config = pidgin_plugin_pref_create_frame(frame);
93 93
94 plugin->info->prefs_info->frame = frame; 94 plugin->ui_data = frame;
95 } 95 }
96 96
97 return config; 97 return config;
98 } 98 }
99 99
225 g_hash_table_destroy(plugin_pref_dialogs); 225 g_hash_table_destroy(plugin_pref_dialogs);
226 plugin_pref_dialogs = NULL; 226 plugin_pref_dialogs = NULL;
227 } 227 }
228 gtk_widget_destroy(d); 228 gtk_widget_destroy(d);
229 229
230 if (plug->info->prefs_info && plug->info->prefs_info->frame) { 230 if (plug->info->prefs_info && plug->ui_data) {
231 purple_plugin_pref_frame_destroy(plug->info->prefs_info->frame); 231 purple_plugin_pref_frame_destroy(plug->ui_data);
232 plug->info->prefs_info->frame = NULL; 232 plug->ui_data = NULL;
233 } 233 }
234 234
235 break; 235 break;
236 } 236 }
237 } 237 }

mercurial