Il giorno Fri, 20 Apr 2012 09:53:33 +0430
Bijan Binaee <bijanb...@gmail.com> ha scritto:

> hi
> 
> once i compile my code i got following a warning how can I fix it?
> 
> gtksourcefoldcellrenderer.c:331:14: warning: comparison between
> 'GtkCellRendererState' and 'enum <anonymous>' [-Wenum-compare]
> 
> here is the code:
> if (state == GTK_STATE_PRELIGHT)

You are comparing GtkCellRendererState to GtkStateType. Try to use
GTK_CELL_RENDERER_PRELIT instead.

Ciao.
-- 
Nicola

> also the full source is
> here:http://paste.kde.org/460382/<http://paste.kde.org/460376/>
_______________________________________________
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