Re: [Libreoffice] [PATCH] Fix compilation in gtk3salnativewidgets-gtk.cxx

2011-09-12 Thread Caolán McNamara
On Sun, 2011-09-11 at 10:13 +0200, Lucas Baudin wrote: Hi, The small attached patch fixes the compilation in gtk3salnativewidgets-gtk.cxx, it's just a cast from long int to int. What's this patch against, that code doesn't exist in master. Is it against a gtk3 feature branch ? C.

Re: [Libreoffice] [PATCH] Fix compilation in gtk3salnativewidgets-gtk.cxx

2011-09-12 Thread Lucas Baudin
Yes, it is for the gtk3 feature branch, sorry, I forgot to mention it :/ On 09/12/2011 11:36 AM, Caolán McNamara wrote: On Sun, 2011-09-11 at 10:13 +0200, Lucas Baudin wrote: Hi, The small attached patch fixes the compilation in gtk3salnativewidgets-gtk.cxx, it's just a cast from long int to

[Libreoffice] [PATCH] Fix compilation in gtk3salnativewidgets-gtk.cxx

2011-09-11 Thread Lucas Baudin
Hi, The small attached patch fixes the compilation in gtk3salnativewidgets-gtk.cxx, it's just a cast from long int to int. The errors were: /media/dev/LibreOffice/gtk3/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx:191:83: error: narrowing conversion of 'aClipRect.Rectangle::Left()' from