[tali] About dialog: use GtkLicense



commit 386a4ace96b536d4009f5de6c6343c271b19f7c1
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Nov 19 11:57:04 2013 -0600

    About dialog: use GtkLicense

 src/gyahtzee.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/gyahtzee.c b/src/gyahtzee.c
index 7df6a4b..aa76f4e 100644
--- a/src/gyahtzee.c
+++ b/src/gyahtzee.c
@@ -599,14 +599,13 @@ about_cb (GSimpleAction * action, GVariant * parameter, gpointer data)
     "Callum McKenzie",
     NULL
   };
-  gchar *license = games_get_license (appName);
 
   gtk_show_about_dialog (GTK_WINDOW (window),
                         "name", appName,
                         "version", VERSION,
                         "copyright", "Copyright \xc2\xa9 1998-2008 "
                         "Free Software Foundation, Inc.",
-                        "license", license,
+                        "license-type", GTK_LICENSE_GPL_2_0,
                         "comments", _("A variation on poker with "
                                       "dice and less money.\n\n"
                                       "Tali is a part of GNOME Games."),
@@ -617,8 +616,7 @@ about_cb (GSimpleAction * action, GVariant * parameter, gpointer data)
                         "website",
                         "http://www.gnome.org/projects/gnome-games/";,
                         "website-label", _("GNOME Games web site"),
-                        "wrap-license", TRUE, NULL);
-  g_free (license);
+                        NULL);
 }
 
 void


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