summaryrefslogtreecommitdiff
path: root/time/gnotime/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'time/gnotime/patches/patch-ah')
-rw-r--r--time/gnotime/patches/patch-ah24
1 files changed, 24 insertions, 0 deletions
diff --git a/time/gnotime/patches/patch-ah b/time/gnotime/patches/patch-ah
new file mode 100644
index 00000000000..1b3236cb66f
--- /dev/null
+++ b/time/gnotime/patches/patch-ah
@@ -0,0 +1,24 @@
+$NetBSD: patch-ah,v 1.1 2004/11/24 22:35:25 kristerw Exp $
+
+--- src/plug-in.c.orig Wed Nov 24 22:34:26 2004
++++ src/plug-in.c Wed Nov 24 22:35:31 2004
+@@ -96,6 +96,8 @@
+ {
+ const char *title, *path, *tip;
+ NewPluginDialog *dlg = data;
++ GnomeVFSURI *parsed_uri;
++ gboolean exists;
+
+ /* Get the dialog contents */
+ title = gtk_entry_get_text (dlg->plugin_name);
+@@ -103,9 +105,8 @@
+ tip = gtk_entry_get_text (dlg->plugin_tooltip);
+
+ /* Do a basic sanity check */
+- GnomeVFSURI *parsed_uri;
+ parsed_uri = gnome_vfs_uri_new (path);
+- gboolean exists = gnome_vfs_uri_exists (parsed_uri);
++ exists = gnome_vfs_uri_exists (parsed_uri);
+ gnome_vfs_uri_unref (parsed_uri);
+ if (!exists)
+ {