From: Arun Persaud Date: Mon, 18 Feb 2013 21:38:51 +0000 (-0800) Subject: fixed gtk-warning X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=2c99aee335891d1f81c96c3316d3769577f73d59;p=xboard.git fixed gtk-warning --- diff --git a/gtk/xoptions.c b/gtk/xoptions.c index d488496..8b231f9 100644 --- a/gtk/xoptions.c +++ b/gtk/xoptions.c @@ -1136,7 +1136,7 @@ printf("n=%d, h=%d, w=%d\n",n,height,width); if(topLevel) { dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL); - gtk_window_set_title(dialog, title); + gtk_window_set_title(GTK_WINDOW(dialog), title); box = gtk_vbox_new(FALSE,0); gtk_container_add (GTK_CONTAINER (dialog), box); }