Mercurial > dwindows
diff gtk/dw.c @ 627:77cc62375fee
Fixed dw_html_raw() under GTK+ and added test case for it
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 12 Apr 2008 11:01:29 +0000 |
parents | ad7a4335f1f1 |
children | a5deb87b26e4 |
line wrap: on
line diff
--- a/gtk/dw.c Sat Apr 12 06:48:38 2008 +0000 +++ b/gtk/dw.c Sat Apr 12 11:01:29 2008 +0000 @@ -10541,7 +10541,8 @@ return -1; DW_MUTEX_LOCK; - _gtk_moz_embed_render_data(GTK_MOZ_EMBED(handle), string, strlen(string), "", ""); + _gtk_moz_embed_render_data(GTK_MOZ_EMBED(handle), string, strlen(string), "file:///", "text/html"); + gtk_widget_show(GTK_WIDGET(handle)); DW_MUTEX_UNLOCK; return 0; #endif