Mercurial > pidgin.yaz
comparison src/gtkplugin.c @ 11888:7d2d926704aa
[gaim-migrate @ 14179]
Gtk 2.0 support. Deja Vu.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 29 Oct 2005 14:45:15 +0000 |
parents | 06ca284a395c |
children | ee8312c764b1 |
comparison
equal
deleted
inserted
replaced
11887:6f514bb8f0a9 | 11888:7d2d926704aa |
---|---|
293 | 293 |
294 switch (response) { | 294 switch (response) { |
295 case GTK_RESPONSE_CLOSE: | 295 case GTK_RESPONSE_CLOSE: |
296 case GTK_RESPONSE_DELETE_EVENT: | 296 case GTK_RESPONSE_DELETE_EVENT: |
297 gtk_widget_destroy(d); | 297 gtk_widget_destroy(d); |
298 g_hash_table_destroy(plugin_pref_dialogs); | 298 if (plugin_pref_dialogs != NULL) { |
299 plugin_pref_dialogs = NULL; | 299 g_hash_table_destroy(plugin_pref_dialogs); |
300 plugin_pref_dialogs = NULL; | |
301 } | |
300 plugin_dialog = NULL; | 302 plugin_dialog = NULL; |
301 break; | 303 break; |
302 case 98121: | 304 case 98121: |
303 if (! gtk_tree_selection_get_selected (sel, &model, &iter)) | 305 if (! gtk_tree_selection_get_selected (sel, &model, &iter)) |
304 return; | 306 return; |