Re: A bug no one talks about: g_object_new: assert

2017-09-26 Thread Arnaud
Hi ! On 09/26/2017 10:24 PM, psp...@mail.bg wrote: > (Notification Project.exe:27780): GLib-GObject-CRITICAL **: g_object_new: > assertion 'G_TYPE_IS_OBJECT (object_type)' failed What it means is that, during a call to g_object_new

A bug no one talks about: g_object_new: assert

2017-09-26 Thread pspgen
I use the newest GTK+ installed with MSYS2 and whenever I attempt to use g_application_send_notification() it always results in the following assert: (Notification Project.exe:27780): GLib-GObject-CRITICAL **: g_object_new: assert ion 'G_TYPE_IS_OBJECT (object_type)' failed Why I think it

Drawing and mouse in GTK HiDPI aware app (Xorg/Wayland)

2017-09-26 Thread Giovanni Panozzo
Hello, my GTK application draws some bitmaps on a GtkDrawingArea, and receives mouse position events from the same widget (or its container widget). The application is running in a 2x HiDPI scaled desktop, so when the GtkDrawingArea has a logical size of WxH pixel, it's really taking 2*Wx2*H