From 5940cc98d3dd59106937f48b6c9fa60d3785bca2 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Wed, 12 Sep 2007 10:57:00 +0300 Subject: [PATCH] define the repo list url. --- src/map-repo.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/map-repo.c b/src/map-repo.c index feca4f5..9b5e455 100644 --- a/src/map-repo.c +++ b/src/map-repo.c @@ -25,6 +25,8 @@ #include "mapper-types.h" #include "ui-common.h" +#define MAP_REPO_LIST_URL "http://www.gnuite.com/nokia770/maemo-mapper/repos.txt" + typedef struct _RepoManInfo RepoManInfo; struct _RepoManInfo { GtkWidget *dialog; @@ -502,11 +504,8 @@ GtkWidget *confirm; printf("%s()\n", __PRETTY_FUNCTION__); /* Get repo config file from www.gnuite.com. */ - if (GNOME_VFS_OK != - (vfs_result = - gnome_vfs_read_entire_file - ("http://www.gnuite.com/nokia770/maemo-mapper/repos.txt", - &size, &bytes))) { + if (GNOME_VFS_OK != (vfs_result = gnome_vfs_read_entire_file + (MAP_REPO_LIST_URL, &size, &bytes))) { popup_error(rmi->dialog, _ ("An error occurred while retrieving the repositories. " -- 2.39.5