aboutsummaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-12-21 04:52:28 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-12-21 04:52:28 +0000
commitcddab3b5f4fca5fea32dc09c65e62519467ab09d (patch)
treeddc6e24d257cfba5a61408476b512fc0034c8c1f /accessibility
parent55135776507e1b3798161f7df272491093c42899 (diff)
downloadports-cddab3b5f4fca5fea32dc09c65e62519467ab09d.tar.gz
ports-cddab3b5f4fca5fea32dc09c65e62519467ab09d.zip
Notes
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/gnopernicus/files/patch-gnopi_gnopi.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/accessibility/gnopernicus/files/patch-gnopi_gnopi.c b/accessibility/gnopernicus/files/patch-gnopi_gnopi.c
new file mode 100644
index 000000000000..ee014bef5a98
--- /dev/null
+++ b/accessibility/gnopernicus/files/patch-gnopi_gnopi.c
@@ -0,0 +1,28 @@
+--- gnopi/gnopi.c.orig Mon Dec 20 23:47:10 2004
++++ gnopi/gnopi.c Mon Dec 20 23:48:21 2004
+@@ -530,6 +530,7 @@
+ GladeXML *xml = NULL;
+ gint response_id;
+ gboolean accessibility_on;
++ AtkObject *obj;
+
+ /* check if accessibility flag is TRUE */
+ accessibility_on = gnopiconf_get_bool (ACCESSIBILITY_GCONF_KEY,
+@@ -550,7 +551,7 @@
+
+ g_object_unref (G_OBJECT (xml));
+
+- AtkObject *obj = gtk_widget_get_accessible (dialog);
++ obj = gtk_widget_get_accessible (dialog);
+ atk_object_set_role (obj, ATK_ROLE_ALERT);
+
+ response_id = gtk_dialog_run (GTK_DIALOG (dialog));
+@@ -570,7 +571,7 @@
+
+ g_object_unref (G_OBJECT (xml));
+
+- AtkObject *obj = gtk_widget_get_accessible (dialog);
++ obj = gtk_widget_get_accessible (dialog);
+ atk_object_set_role (obj, ATK_ROLE_ALERT);
+
+ response_id = gtk_dialog_run (GTK_DIALOG (dialog));