[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: gtk_tree_store_remove and GtkTreeView::selection_changedsignal?
- From: "aruna pourohit" <aruna pou wipro com>
- To: Archit Baweja <bighead users sourceforge net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk_tree_store_remove and GtkTreeView::selection_changedsignal?
- Date: Tue, 12 Mar 2002 16:26:39 +0500
check for return value of gtk_tree_selection_get_selected
might be this call itself is failing.
----- Original Message -----
From: Archit Baweja <bighead@users.sourceforge.net>
Date: Tuesday, March 12, 2002 3:00 pm
Subject: gtk_tree_store_remove and GtkTreeView::selection_changed
signal?
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi
>
> I was having a problem with the GtkTreeView widget (2.0).
> When I want to remove a widget I do the following
>
> sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (view));
> gtk_tree_selection_get_selected (sel, &model, &iter);
> gtk_tree_store_remove (GTK_TREE_STORE (model), &iter);
>
> The bug is that when it crashes saying "VALID_ITER (iter)" failed.
> When I tried debugging it in gdb, I found that when the
> gtk_tree_store_removeis called, it calls my
> GtkTreeViewSelection::changed signal. Is that supposed
> to happen?
>
> Help
>
> Archit Baweja
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard <"
> target="l">http://www.gnupg.org/>
> iD8DBQE8jcrG2rWNPKmGjMcRAh6NAJ9yH8Ss/ndXO93Tv9ZNkI/RRRBMfgCfZlRI
> s8BkaUqJ4CxiEFZebhH0UKk=
> =0Sdu
> -----END PGP SIGNATURE-----
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]