1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/audio/gmpc/files/patch-src-open-location.c
Pav Lucistnik 0fad9f3324 - Update to 0.11.1
- Install french translation

PR:		ports/69541
Submitted by:	Mark Daniel Reidel <ports@mark.reidel.info> (maintainer)
2004-07-25 15:49:43 +00:00

16 lines
676 B
C

--- 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");