Re: question about GtkTreeIter
- From: Xan <xan lopez gmail com>
- To: rick_murphy sohu com
- Cc: gtk-devel-list gnome org
- Subject: Re: question about GtkTreeIter
- Date: Sat, 28 Jul 2007 15:52:23 +0300
On 7/28/07, rick <rick_murphy sohu com> wrote:
> Hi
> first, let's compare two pieces of codes:
>
> No.1
> {
> GtkTreeIter* iter;
> gtk_tree_store_append(store, iter, parent);
> gtk_tree_store_set(store, iter, COLUMN_NAME, node->name,
> COLUMN_TYPE, node->content, -1);
> }
iter is pointing to garbage, it's normal that the program crashes when
it tries to use that memory. This list is for the development of GTK+
itself, for questions about development with GTK+ please use
http://mail.gnome.org/mailman/listinfo/gtk-list
Xan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]