aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/guile-gnome
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-08-17 14:50:30 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-08-17 14:50:30 +0000
commit1ff29240c296b137f532d2b04a75704a46611217 (patch)
tree94026709671adc0b7a91b859e0966920e91010e7 /x11-toolkits/guile-gnome
parent2073f23ba44a9f9bad656e554243e053daea6905 (diff)
downloadports-1ff29240c296b137f532d2b04a75704a46611217.tar.gz
ports-1ff29240c296b137f532d2b04a75704a46611217.zip
Unbroke with latest gtkhtml.
PR: 29694 Submitted by: Brian Behlendorf <brian@hyperreal.org>
Notes
Notes: svn path=/head/; revision=46372
Diffstat (limited to 'x11-toolkits/guile-gnome')
-rw-r--r--x11-toolkits/guile-gnome/files/patch-guile-gnome::gtkhtml::gtkhtml-glue.c32
1 files changed, 30 insertions, 2 deletions
diff --git a/x11-toolkits/guile-gnome/files/patch-guile-gnome::gtkhtml::gtkhtml-glue.c b/x11-toolkits/guile-gnome/files/patch-guile-gnome::gtkhtml::gtkhtml-glue.c
index 157f7bb487f8..5999870c1b73 100644
--- a/x11-toolkits/guile-gnome/files/patch-guile-gnome::gtkhtml::gtkhtml-glue.c
+++ b/x11-toolkits/guile-gnome/files/patch-guile-gnome::gtkhtml::gtkhtml-glue.c
@@ -1,8 +1,8 @@
$FreeBSD$
---- guile-gnome/gtkhtml/gtkhtml-glue.c 2001/07/24 09:02:10 1.1
-+++ guile-gnome/gtkhtml/gtkhtml-glue.c 2001/07/24 09:18:08
+--- guile-gnome/gtkhtml/gtkhtml-glue.c.orig Tue Feb 6 05:46:22 2001
++++ guile-gnome/gtkhtml/gtkhtml-glue.c Fri Aug 17 17:47:25 2001
@@ -310,17 +310,20 @@
static char s_gtk_html_set_iframe_parent[] = "gtk-html-set-iframe-parent";
@@ -26,3 +26,31 @@ $FreeBSD$
SCM_ALLOW_INTS;
return SCM_UNSPECIFIED;
+@@ -399,21 +402,23 @@
+ static char s_gtk_html_request_paste[] = "gtk-html-request-paste";
+
+ SCM
+-sgtk_gtk_html_request_paste (SCM p_html, SCM p_type, SCM p_time)
++sgtk_gtk_html_request_paste (SCM p_html, SCM p_selection, SCM p_type, SCM p_time)
+ {
+ gint cr_ret;
+ GtkHTML* c_html;
++ GdkAtom c_selection;
+ gint c_type;
+ gint c_time;
+ SCM_ASSERT (sgtk_is_a_gtkobj (gtk_html_get_type (), p_html), p_html, SCM_ARG1, s_gtk_html_request_paste);
+- c_type = scm_num2long (p_type, (char *)SCM_ARG2, s_gtk_html_request_paste);
+- c_time = scm_num2long (p_time, (char *)SCM_ARG3, s_gtk_html_request_paste);
++ c_selection = scm_num2long (p_selection, (char *)SCM_ARG2, s_gtk_html_request_paste);
++ c_type = scm_num2long (p_type, (char *)SCM_ARG3, s_gtk_html_request_paste);
++ c_time = scm_num2long (p_time, (char *)SCM_ARG4, s_gtk_html_request_paste);
+
+ SCM_DEFER_INTS;
+ c_html = (GtkHTML*)sgtk_get_gtkobj (p_html);
+ ;
+ ;
+- cr_ret = gtk_html_request_paste (c_html, c_type, c_time);
++ cr_ret = gtk_html_request_paste (c_html, c_selection, c_type, c_time);
+ SCM_ALLOW_INTS;
+
+ return scm_long2num (cr_ret);