[gcalctool] Really fix the license text in the about dialog (Robert Ancell, Bug #579174)



commit f7525f81a4a9b0a19fff8212941690c7cc96be45
Author: Robert Ancell <robert ancell gmail com>
Date:   Mon May 11 13:53:11 2009 +1000

    Really fix the license text in the about dialog (Robert Ancell, Bug #579174)
---
 ChangeLog |    4 ++++
 src/gtk.c |    8 +++-----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b7dfde8..906332f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,10 @@
 gcalctool change history.
 =========================
 
+2009-05-11 Robert Ancell <robert ancell gmail com>
+
+    * Really fix the license text in the about dialog (Robert Ancell, Bug #579174)
+
 2009-05-07 Robin Sonefors <ozamosi flukkost nu>
 
     * Add 1's and 2's complement to programming mode (Robin Sonefors, Bug #581253)
diff --git a/src/gtk.c b/src/gtk.c
index bc9cc3d..d3b5104 100644
--- a/src/gtk.c
+++ b/src/gtk.c
@@ -1311,8 +1311,8 @@ about_cb(GtkWidget *widget)
     /* Translators: The translator credits. Please translate this with your name(s). */
     const gchar *translator_credits = _("translator-credits");
 
-    char *license[] = {
-        /* Translators: The license this software is under (GPL2+) */
+    /* Translators: The license this software is under (GPL2+) */    
+    char *license =
         _("Gcalctool is free software; you can redistribute it and/or modify\n"
           "it under the terms of the GNU General Public License as published by\n"
           "the Free Software Foundation; either version 2 of the License, or\n"
@@ -1325,9 +1325,7 @@ about_cb(GtkWidget *widget)
           "\n"
           "You should have received a copy of the GNU General Public License\n"
           "along with Gcalctool; if not, write to the Free Software Foundation, Inc.,\n"
-          "51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\n"),
-        NULL
-    };
+          "51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA");
 
     gtk_show_about_dialog(GTK_WINDOW(X.kframe),
                           /* Translators: Program name in the about dialog */



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