Re: Help removing GtkListStore rows
- From: "Nils O." Selåsdal <noselasd frisurf no>
- To: gtk-list gnome org
- Subject: Re: Help removing GtkListStore rows
- Date: Mon, 03 May 2004 10:00:10 +0200
On Sun, 2004-05-02 at 05:09, Jan-Marek Glogowski wrote:
> Hi
>
> 1. You have a memory leak: The string from gtk_tree_path_to_string must be
> g_free()'d.
No, he did that with:
gtk_tree_path_free (path);
> 2. I think you can't cast a "store" ("model") into a "view", otherwise
> using one store for multiple views wouldn't be possible.
Agreed the GTK_TREE_VIEW(main_list_store) looks suspicious, is
main_list_store a model or view ?
Anyway, the best thing is atleast to run it in a debugger to see where
it crashes. (ddd is nice for a gui debugger..)
--
Nils O. Selåsdal <noselasd frisurf no>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]