On Thu, 17 Feb 2005 13:17:51 +0100, Hubert SokoÅowski
<[EMAIL PROTECTED]> wrote:
> On Thu, 17 Feb 2005 13:05:43 +0100
> Gert Cuykens <[EMAIL PROTECTED]> wrote:
>
> > static void callback( GtkWidget *widget, gpointer data ){
> > g_print ("Hello again - %s was pressed\n", (gchar *) data);
> > }
> >
> > why do they put () around gchar ?
> > why can it not be gchar *data ?
>
> You should learn some more about programming in C before you start
> writing GTK apps.
>
> hs
Does anybody want to explain what the () thingies are around gchar * ?
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"