summaryrefslogtreecommitdiff
path: root/gtk/dialogs/gtk_about.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2008-10-09 21:32:56 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2008-10-09 21:32:56 +0000
commitbbda089a723621a117ce1e6a33ed1bae0f3aeae6 (patch)
tree4b72da439e6843985edcd7e082b09e0cd8f74010 /gtk/dialogs/gtk_about.c
parent35766f761e665442b23991d21c008ccf439979f7 (diff)
downloadnetsurf-bbda089a723621a117ce1e6a33ed1bae0f3aeae6.tar.gz
netsurf-bbda089a723621a117ce1e6a33ed1bae0f3aeae6.tar.bz2
Style guide formatting: indentation, 80 char width, 2 tabs after wrap.
svn path=/trunk/netsurf/; revision=5518
Diffstat (limited to 'gtk/dialogs/gtk_about.c')
-rw-r--r--gtk/dialogs/gtk_about.c61
1 files changed, 35 insertions, 26 deletions
diff --git a/gtk/dialogs/gtk_about.c b/gtk/dialogs/gtk_about.c
index 5f0f27ddf..36cce9d07 100644
--- a/gtk/dialogs/gtk_about.c
+++ b/gtk/dialogs/gtk_about.c
@@ -24,50 +24,59 @@ GtkAboutDialog* about_dialog;
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",
+ "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 const gchar *translators = "Sebastian Barthel \nBruno D'Arcangeli \nGerard van Katwijk \nJérôme Mathevet \nSimon Voortman.";
+ "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 const gchar *translators = "Sebastian Barthel\nBruno D'Arcangeli\n"
+ "Gerard van Katwijk\nJérôme Mathevet\nSimon Voortman.";
static const gchar *artists[] = {
- "Michael Drake", "\nContributors:",
- "Andrew Duffell", "John Duffell", "Richard Hallas", "Phil Mellor",
- NULL
-}
-;
+ "Michael Drake", "\nContributors:", "Andrew Duffell",
+ "John Duffell", "Richard Hallas", "Phil Mellor", NULL
+};
+
static const gchar *documenters[] = {
- "John-Mark Bell", "James Bursa", "Michael Drake", "Richard Wilson",
- "\nContributors:", "James Shaw", NULL
+ "John-Mark Bell", "James Bursa", "Michael Drake",
+ "Richard Wilson", "\nContributors:", "James Shaw", NULL
};
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 *description =
+ "Small as a mouse, fast as a cheetah, and available for free.\n"
+ "NetSurf 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 const gchar *copyright =
+ "Copyright © 2003 - 2008 The NetSurf Developers";
-static void launch_url (GtkAboutDialog *about_dialog, const gchar *url, gpointer data)
+static void launch_url (GtkAboutDialog *about_dialog, const gchar *url,
+ gpointer data)
{
struct browser_window *bw = data;
browser_window_go(bw, url, 0, true);
- }
+}
-void nsgtk_about_dialog_init(GtkWindow *parent, struct browser_window *bw, const char *version)
+void nsgtk_about_dialog_init(GtkWindow *parent, struct browser_window *bw,
+ const char *version)
{
gchar *licence_text;
- g_file_get_contents(g_strconcat(res_dir_location, "licence", NULL), &licence_text, NULL, NULL);
+ g_file_get_contents(g_strconcat(res_dir_location, "licence", NULL),
+ &licence_text, NULL, NULL);
gtk_about_dialog_set_url_hook (launch_url, (gpointer) bw, NULL);
gtk_show_about_dialog(parent, "artists", artists, "authors", authors,
- "comments", description,"copyright", copyright, "documenters", documenters,
- "license", licence_text,
- "program-name", name, "translator-credits", translators,
- "version", version, "website", url, "website-label", url_label,
- "wrap-license", FALSE, NULL);
+ "comments", description,"copyright", copyright,
+ "documenters", documenters, "license", licence_text,
+ "program-name", name, "translator-credits", translators,
+ "version", version, "website", url,
+ "website-label", url_label,
+ "wrap-license", FALSE, NULL);
}