From c2303c71a09ef11964dd4d26eee5f868938253c8 Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Thu, 10 May 2012 02:45:33 +0000 Subject: [PATCH] Correcoes para compilacao no mingw64 --- accessible.c | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/accessible.c b/accessible.c index 7ab3d4c..85316a8 100644 --- a/accessible.c +++ b/accessible.c @@ -727,8 +727,13 @@ static void v3270_accessible_get_size(AtkComponent *component,gint *width, gint if (widget == NULL) return; +#if GTK_CHECK_VERSION(3,0,0) *width = gtk_widget_get_allocated_width (widget); *height = gtk_widget_get_allocated_height (widget); +#else + *width = widget->allocation.width; + *height = widget->allocation.height; +#endif // GTK(3,0,0) } static gboolean v3270_accessible_grab_focus(AtkComponent *component) -- libgit2 0.21.2