[virt-tools-list] [PATCH virt-viewer] display: Use correct variable name

Pavel Grunt pgrunt at redhat.com
Mon Feb 15 16:58:13 UTC 2016


On Mon, 2016-02-15 at 17:55 +0100, Fabiano Fidêncio wrote:
> On Mon, Feb 15, 2016 at 5:53 PM, Pavel Grunt <pgrunt at redhat.com>
> wrote:
> > Fix gtk2 build
> > ---
> >  src/virt-viewer-display.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/src/virt-viewer-display.c b/src/virt-viewer-display.c
> > index bac0c7c..e3f86a3 100644
> > --- a/src/virt-viewer-display.c
> > +++ b/src/virt-viewer-display.c
> > @@ -378,7 +378,7 @@ void
> > virt_viewer_display_get_preferred_size(VirtViewerDisplay *self,
> >      requisition->width = border_width * 2;
> >      requisition->height = border_width * 2;
> > 
> > -    if (virt_viewer_display_get_zoom(display)) {
> > +    if (virt_viewer_display_get_zoom(self)) {
> >          requisition->width += round(priv->desktopWidth * priv-
> > >zoom_level / (double) NORMAL_ZOOM_LEVEL);
> >          requisition->height += round(priv->desktopHeight * priv-
> > >zoom_level / (double) NORMAL_ZOOM_LEVEL);
> >      } else {
> > --
> > 2.5.0
> > 
> > _______________________________________________
> > virt-tools-list mailing list
> > virt-tools-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/virt-tools-list
> 
> Acked-by: Fabiano Fidêncio <fidencio at redhat.com>
Thanks
> 
> And what about dropping Gtk2 support as soon as possible? :-)

I will review the patches asap.

Pavel




More information about the virt-tools-list mailing list