Re: GtkCellRendererState comparison

2012-04-20 Thread Nicola Fontana
Il giorno Fri, 20 Apr 2012 09:53:33 +0430 Bijan Binaee 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 ' [-Wenum-compare] > > here is the code: > if (s

GtkCellRendererState comparison

2012-04-19 Thread Bijan Binaee
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 ' [-Wenum-compare] here is the code: if (state == GTK_STATE_PRELIGHT) also the full source is here:http://paste.kde.org/460382/<