Mercurial > dwindows
comparison gtk3/dw.c @ 1358:2f5e54b0c5c4
dw_debug() lines in dw_html_new() should end with a newline.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 18 Nov 2011 15:09:26 +0000 |
parents | dd252596227b |
children | bad3e17ab6e5 |
comparison
equal
deleted
inserted
replaced
1357:46c3bcd25b53 | 1358:2f5e54b0c5c4 |
---|---|
10136 | 10136 |
10137 DW_MUTEX_LOCK; | 10137 DW_MUTEX_LOCK; |
10138 #ifdef USE_WEBKIT | 10138 #ifdef USE_WEBKIT |
10139 if (!_webkit_web_view_open) | 10139 if (!_webkit_web_view_open) |
10140 { | 10140 { |
10141 dw_debug( "HTML widget not available; you do not have access to webkit." ); | 10141 dw_debug( "HTML widget not available; you do not have access to webkit.\n" ); |
10142 } | 10142 } |
10143 else | 10143 else |
10144 { | 10144 { |
10145 WebKitWebView *web_view; | 10145 WebKitWebView *web_view; |
10146 widget = gtk_scrolled_window_new (NULL, NULL); | 10146 widget = gtk_scrolled_window_new (NULL, NULL); |
10152 g_object_set_data(G_OBJECT(widget), "_dw_web_view", (gpointer)web_view); | 10152 g_object_set_data(G_OBJECT(widget), "_dw_web_view", (gpointer)web_view); |
10153 g_signal_connect( web_view, "populate-popup", G_CALLBACK(_dw_html_populate_popup_cb), NULL ); | 10153 g_signal_connect( web_view, "populate-popup", G_CALLBACK(_dw_html_populate_popup_cb), NULL ); |
10154 } | 10154 } |
10155 gtk_widget_show(widget); | 10155 gtk_widget_show(widget); |
10156 #else | 10156 #else |
10157 dw_debug( "HTML widget not available; you do not have access to webkit." ); | 10157 dw_debug( "HTML widget not available; you do not have access to webkit.\n" ); |
10158 #endif | 10158 #endif |
10159 DW_MUTEX_UNLOCK; | 10159 DW_MUTEX_UNLOCK; |
10160 return widget; | 10160 return widget; |
10161 } | 10161 } |
10162 | 10162 |