[gaim-migrate @ 9046]

Mon, 23 Feb 2004 22:35:12 +0000

author
Christian Hammond <chipx86@chipx86.com>
date
Mon, 23 Feb 2004 22:35:12 +0000
changeset 8322
9bae68fd2612
parent 8321
477316d4d8a3
child 8323
d962d280c523

[gaim-migrate @ 9046]
Fix the response handler for the Insert Image dialog.

src/gtkimhtmltoolbar.c file | annotate | diff | comparison | revisions
--- a/src/gtkimhtmltoolbar.c	Mon Feb 23 22:26:08 2004 +0000
+++ b/src/gtkimhtmltoolbar.c	Mon Feb 23 22:35:12 2004 +0000
@@ -336,7 +336,7 @@
 					    _("_Insert"), G_CALLBACK(do_insert_link_cb),
 					    _("Cancel"), G_CALLBACK(cancel_link_cb),
 					    toolbar);
- 	} else {
+	} else {
 		close_link_dialog(toolbar);
 	}
 	gtk_widget_grab_focus(toolbar->imhtml);
@@ -354,8 +354,6 @@
 
 	if (resp != GTK_RESPONSE_OK) {
 		//set_toggle(toolbar->image, FALSE);
-		gtk_widget_destroy(widget);
-		toolbar->image_dialog = NULL;
 		gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(toolbar->image), FALSE);
 		return;
 	}

mercurial