diff options
author | nyamatongwe <unknown> | 2011-05-12 12:41:09 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-05-12 12:41:09 +1000 |
commit | 3f7c041025a032be8a99f04bb5ebaaba0ef15d2e (patch) | |
tree | bfe1fd60c7fce9b61f6c00e407197ef9273a054a /gtk | |
parent | 8cfba508d656488b0d5e646ede3aec36d38e6e93 (diff) | |
download | scintilla-mirror-3f7c041025a032be8a99f04bb5ebaaba0ef15d2e.tar.gz |
Switching to function that works on all supported versions of GTK+.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/PlatGTK.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index c1b4e29e2..8359f4db9 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -999,7 +999,7 @@ void SurfaceImpl::InitPixMap(int width, int height, Surface *surface_, WindowID #ifdef USE_CAIRO if (height > 0 && width > 0) psurf = CreateSimilarSurface( - gtk_widget_get_window(PWidget(wid)), + WindowFromWidget(PWidget(wid)), CAIRO_CONTENT_COLOR_ALPHA, width, height); #else if (height > 0 && width > 0) |