[gnome-robots] About dialog: use GtkLicense



commit 168faf1c3ab9b6c857fd30308bb9861e2a58adf2
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Nov 19 11:45:10 2013 -0600

    About dialog: use GtkLicense

 src/menu.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/menu.c b/src/menu.c
index 130737c..5ce720c 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -258,13 +258,11 @@ about_cb (GtkAction * action, gpointer data)
   const gchar *documenters[] =
     { "Patanjali Somayaji", "Mark Rae <m rae inpharmatica co uk>", NULL };
 
-  gchar *license = games_get_license (_("Robots"));
-
   gtk_show_about_dialog (GTK_WINDOW (app),
                         "name", _("Robots"),
                         "version", VERSION,
                         "copyright", "Copyright \xc2\xa9 1998-2008 Mark Rae",
-                        "license", license,
+                        "license-type", GTK_LICENSE_GPL_2_0,
                         "website-label", _("GNOME Games web site"),
                         "comments", _("Based on classic BSD Robots.\n\nRobots is a part of GNOME Games."),
                         "authors", authors,
@@ -274,8 +272,7 @@ about_cb (GtkAction * action, gpointer data)
                         "logo-icon-name", "gnome-robots",
                         "website",
                         "http://www.gnome.org/projects/gnome-games/";,
-                        "wrap-license", TRUE, NULL);
-  g_free (license);
+                        NULL);
 }
 
 static void


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