[vala] Program segfaults when trying to do anything with treepath of a selected IconView item
- From: Filip Lamparski <matka poohatka gmail com>
- To: "GTK+ App Development List" <gtk-app-devel-list gnome org>
- Subject: [vala] Program segfaults when trying to do anything with treepath of a selected IconView item
- Date: Sun, 24 Jun 2012 21:57:01 +0100
Hello,
I have an signal handler which activates when an icon in an IconView is
activated. As I understand, such event produces a TreePath object.
The problem is that whenever this signal is fired, the program segfaults.
Here's the code:
[CCode (instance_pos = -1)]
public void on_filter_selected (TreePath filterpath) {
stderr.printf("Selected filter: %s", filterpath.to_string());
}
Can you tell me how to fix it?
Thanks,
Filip
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]