[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: gtk_tree_store_remove and GtkTreeView::selection_changed signal?
- From: Archit Baweja <bighead users sourceforge net>
- To: "aruna pourohit" <aruna pou wipro com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk_tree_store_remove and GtkTreeView::selection_changed signal?
- Date: 12 Mar 2002 18:44:50 +0530
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
Well actually I know that. But when something is really selected, why not
return a valid iter?
Archit Baweja
"aruna pourohit" <aruna.pou@wipro.com> writes:
> 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
> >
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard <http://www.gnupg.org/>
iD8DBQE8jf9K2rWNPKmGjMcRApSHAJ9u0ts3SOkFpPD6t84vIJtlJ3X/QwCeN2oc
bYlSgy0tGwMFKkYtS2BLUoY=
=e2Pb
-----END PGP SIGNATURE-----
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]