Re: How can I use g_signal_connect() to pass a gponiter parameter

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

 



2009/2/4 Magnus Myrefors <tkv764x@xxxxxxxxx>:
>   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
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