2009/2/4 Magnus Myrefors <[email protected]>: > You seem to be printing out a pointer and not what the pointer is pointing > to. > If you want to print the whole string f.ex. "Radio1" you should try with > another type, > since gchar* just points to a gchar . > You could use gchar radio1[] or const gchar *radio1 since these types > are stored > differently in memory than a gchar *.
Unfortunately this is not correct. gchar is an alias (on every platform afaik) for the 'char' type. You can printf() a char* type. Your problem is something else (others have already made good suggestions.) -- http://codebad.com/ _______________________________________________ gtk-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtk-list
