qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ui/gtk: Get display refresh rate with GDK version 3.22 or la


From: Daniel P . Berrangé
Subject: Re: [PATCH] ui/gtk: Get display refresh rate with GDK version 3.22 or later
Date: Thu, 16 Jan 2020 10:16:06 +0000
User-agent: Mutt/1.12.1 (2019-06-15)

On Thu, Jan 16, 2020 at 02:12:17AM +0100, Philippe Mathieu-Daudé wrote:
> The GdkMonitor was introduced in GTK+ 3.22:
> https://developer.gnome.org/gdk3/stable/api-index-3-22.html#api-index-3.22
> 
> If we build with older GTK+, the build fails:

Presumably the problem here is Ubuntu Xenial 16.04 which
only has 3.18.9 ?

We should put in a sanity check for this against our min version

 #define  GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_14
 #define  GDK_VERSION_MAX_ALLOWED GDK_VERSION_3_14

into glib-compat.h

For that matter we can update our min version to 3.18 I believe
since that looks like the oldest version any supported build
platform has.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]