summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/dialogs/gtk_about.c20
-rw-r--r--gtk/dialogs/gtk_about.h4
2 files changed, 10 insertions, 14 deletions
diff --git a/gtk/dialogs/gtk_about.c b/gtk/dialogs/gtk_about.c
index 81d22cea8..cd130a5b8 100644
--- a/gtk/dialogs/gtk_about.c
+++ b/gtk/dialogs/gtk_about.c
@@ -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;
diff --git a/gtk/dialogs/gtk_about.h b/gtk/dialogs/gtk_about.h
index 35e6be80c..e34a7bff7 100644
--- a/gtk/dialogs/gtk_about.h
+++ b/gtk/dialogs/gtk_about.h
@@ -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);