Re: [Spice-devel] [spice-gtk 5/4] gtk-session: move var declaration to the top

2017-05-29 Thread Victor Toso
Hi, On Thu, May 25, 2017 at 10:43:45AM -0500, Jonathon Jongsma wrote: > On Wed, 2017-05-24 at 14:32 +0200, Victor Toso wrote: > > From: Victor Toso > > > > Most of spice-gtk code tries to follow that. Doing this specifically > > to the clipboard_get_targets() due to the recent previous changes in

Re: [Spice-devel] [spice-gtk 5/4] gtk-session: move var declaration to the top

2017-05-25 Thread Jonathon Jongsma
On Wed, 2017-05-24 at 14:32 +0200, Victor Toso wrote: > From: Victor Toso > > Most of spice-gtk code tries to follow that. Doing this specifically > to the clipboard_get_targets() due to the recent previous changes in > this function. > > This patch also takes the opportunity to remove the array

[Spice-devel] [spice-gtk 5/4] gtk-session: move var declaration to the top

2017-05-24 Thread Victor Toso
From: Victor Toso Most of spice-gtk code tries to follow that. Doing this specifically to the clipboard_get_targets() due to the recent previous changes in this function. This patch also takes the opportunity to remove the array initialization of types[] which is not needed since 1b73ae3cf25bd4