pkgsrc/devel/guile-gnome/patches/patch-ac
dmcmahill b2500c091e Fix compilation when building against gtk+ >= 2.18. Patches from the upstream
sources.  This should address PR pkg/42508.
While here add the LICENSE setting.
2011-05-13 02:50:06 +00:00

16 lines
548 B
Text

$NetBSD: patch-ac,v 1.3 2011/05/13 02:50:06 dmcmahill Exp $
Upstream patch from http://bugzilla-attachments.gnome.org/attachment.cgi?id=148640
--- gtk/gnome/overrides/gtk.defs.orig 2008-04-09 22:12:44.000000000 +0000
+++ gtk/gnome/overrides/gtk.defs
@@ -848,7 +848,8 @@
(define-method get-allocation
(of-object "GtkWidget")
- (c-name "gtk_widget_get_allocation")
+ (c-name "_wrap_gtk_widget_get_allocation")
+ (overrides "gtk_widget_get_allocation")
(return-type "GdkRectangle*")) ;; same as GtkAllocation
(define-method get_state