pkgsrc/devel/guile-gnome/patches/patch-ab
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

14 lines
773 B
Text

$NetBSD: patch-ab,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/gw/gtk-support.h.orig 2008-04-09 22:10:40.000000000 +0000
+++ gtk/gnome/gw/gtk-support.h
@@ -117,6 +117,6 @@ void _wrap_gtk_tree_view_column_set_cell
guint _wrap_gtk_ui_manager_add_ui_from_string (GtkUIManager *ui, const gchar *string, GError **error);
GdkWindow* gtk_widget_get_window (GtkWidget *widget);
-GdkRectangle* gtk_widget_get_allocation (GtkWidget *widget);
+GdkRectangle* _wrap_gtk_widget_get_allocation (GtkWidget *widget);
void _wrap_gtk_drag_dest_set (GtkWidget *widget, GtkDestDefaults flags, const GList *types, GdkDragAction actions);
GtkStateType gtk_widget_get_state (GtkWidget *widget);