[Spice-devel] [PATCH spice-gtk 4/5] Narrow dbus-glib code, to fit other implementation easily

2014-02-06 Thread Marc-André Lureau
From: Marc-André Lureau --- gtk/desktop-integration.c | 55 +-- 1 file changed, 29 insertions(+), 26 deletions(-) diff --git a/gtk/desktop-integration.c b/gtk/desktop-integration.c index 06712d9..064994d 100644 --- a/gtk/desktop-integration.c +++ b/gt

[Spice-devel] [PATCH spice-gtk 3/5] dbus: remove priv->dbus_conn

2014-02-06 Thread Marc-André Lureau
From: Marc-André Lureau It's only needed once, and it is better to group with rest of dbus-glib code. --- gtk/desktop-integration.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/gtk/desktop-integration.c b/gtk/desktop-integration.c index dd63b17..06712d9

[Spice-devel] [PATCH spice-gtk 1/5] misc: sed -i -e 's/USE_DBUS/USE_DBUS_GLIB/g'

2014-02-06 Thread Marc-André Lureau
From: Marc-André Lureau --- configure.ac | 2 +- gtk/desktop-integration.c | 16 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index a13eb58..d838bb6 100644 --- a/configure.ac +++ b/configure.ac @@ -661,7 +661,7 @@ if te

[Spice-devel] [PATCH spice-gtk 5/5] Add GDBus version of dbus-glib code

2014-02-06 Thread Marc-André Lureau
From: Marc-André Lureau --- gtk/desktop-integration.c | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/gtk/desktop-integration.c b/gtk/desktop-integration.c index 064994d..d764e56 100644 --- a/gtk/desktop-integration.c +++ b/gtk/desktop-integ

[Spice-devel] [PATCH spice-gtk 2/5] build-sys: detect GDBus

2014-02-06 Thread Marc-André Lureau
From: Marc-André Lureau --- configure.ac | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index d838bb6..6ab4c15 100644 --- a/configure.ac +++ b/configure.ac @@ -249,8 +249,8 @@ PKG_CHECK_MODULES(GIO, gio-2.0 >= 2.10.0 $gio_

[Spice-devel] [PATCH spice-gtk 0/5] Add GDBus support

2014-02-06 Thread Marc-André Lureau
From: Marc-André Lureau Hi, Desktop code is currently using dbus-glib, however this is an aging library and we should start using gdbus instead. https://bugs.freedesktop.org/show_bug.cgi?id=74465 Marc-André Lureau (5): misc: sed -i -e 's/USE_DBUS/USE_DBUS_GLIB/g' build-sys: detect GDBus

Re: [Spice-devel] [spice-gtk 4/5] Add SpiceVMC GIOStream

2014-02-06 Thread Christophe Fergeau
On Thu, Feb 06, 2014 at 11:00:44AM +0100, Marc-André Lureau wrote: > >> >> + > >> >> +/* coroutine */ > >> >> +G_GNUC_INTERNAL void > >> >> +spice_vmc_input_stream_co_data(SpiceVmcInputStream *self, > >> >> + const gpointer d, gsize size) > >> > > >> > This function is

Re: [Spice-devel] [spice-gtk 4/5] Add SpiceVMC GIOStream

2014-02-06 Thread Marc-André Lureau
On Thu, Feb 6, 2014 at 10:45 AM, Christophe Fergeau wrote: > On Wed, Feb 05, 2014 at 05:42:10PM +0100, Marc-André Lureau wrote: >> On Wed, Feb 5, 2014 at 5:01 PM, Christophe Fergeau >> wrote: >> > On Wed, Jan 22, 2014 at 07:26:50PM +0100, Marc-André Lureau wrote: >> >> From: Marc-André Lureau >

Re: [Spice-devel] [spice-gtk 4/5] Add SpiceVMC GIOStream

2014-02-06 Thread Christophe Fergeau
On Wed, Feb 05, 2014 at 05:42:10PM +0100, Marc-André Lureau wrote: > On Wed, Feb 5, 2014 at 5:01 PM, Christophe Fergeau > wrote: > > On Wed, Jan 22, 2014 at 07:26:50PM +0100, Marc-André Lureau wrote: > >> From: Marc-André Lureau > >> > >> This allows to use conveniently GIOStream APIs without ca