diff src/gtkutils.c @ 10181:5b33637b69fd

[gaim-migrate @ 11296] Update a few more places to use the gtkimhtml factory thingy. Look at the changes to gtkrequest.c to see how much duplicate code this removes... committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 14 Nov 2004 20:29:28 +0000
parents 82c1322c4b56
children 025e119f95f9
line wrap: on
line diff
--- a/src/gtkutils.c	Sun Nov 14 20:26:27 2004 +0000
+++ b/src/gtkutils.c	Sun Nov 14 20:29:28 2004 +0000
@@ -158,7 +158,7 @@
 	if (imhtml_ret != NULL)
 		*imhtml_ret = imhtml;
 
-	if (toolbar_ret != NULL)
+	if (editable && (toolbar_ret != NULL))
 		*toolbar_ret = toolbar;
 
 	return frame;