this is a simple code to put a text in a statusbar
*****************************************************
context_id =gtk_statusbar_get_context_id
                        (GTK_STATUSBAR (statusbar1),
                                         "dgpsclient");
gtk_statusbar_push (GTK_STATUSBAR
                                            (statusbar1), &context_id,
                                            "^_^ :gpsd mode");
******************************************************
when a compile i receve warning message
main.c:921: warning: passing arg 2 of `gtk_statusbar_push' makes integer from 
pointer without a cast

for every statusbar
how can i modify this simple code to not receve the warning??

thanks

-- 

----
*************************************************************
                      Universe Creation 
 ....and God wrote:
                      tar -Uvh BigBeng.tar.gz
#############...unpacking..######################
*************************************************************
Mauro Venanzi linux ru250233
hall2001 athlon-xp rm 135009 on Suse 8.1


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to