fixed gtk-warning
authorArun Persaud <arun@nubati.net>
Mon, 18 Feb 2013 21:38:51 +0000 (13:38 -0800)
committerArun Persaud <arun@nubati.net>
Mon, 18 Feb 2013 21:38:51 +0000 (13:38 -0800)
gtk/xoptions.c

index d488496..8b231f9 100644 (file)
@@ -1136,7 +1136,7 @@ printf("n=%d, h=%d, w=%d\n",n,height,width);
     if(topLevel)
       {
        dialog = gtk_window_new(GTK_WINDOW_TOPLEVEL);
     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);
       }
        box = gtk_vbox_new(FALSE,0);
        gtk_container_add (GTK_CONTAINER (dialog), box);
       }