3saul ha scritto lo scorso 06/04/2006 12:45:
[...]
> gboolean Func_Get_Time_Date()
> {
>       memset( x, '\0', 150 * sizeof *x );

I'm pretty sure there are better ways to treat a gchar array ;-)

>       char *p;
>       GtkWidget *button1 = 0;

Here you are defining a (NULL) GtkWidget*

> 
> 
>       strstr ( cmd_results, argument_data) == NULL)

some "if" keyword is lacking - is this code snippet complete?

>       {
>               sprintf( x, "args: %s", argument_data);
>               gtk_button_set_label (GTK_BUTTON(button1), x);          

and here you are telling to gtk_button_set_label that your button is:
GTK_BUTTON (0x0); someone should tell Func_Get_Time_Date the actual
value of the pointer to your button.

>       }
> 
>       return TRUE;
>       
> }
> 
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to