Re: Help removing GtkListStore rows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux