diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-07-24 17:23:25 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-07-24 17:23:25 +0800 |
commit | 1f76b38543b22fbc65b0f3b080bcd519817c1427 (patch) | |
tree | 35a8740ed2d10a464e71af9c5fddf22f52d94974 /x11-toolkits | |
parent | 222db2a051dd987aa23231ca144fc52221bd1d72 (diff) | |
download | freebsd-ports-gnome-1f76b38543b22fbc65b0f3b080bcd519817c1427.tar.gz freebsd-ports-gnome-1f76b38543b22fbc65b0f3b080bcd519817c1427.tar.zst freebsd-ports-gnome-1f76b38543b22fbc65b0f3b080bcd519817c1427.zip |
Unbroke with latest gtkhtml.
Reported by: Anders Andersson <anders@codefactory.se>
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/guile-gnome/files/patch-guile-gnome::gtkhtml::gtkhtml-glue.c | 28 | ||||
-rw-r--r-- | x11-toolkits/guile-gnome/files/patch-guile-gnome::gtkhtml::gtkhtml.defs | 15 |
2 files changed, 43 insertions, 0 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 new file mode 100644 index 000000000000..157f7bb487f8 --- /dev/null +++ b/x11-toolkits/guile-gnome/files/patch-guile-gnome::gtkhtml::gtkhtml-glue.c @@ -0,0 +1,28 @@ + +$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 +@@ -310,17 +310,20 @@ + static char s_gtk_html_set_iframe_parent[] = "gtk-html-set-iframe-parent"; + + SCM +-sgtk_gtk_html_set_iframe_parent (SCM p_html, SCM p_parent) ++sgtk_gtk_html_set_iframe_parent (SCM p_html, SCM p_parent, SCM p_frame) + { + GtkHTML* c_html; + GtkWidget* c_parent; ++ HTMLObject* c_frame; + SCM_ASSERT (sgtk_is_a_gtkobj (gtk_html_get_type (), p_html), p_html, SCM_ARG1, s_gtk_html_set_iframe_parent); + SCM_ASSERT (sgtk_is_a_gtkobj (gtk_widget_get_type (), p_parent), p_parent, SCM_ARG2, s_gtk_html_set_iframe_parent); ++ SCM_ASSERT (sgtk_is_a_gtkobj (html_object_get_type (), p_frame), p_frame, SCM_ARG3, s_gtk_html_set_iframe_parent); + + SCM_DEFER_INTS; + c_html = (GtkHTML*)sgtk_get_gtkobj (p_html); + c_parent = (GtkWidget*)sgtk_get_gtkobj (p_parent); +- gtk_html_set_iframe_parent (c_html, c_parent); ++ c_frame = (HTMLObject*)sgtk_get_gtkobj (p_frame); ++ gtk_html_set_iframe_parent (c_html, c_parent, c_frame); + SCM_ALLOW_INTS; + + return SCM_UNSPECIFIED; diff --git a/x11-toolkits/guile-gnome/files/patch-guile-gnome::gtkhtml::gtkhtml.defs b/x11-toolkits/guile-gnome/files/patch-guile-gnome::gtkhtml::gtkhtml.defs new file mode 100644 index 000000000000..cb215e9ed4f6 --- /dev/null +++ b/x11-toolkits/guile-gnome/files/patch-guile-gnome::gtkhtml::gtkhtml.defs @@ -0,0 +1,15 @@ + +$FreeBSD$ + +--- guile-gnome/gtkhtml/gtkhtml.defs 2001/07/24 09:08:47 1.1 ++++ guile-gnome/gtkhtml/gtkhtml.defs 2001/07/24 09:20:23 +@@ -78,7 +78,8 @@ + (define-func gtk_html_set_iframe_parent + none + ((GtkHTML html) +- (GtkWidget parent))) ++ (GtkWidget parent) ++ (HTMLObject frame))) + + (define-func gtk_html_enable_debug + none |