Re: GTK+ doesn't track motion of DND file from desktop

2018-11-06 Thread Edscott Wilson via gtk-app-devel-list
Check the version with which you gtk desktop and applications are compiled with. DnD worked quite erratically for me in 3.22, and seems to be more or less stable in 3.24, but applications compiled with 2.24 which used to work fine with those from 3.18 now will ignore drops from 3.24 apps. In the

Re: GTK+ doesn't track motion of DND file from desktop

2018-11-06 Thread Zdravetz via gtk-app-devel-list
I am indeed using GTK+ 3.22.30 But what i forgot to mention is that I am also running on Windows. - П.П. Искаш бизнесът ти да е и онлайн? Лесно е! Направи си сайт. В СуперХостинг.БГ пазят място за него! Виж повече на www.superhosting.bg.

Detect dark or light theme from an application

2018-11-06 Thread Yuri Khan via gtk-app-devel-list
Hello everybody, I know in the GTK+3 theming engine a theme can define a light variant and a dark variant. Is it possible, in an application, to know which variant is currently used, and/or specify which widget in the application uses which variant? Here’s the wider context: Mozilla Firefox uses

Re: Detect dark or light theme from an application

2018-11-06 Thread Emmanuele Bassi via gtk-app-devel-list
On Wed, 7 Nov 2018 at 00:48, Yuri Khan via gtk-app-devel-list < gtk-app-devel-list@gnome.org> wrote: > Hello everybody, > > I know in the GTK+3 theming engine a theme can define a light variant > and a dark variant. Is it possible, in an application, to know which > variant is currently used,

Segmentation fault when passing Poppler objects

2018-11-06 Thread Радомир Хаџић via gtk-app-devel-list
Hi. I get segmentation fault if I try to access a Poppler object whose pointer is passed through g_signal_connect. There is no such problem with normal pointers, though. For example, if I run the following code... #include struct Colors { double red; double green; double

Re: Segmentation fault when passing Poppler objects

2018-11-06 Thread Emmanuele Bassi via gtk-app-devel-list
On Tue, 6 Nov 2018 at 09:55, Радомир Хаџић via gtk-app-devel-list < gtk-app-devel-list@gnome.org> wrote: > Hi. I get segmentation fault if I try to access a Poppler object whose > pointer is passed through g_signal_connect. There is no such problem > with normal pointers, though. This: > void

GTK+ doesn't track motion of DND file from desktop

2018-11-06 Thread Zdravetz via gtk-app-devel-list
My initialization of the destination widget is as such: GtkTargetList* target_list = gtk_target_list_new(NULL, 0); gtk_target_list_add_image_targets(target_list, 0 /* ALL_IMAGES */, FALSE); gtk_target_list_add_uri_targets(target_list, 1 /* TEXT_URI */) ;