[gnome-games] libgames-support: Use link instead of FSF address in the GPL3 note



commit f6a4ad31412d7eb056700c90eedd914b4c476e9f
Author: Christian Persch <chpe gnome org>
Date:   Wed Jul 22 17:37:45 2009 +0200

    libgames-support: Use link instead of FSF address in the GPL3 note
    
    As recommended.

 libgames-support/games-stock.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/libgames-support/games-stock.c b/libgames-support/games-stock.c
index 353749f..77b58b1 100644
--- a/libgames-support/games-stock.c
+++ b/libgames-support/games-stock.c
@@ -419,9 +419,14 @@ games_get_license_version (const gchar * game_name,
     N_("You should have received a copy of the GNU General Public License "
        "along with %s; if not, write to the Free Software Foundation, Inc., "
        "51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA");
+  static const char license3[] =
+    N_("You should have received a copy of the GNU General Public License "
+       "along with this program.  If not, see <http://www.gnu.org/licenses/>.");
 
-  license_trans = g_strjoin ("\n\n", _(license0), _(license1),
-                             _(license2), NULL);
+  if (version >= 3)
+    license_trans = g_strjoin ("\n\n", _(license0), _(license1), _(license3), NULL);
+  else
+    license_trans = g_strjoin ("\n\n", _(license0), _(license1), _(license2), NULL);
 
 #if !GTK_CHECK_VERSION (2, 8, 0)
   /* We have to manually wrap the text, since the about dialogue cannot



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]