comparison gtk/dw.c @ 1355:dd252596227b

Removed a now unused variable on GTK in dw_html_new(). Also glib 2.32 deprecated g_thread_init() so conditionally call that.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 18 Nov 2011 13:49:11 +0000
parents 1f22addc2722
children 88a3cfa800a4
comparison
equal deleted inserted replaced
1354:1f22addc2722 1355:dd252596227b
12269 * text: The default text to be in the entryfield widget. 12269 * text: The default text to be in the entryfield widget.
12270 * id: An ID to be used with dw_window_from_id() or 0L. 12270 * id: An ID to be used with dw_window_from_id() or 0L.
12271 */ 12271 */
12272 HWND dw_html_new(unsigned long id) 12272 HWND dw_html_new(unsigned long id)
12273 { 12273 {
12274 GtkWidget *widget = NULL,*stext; 12274 GtkWidget *widget = NULL;
12275 int _locked_by_me = FALSE; 12275 int _locked_by_me = FALSE;
12276 12276
12277 DW_MUTEX_LOCK; 12277 DW_MUTEX_LOCK;
12278 #ifdef USE_GTKMOZEMBED 12278 #ifdef USE_GTKMOZEMBED
12279 if (!_gtk_moz_embed_new) 12279 if (!_gtk_moz_embed_new)