diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-09-09 16:21:22 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-09-10 20:14:49 +1000 |
commit | f62aa7cafe3e5413c70c5cb2e75de2114b4fd9d0 (patch) | |
tree | b9c12e91598b00de0adba9198e593019747a60ec /vcl/inc | |
parent | 4157780bedd048a27cc33302ab5ebca5a93afa70 (diff) |
vcl: GtkSalFrame::AcquireGraphics() calls GtkSalGraphics::Init() twice
We really don't want to call on GtkSalGraphics::Init() twice, the only
reason we do this is because we pass in a new screen. To get around this,
I've created a new GtkSalGraphics constructor that takes and additional
screen parameter.
Change-Id: Ie53d609c2b8f64d77a3bfb2efe0e97027c75c5d0
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/unx/gtk/gtkgdi.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/unx/gtk/gtkgdi.hxx b/vcl/inc/unx/gtk/gtkgdi.hxx index f6cec547fa7d..8bd45b0148df 100644 --- a/vcl/inc/unx/gtk/gtkgdi.hxx +++ b/vcl/inc/unx/gtk/gtkgdi.hxx @@ -121,6 +121,7 @@ class GtkSalGraphics : public X11SalGraphics public: GtkSalGraphics( GtkSalFrame *, GtkWidget *window ); + GtkSalGraphics( GtkSalFrame *, GtkWidget *window, SalX11Screen nXScreen ); virtual ~GtkSalGraphics(); inline GtkWidget* GetGtkWidget() const { return m_pWindow; } |