correct sintax for gtk statusbar
- From: Mauro Venanzi <jjfnet libero it>
- To: listagtk <gtk-list gnome org>
- Subject: correct sintax for gtk statusbar
- Date: Sat, 18 Jan 2003 01:04:46 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]