Hi,

I have a problem with GtkIconSet.

Test case:
#include <gtk/gtk.h>
int
main (int argc, char** argv)
{
    GtkIconSet* iconset;
    guint ref;
    gtk_init (&argc, &argv);
    iconset = gtk_icon_set_new();
    ref =  *iconset->ref_count;
    gtk_main();
    exit (0);
}

Output of the compiled code:
test.c: In function `main':
test.c:9: dereferencing pointer to incomplete type


What's wrong in
    ref = *iconset->ref_count;?

What I am doing wrong?

Thanks,
    Aleksey.


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to