[gtk+/gtk-2-24] gdk: cast impl to GdkWindow* when calling gdk_drawable_get_size()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] gdk: cast impl to GdkWindow* when calling gdk_drawable_get_size()
- Date: Thu, 18 Nov 2010 12:25:29 +0000 (UTC)
commit 2ab90f5d657b3111a236511985c90e64cb2bb365
Author: Michael Natterer <mitch gimp org>
Date: Thu Nov 18 13:24:51 2010 +0100
gdk: cast impl to GdkWindow* when calling gdk_drawable_get_size()
gdk/gdkwindow.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 654e732..c550aea 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -5139,7 +5139,8 @@ gdk_window_ref_cairo_surface (GdkDrawable *drawable)
int width, height;
GdkDrawable *source;
- gdk_drawable_get_size (private->impl_window, &width, &height);
+ gdk_drawable_get_size ((GdkWindow *) private->impl_window,
+ &width, &height);
source = _gdk_drawable_get_source_drawable (drawable);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]