- Reuse #ifdef HAVE_SPICE_GTK block for include.
- Move declaration of vfunc together with others of the same class.
- Move variable declaration to the top of the function.
Signed-off-by: Eduardo Lima (Etrunko)
---
src/remote-viewer.c | 13 +++--
1 file changed, 7
Same case as last GApplication patch, but kept split for easier understanding.
Signed-off-by: Eduardo Lima (Etrunko)
---
src/virt-glib-compat.c | 204 +
src/virt-glib-compat.h | 32
2 files changed, 236 insertions(+)
Signed-off-by: Eduardo Lima (Etrunko)
---
src/virt-glib-compat.c | 97 +++---
1 file changed, 68 insertions(+), 29 deletions(-)
diff --git a/src/virt-glib-compat.c b/src/virt-glib-compat.c
index a61a3a6..0118e45 100644
---
Most of this patch consists in code being shuffled around to fit the
expected flow while using the new APIs. I tried my best to make this
patch the less intrusive as possible. Main changes are:
- Update glib requirements to 2.40.0 and adds gio as build dependency.
- VirtViewerApp is now a
Ideally, glib was required to be at least 2.40.0, but due to the fact
that SLES still uses 2.38, we need to backport the code that is
available only in glib version 2.40.0 onwards.
Signed-off-by: Eduardo Lima (Etrunko)
---
src/virt-glib-compat.c | 368
On Fri, Dec 11, 2015 at 02:40:36PM -0200, Eduardo Lima (Etrunko) wrote:
> Signed-off-by: Eduardo Lima (Etrunko)
> ---
> configure.ac | 2 +-
> src/remote-viewer.c| 9 +
> src/virt-glib-compat.c | 29 +
>