[gnome-mahjongg] About dialog: use GtkLicense



commit 88caa4517b5f62f15e4a54d592a78047ce4d2d2d
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Nov 18 23:39:30 2013 -0600

    About dialog: use GtkLicense

 src/gnome-mahjongg.vala |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/gnome-mahjongg.vala b/src/gnome-mahjongg.vala
index d1b0290..2853462 100644
--- a/src/gnome-mahjongg.vala
+++ b/src/gnome-mahjongg.vala
@@ -535,16 +535,13 @@ public class Mahjongg : Gtk.Application
             null
         };
 
-        var license = "Mahjongg is free software; you can redistribute it and/or modify it under the terms 
of the GNU General Public License as published by the Free Software Foundation; either version 2 of the 
License, or (at your option) any later version.\n\nMahjongg is distributed in the hope that it will be 
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy 
of the GNU General Public License along with Mahjongg; if not, write to the Free Software Foundation, Inc., 
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA";
-
         Gtk.show_about_dialog (window,
                                "program-name", _("Mahjongg"),
                                "version", VERSION,
                                "comments",
                                _("A matching game played with Mahjongg tiles\n\nMahjongg is a part of GNOME 
Games."),
                                "copyright", "Copyright \xc2\xa9 1998-2008 Free Software Foundation, Inc.",
-                               "license", license,
-                               "wrap-license", true,
+                               "license-type", Gtk.License.GPL_2_0,
                                "authors", authors,
                                "artists", artists,
                                "documenters", documenters,


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