Fixed all but one "about dialog" related warnings. All credit strings are now constant.

svn path=/trunk/netsurf/; revision=5515
This commit is contained in:
Mike Lester 2008-10-09 20:47:19 +00:00
parent 0bd85e2e44
commit 232c43418d
2 changed files with 10 additions and 14 deletions

View File

@ -22,25 +22,25 @@
GtkAboutDialog* about_dialog;
static gchar *authors[] = {"John-Mark Bell", "James Bursa", "Michael Drake",
static const gchar *authors[] = {"John-Mark Bell", "James Bursa", "Michael Drake",
"Rob Kendrick", "Adrian Lees", "Vincent Sanders", "Daniel Silverstone",
"Richard Wilson", "\nContributors:", "Kevin Bagust", "Stefaan Claes",
"Matthew Hambley", "Rob Jackson", "Jeffrey Lee", "Phil Mellor",
"Philip Pemberton", "Darren Salt", "Andrew Timmins", "John Tytgat",
"Chris Williams", "\nGoogle Summer of Code Contributors:", "Adam Blokus",
"Sean Fox", "Michael Lester", "Andrew Sidwell", NULL};
static gchar *translators = "Sebastian Barthel \nBruno D'Arcangeli \nGerard van Katwijk \nJérôme Mathevet \nSimon Voortman.";
static gchar *artists[] = {"Michael Drake", "\nContributors:",
static const gchar *translators = "Sebastian Barthel \nBruno D'Arcangeli \nGerard van Katwijk \nJérôme Mathevet \nSimon Voortman.";
static const gchar *artists[] = {"Michael Drake", "\nContributors:",
"Andrew Duffell", "John Duffell", "Richard Hallas", "Phil Mellor", NULL};
static gchar *documenters[] = {"John-Mark Bell", "James Bursa", "Michael Drake", "Richard Wilson", "\nContributors:", "James Shaw", NULL};
static const gchar *documenters[] = {"John-Mark Bell", "James Bursa", "Michael Drake", "Richard Wilson", "\nContributors:", "James Shaw", NULL};
static gchar *name = "NetSurf";
static gchar *description = "Small as a mouse, fast as a cheetah, and available for free.\nNetSurf is a web browser for RISC OS and UNIX-like platforms.";
static gchar *url = "http://www.netsurf-browser.org/";
static gchar *url_label = "NetSurf Website";
static gchar *copyright = "Copyright © 2003 - 2008 The NetSurf Developers";
static const gchar *name = "NetSurf";
static const gchar *description = "Small as a mouse, fast as a cheetah, and available for free.\nNetSurf is a web browser for RISC OS and UNIX-like platforms.";
static const gchar *url = "http://www.netsurf-browser.org/";
static const gchar *url_label = "NetSurf Website";
static const gchar *copyright = "Copyright © 2003 - 2008 The NetSurf Developers";
static gchar* licence = "licence";
static const gchar* licence = "licence";
static void launch_url (GtkAboutDialog *about_dialog, const gchar *url, gpointer data){
struct browser_window *bw = data;

View File

@ -19,10 +19,6 @@
#ifndef NETSURF_GTK_ABOUT_H
#define NETSURF_GTK_ABOUT_H
#include <gtk/gtk.h>
#include "gtk/gtk_gui.h"
#include "desktop/netsurf.h"
#include "desktop/browser.h"
void nsgtk_about_dialog_init(GtkWindow *parent, struct browser_window *bw, const char *version);