summaryrefslogtreecommitdiffstats
path: root/accessibility
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-03-14 06:02:47 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-03-14 06:02:47 +0800
commit075c4fd41ae309ef3d1842a533cadbc3e35c056a (patch)
tree366f8e0f09985fe1414d5295eaf9de40bfc909a4 /accessibility
parent88aeab2498ec32c9cd2a06a7f711c7e609d8ee05 (diff)
downloadmarcuscom-ports-075c4fd41ae309ef3d1842a533cadbc3e35c056a.tar
marcuscom-ports-075c4fd41ae309ef3d1842a533cadbc3e35c056a.tar.gz
marcuscom-ports-075c4fd41ae309ef3d1842a533cadbc3e35c056a.tar.bz2
marcuscom-ports-075c4fd41ae309ef3d1842a533cadbc3e35c056a.tar.lz
marcuscom-ports-075c4fd41ae309ef3d1842a533cadbc3e35c056a.tar.xz
marcuscom-ports-075c4fd41ae309ef3d1842a533cadbc3e35c056a.tar.zst
marcuscom-ports-075c4fd41ae309ef3d1842a533cadbc3e35c056a.zip
Fix another gtk depricated victum.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13815 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/gnome-mag/Makefile3
-rw-r--r--accessibility/gnome-mag/files/patch-magnifier_magnifier.c11
-rw-r--r--accessibility/gnome-mag/files/patch-magnifier_x11_gmag-graphical-server.c20
3 files changed, 33 insertions, 1 deletions
diff --git a/accessibility/gnome-mag/Makefile b/accessibility/gnome-mag/Makefile
index 7a64aa687..334586eda 100644
--- a/accessibility/gnome-mag/Makefile
+++ b/accessibility/gnome-mag/Makefile
@@ -3,11 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom$
+# $MCom: ports/accessibility/gnome-mag/Makefile,v 1.49 2010/02/10 22:03:24 kwm Exp $
#
PORTNAME= gnome-mag
PORTVERSION= 0.16.0
+PORTREVISION= 1
CATEGORIES= accessibility gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
diff --git a/accessibility/gnome-mag/files/patch-magnifier_magnifier.c b/accessibility/gnome-mag/files/patch-magnifier_magnifier.c
new file mode 100644
index 000000000..134b3d125
--- /dev/null
+++ b/accessibility/gnome-mag/files/patch-magnifier_magnifier.c
@@ -0,0 +1,11 @@
+--- magnifier/magnifier.c.orig 2010-03-13 22:53:14.000000000 +0100
++++ magnifier/magnifier.c 2010-03-13 22:57:27.000000000 +0100
+@@ -894,7 +894,7 @@ magnifier_reset_struts_at_idle (gpointer
+ {
+ Magnifier *magnifier = MAGNIFIER (data);
+ if (magnifier->priv &&
+- GTK_WIDGET_REALIZED (magnifier->priv->w) &&
++ gtk_widget_get_realized (magnifier->priv->w) &&
+ gmag_gs_check_set_struts (magnifier)) {
+ return FALSE;
+ }
diff --git a/accessibility/gnome-mag/files/patch-magnifier_x11_gmag-graphical-server.c b/accessibility/gnome-mag/files/patch-magnifier_x11_gmag-graphical-server.c
new file mode 100644
index 000000000..16a91bf42
--- /dev/null
+++ b/accessibility/gnome-mag/files/patch-magnifier_x11_gmag-graphical-server.c
@@ -0,0 +1,20 @@
+--- magnifier/x11/gmag-graphical-server.c.orig 2010-03-13 22:53:48.000000000 +0100
++++ magnifier/x11/gmag-graphical-server.c 2010-03-13 22:56:58.000000000 +0100
+@@ -159,7 +159,7 @@ gmag_gs_check_set_struts (Magnifier *mag
+ #endif
+
+ if (magnifier &&
+- magnifier->priv && magnifier->priv->w && GTK_WIDGET_REALIZED (magnifier->priv->w) &&
++ magnifier->priv && magnifier->priv->w && gtk_widget_get_realized (magnifier->priv->w) &&
+ magnifier->priv->w->window)
+ {
+ Atom atom_strut = gdk_x11_get_xatom_by_name ("_NET_WM_STRUT");
+@@ -249,7 +249,7 @@ gmag_gs_reset_overlay_at_idle (gpointer
+ if (data) {
+ Magnifier *magnifier = MAGNIFIER (data);
+ if (magnifier->priv && magnifier->priv->w &&
+- GTK_WIDGET_REALIZED (magnifier->priv->w))
++ gtk_widget_get_realized (magnifier->priv->w))
+ if (magnifier->priv->w->window) {
+ #ifdef HAVE_OVERLAY
+ gint x, y, over_w, over_h;