On Thu, 8 Mar 2012, Allin Cottrell wrote:
I'm aware of a bug with the tabbed script editor: if you detach
a
tab to its own window then try running the script, GTK crashes. I
have some notion of where the problem might be and I'll work on a
fix tomorrow.
A similar thing happens (on debian testing, built from cvs) if you try to
do a print preview. Here's the valgrind report:
==8645== Memcheck, a memory error detector
==8645== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==8645== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==8645== Command: /usr/local/bin/gretl
==8645==
working dir = '/home/jack'
(gretl_x11:8645): GLib-GObject-WARNING **: invalid cast from `GtkHBox' to
`GtkWindow'
(gretl_x11:8645): GLib-GObject-WARNING **: g_object_new_valist: invalid object type
`GtkHBox' for value type `GtkWindow'
(gretl_x11:8645): GLib-GObject-WARNING **:
/build/buildd-glib2.0_2.30.2-6-i386-6DwKmX/glib2.0-2.30.2/./gobject/gsignal.c:2983:
invalid object type `GtkHBox' for value type `GtkWindow'
Gtk-ERROR **: You must set a cairo context on the print context
Trace/breakpoint trap
Another thing: if you drag-n-drop an inp file ont the main gretl window,
it opens in the script editor, which is nice. Would it be difficult to
enable drag-n-drop directly onto the script editor window?
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti(a)univpm.it
http://www.econ.univpm.it/lucchetti