Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
10180:04516341e9a5 | 10181:5b33637b69fd |
---|---|
156 gtk_container_add(GTK_CONTAINER(sw), imhtml); | 156 gtk_container_add(GTK_CONTAINER(sw), imhtml); |
157 | 157 |
158 if (imhtml_ret != NULL) | 158 if (imhtml_ret != NULL) |
159 *imhtml_ret = imhtml; | 159 *imhtml_ret = imhtml; |
160 | 160 |
161 if (toolbar_ret != NULL) | 161 if (editable && (toolbar_ret != NULL)) |
162 *toolbar_ret = toolbar; | 162 *toolbar_ret = toolbar; |
163 | 163 |
164 return frame; | 164 return frame; |
165 } | 165 } |
166 | 166 |