summaryrefslogtreecommitdiff
path: root/x11/gnopernicus/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnopernicus/patches/patch-af')
-rw-r--r--x11/gnopernicus/patches/patch-af32
1 files changed, 32 insertions, 0 deletions
diff --git a/x11/gnopernicus/patches/patch-af b/x11/gnopernicus/patches/patch-af
new file mode 100644
index 00000000000..a093d7c1703
--- /dev/null
+++ b/x11/gnopernicus/patches/patch-af
@@ -0,0 +1,32 @@
+$NetBSD: patch-af,v 1.1 2005/04/12 00:59:36 rillig Exp $
+
+Needed for gcc-2.95.
+
+--- gnopi/gnopi.c.orig Tue Jan 18 11:11:56 2005
++++ gnopi/gnopi.c Mon Apr 11 02:12:22 2005
+@@ -530,6 +530,7 @@ gn_check_accessibility_key (void)
+ 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 @@ gn_check_accessibility_key (void)
+
+ 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 @@ gn_check_accessibility_key (void)
+
+ 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));