Problem with GtkIconSet
- From: "Alexey A. Malyshev" <maa sparc spb su>
- To: gtk-list gnome org
- Subject: Problem with GtkIconSet
- Date: Fri, 09 Nov 2001 15:55:10 +0300
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]