Using an X11 Pixmap in a GtkImage

2015-08-04 Thread adlo
OK, so I've managed to do it using Cairo. However, I have two problems: If the window's image has a bit depth of 32, it fails to draw onto my widget, which presumably has a bit depth of 24. If I attempt to scale the image below half its size using cairo_scale, it fails to draw. How can I resol

Documentation inconsistency

2015-08-04 Thread Igor Korot
Hi, ALL, The documentation here: states [quote] g_thread_init () void g_thread_init (gpointer vtable); g_thread_init has been deprecated since version 2.32 and should not be used in newly-written code. This function is no longer necessary. The GLib threading system is automatically initialized

Re: Documentation inconsistency

2015-08-04 Thread Gergely Polonkai
Hello, if you are sure your software will never be compiled against older versions of GLib, then you can take it off. It's really not needed. The fact vtable is mentioned for versions 2.32+ is because you can still use it; it didn't disappear (yet), it's just deprecated. Best, Gergely On 5 Aug 2