blob: e470977acbc8a573bd89cb196f4e45ec5acdbf33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
http://bugs.gentoo.org/293655
--- guile-gnome-platform-2.16.1.orig/gtk/gnome/gw/gtk-support.c 2008-07-03 11:52:27.000000000 -0300
+++ guile-gnome-platform-2.16.1/gtk/gnome/gw/gtk-support.c 2009-11-27 03:09:28.204506213 -0200
@@ -1012,7 +1012,7 @@
}
GdkRectangle*
-gtk_widget_get_allocation (GtkWidget *widget)
+guile_gtk_widget_get_allocation (GtkWidget *widget)
{
GdkRectangle *ret = g_new (GdkRectangle, 1);
*ret = widget->allocation;
--- guile-gnome-platform-2.16.1.orig/gtk/gnome/gw/gtk-support.h 2008-04-09 19:10:40.000000000 -0300
+++ guile-gnome-platform-2.16.1/gtk/gnome/gw/gtk-support.h 2009-11-27 03:08:29.385756221 -0200
@@ -117,6 +117,6 @@
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* guile_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);
--- guile-gnome-platform-2.16.1.orig/gtk/gnome/overrides/gtk.defs 2008-04-09 19:12:44.000000000 -0300
+++ guile-gnome-platform-2.16.1/gtk/gnome/overrides/gtk.defs 2009-11-27 03:13:34.667506321 -0200
@@ -848,7 +848,7 @@
(define-method get-allocation
(of-object "GtkWidget")
- (c-name "gtk_widget_get_allocation")
+ (c-name "guile_gtk_widget_get_allocation")
(return-type "GdkRectangle*")) ;; same as GtkAllocation
(define-method get_state
|