diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-25 15:49:43 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-25 15:49:43 +0000 |
commit | 0fad9f3324c75cb5599e691b51d63121af33e18f (patch) | |
tree | 6df65b1766937ab9c456bcf375cb42e3572e6040 /audio/gmpc/files/patch-src-open-location.c | |
parent | - Respect CFLAGS (diff) |
- Update to 0.11.1
- Install french translation
PR: ports/69541
Submitted by: Mark Daniel Reidel <ports@mark.reidel.info> (maintainer)
Diffstat (limited to 'audio/gmpc/files/patch-src-open-location.c')
-rw-r--r-- | audio/gmpc/files/patch-src-open-location.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/gmpc/files/patch-src-open-location.c b/audio/gmpc/files/patch-src-open-location.c new file mode 100644 index 000000000000..393c4198bca1 --- /dev/null +++ b/audio/gmpc/files/patch-src-open-location.c @@ -0,0 +1,15 @@ +--- src/open-location.c.orig Sat Jul 3 14:33:37 2004 ++++ src/open-location.c Sun Jul 25 17:40:10 2004 +@@ -171,9 +171,10 @@ + + void ol_add_location() + { +- if(strlen(gtk_entry_get_text(GTK_ENTRY(glade_xml_get_widget(ol_xml, "entry_stream")))) == 0 ) return; + GList *list = NULL; +- GnomeVFSURI *uri = gnome_vfs_uri_new(gtk_entry_get_text(GTK_ENTRY(glade_xml_get_widget(ol_xml, "entry_stream")))); ++ GnomeVFSURI *uri; ++ if(strlen(gtk_entry_get_text(GTK_ENTRY(glade_xml_get_widget(ol_xml, "entry_stream")))) == 0 ) return; ++ uri = gnome_vfs_uri_new(gtk_entry_get_text(GTK_ENTRY(glade_xml_get_widget(ol_xml, "entry_stream")))); + if(uri == NULL) + { + g_print("Invalid link\n"); |