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/<

position in Gtk.Box

2012-04-19 Thread Pavol Klačanský
Hi, how can I insert widget into Gtk.Box on specific position? Now, I use: pack_start(widget) then reorder_child(widget, pos) Thanks ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-l

font rendering is different in gtk+ 3

2012-04-19 Thread Luka Napotnik
Hello. I'm having difficulties rendering pixel-perfect fonts in gtk+3. My program uses the GtkOffscreenWindow to create a widget snapshot. Then I convert the snapshot to a 1-bit black/white image. I disabled anti-aliasing and hinting but fonts with bold weight still look ugly. The size of bold fon