Re: monitoring file changes in a sysfs filesystem

2008-10-16 Thread Tomasz Sterna
Dnia 2008-09-18, czw o godzinie 12:58 +0200, Miguel Gómez pisze: > I'm trying to monitor the changes in a file from /sys (as you know, > it's > a sysfs filesystem), but setting a file monitor with > g_file_monitor_file > doesn't work. No matter what I do, I can't receive the changed signal > fro

gdk_draw_image() not working?

2010-06-08 Thread Tomasz Sterna
I am using the following code (stripped): 8< drawing = gtk_drawing_area_new (); gc = gdk_gc_new (drawing->window); image = gdk_image_new (GDK_IMAGE_FASTEST, gdk_visual_get_system(), w, h ); paint_image (image->mem); // custom painting function gdk_draw_image (drawi