dmedvinsky / gsimplecal

Simple and lightweight GTK calendar (BSD license)
http://dmedvinsky.github.io/gsimplecal
Other
197 stars 19 forks source link

Add `mainwindow_position = topleft` etc #42

Open dmedvinsky opened 3 years ago

dmedvinsky commented 3 years ago

Got this patch in email from Kent Friis.

Unfortunately it currently raises a bunch of warnings that gdk_screen_width and gdk_screen_height are deprecated when compiling against gtk3.

So far we got

apparently you are supposed to use gdk_monitor_get_workarea(), which doesn't even exist in the gtk 3.18 on Slackware, so it's not even a case of if(gtk2), it's before gtk 3.22 and after gtk 3.22

I've been putting this off for a while because I've got no time for this, unfortunately. Opening a pull request for this to not get lost forever.

If anyone has any input, please comment.