[gcalctool/gnome-2-26] Fix missing license text in about dialog (Robert Ancell, Bug #579174)



commit 33b270ca61d6202449b969f464c6ddea7c74e3fe
Author: Robert Ancell <robert ancell gmail com>
Date:   Sun May 17 14:35:54 2009 +1000

    Fix missing license text in about dialog (Robert Ancell, Bug #579174)
---
 gcalctool/gtk.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/gcalctool/gtk.c b/gcalctool/gtk.c
index a35345d..b091a07 100644
--- a/gcalctool/gtk.c
+++ b/gcalctool/gtk.c
@@ -1201,8 +1201,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"
@@ -1215,9 +1215,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\n");
 
     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]