howto compare two GTypes
- From: joel krähemann <joel weedlight ch>
- To: gtk-list gnome org
- Subject: howto compare two GTypes
- Date: Mon, 11 Oct 2010 20:41:17 +0200
hi, I have a list of objects and a type I want to find in it. I did the
following but it didn't work. What's wrong?
GType type;
type = GTK_TYPE_WINDOW;
if(G_OBJECT_TYPE(list->data) == type)
printf("doesn't work\n\0");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]