summaryrefslogtreecommitdiff
path: root/x11/gtk2
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-01-10 18:03:51 +0000
committerdrochner <drochner@pkgsrc.org>2007-01-10 18:03:51 +0000
commitcc117c75973343b16508f0c7a8288aba03ce93b7 (patch)
treed4475b9c8fbf97f526bfcc8285cb85637017856e /x11/gtk2
parentad2e4919ae08763abbec2c8046fc471a1211a1a0 (diff)
downloadpkgsrc-cc117c75973343b16508f0c7a8288aba03ce93b7.tar.gz
fix arguments to text_window_realize() (gnome bug #393813)
bump PKGREVISION
Diffstat (limited to 'x11/gtk2')
-rw-r--r--x11/gtk2/Makefile3
-rw-r--r--x11/gtk2/distinfo3
-rw-r--r--x11/gtk2/patches/patch-aj22
3 files changed, 26 insertions, 2 deletions
diff --git a/x11/gtk2/Makefile b/x11/gtk2/Makefile
index e89875984bb..418a7cb1fe7 100644
--- a/x11/gtk2/Makefile
+++ b/x11/gtk2/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.134 2007/01/08 16:41:31 drochner Exp $
+# $NetBSD: Makefile,v 1.135 2007/01/10 18:03:51 drochner Exp $
DISTNAME= gtk+-2.10.7
+PKGREVISION= 1
PKGNAME= ${DISTNAME:S/gtk/gtk2/}
CATEGORIES= x11
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.10/ \
diff --git a/x11/gtk2/distinfo b/x11/gtk2/distinfo
index 076be5c72e1..55961e78172 100644
--- a/x11/gtk2/distinfo
+++ b/x11/gtk2/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.78 2007/01/08 16:41:31 drochner Exp $
+$NetBSD: distinfo,v 1.79 2007/01/10 18:03:51 drochner Exp $
SHA1 (gtk+-2.10.7.tar.bz2) = 784a7ecc75767306efe1f200a1251968f944143e
RMD160 (gtk+-2.10.7.tar.bz2) = 130af39787b146166846f44b104ea0c3683d0578
@@ -10,3 +10,4 @@ SHA1 (patch-ae) = f64113f824efced935f2c464c340cf0ab1c0b460
SHA1 (patch-af) = 36734d064fc2b103755cf86bea85a0dc33154f90
SHA1 (patch-ag) = 1df97f257dc4a170d0ad37eb6755fc5ba327b6a9
SHA1 (patch-ai) = c54cd41297cae98355cc9cb61a762463bac43902
+SHA1 (patch-aj) = baf52dd96d27af5bd60340111901d551826d2dd4
diff --git a/x11/gtk2/patches/patch-aj b/x11/gtk2/patches/patch-aj
new file mode 100644
index 00000000000..6a85839976b
--- /dev/null
+++ b/x11/gtk2/patches/patch-aj
@@ -0,0 +1,22 @@
+$NetBSD: patch-aj,v 1.9 2007/01/10 18:03:51 drochner Exp $
+
+--- gtk/gtktextview.c.orig 2007-01-10 16:25:02.000000000 +0100
++++ gtk/gtktextview.c
+@@ -8071,7 +8071,7 @@ set_window_width (GtkTextView *text
+ width, 0);
+ /* if the widget is already realized we need to realize the child manually */
+ if (GTK_WIDGET_REALIZED (text_view))
+- text_window_realize (*winp, GTK_WIDGET (text_view)->window);
++ text_window_realize (*winp, GTK_WIDGET (text_view));
+ }
+ else
+ {
+@@ -8111,7 +8111,7 @@ set_window_height (GtkTextView *tex
+
+ /* if the widget is already realized we need to realize the child manually */
+ if (GTK_WIDGET_REALIZED (text_view))
+- text_window_realize (*winp, GTK_WIDGET (text_view)->window);
++ text_window_realize (*winp, GTK_WIDGET (text_view));
+ }
+ else
+ {