howto compare two GTypes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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");


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux