summaryrefslogtreecommitdiff
path: root/gtk/dialogs/about.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-09-22 18:06:37 +0100
committerVincent Sanders <vince@kyllikki.org>2014-09-22 18:11:39 +0100
commita8101a99ea48c1af23941a0322246cace3dfa69e (patch)
tree71798c33f93950a501d2354c8bebbfa71fb508bc /gtk/dialogs/about.c
parent0de8cfc9d40214370ed499e465ebc56e88c4d24f (diff)
downloadnetsurf-a8101a99ea48c1af23941a0322246cace3dfa69e.tar.gz
netsurf-a8101a99ea48c1af23941a0322246cace3dfa69e.tar.bz2
use gtk completion variable and remove uneeded include of netsurf.h
Diffstat (limited to 'gtk/dialogs/about.c')
-rw-r--r--gtk/dialogs/about.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/dialogs/about.c b/gtk/dialogs/about.c
index a86bfe70f..99df137cc 100644
--- a/gtk/dialogs/about.c
+++ b/gtk/dialogs/about.c
@@ -28,6 +28,7 @@
#include "utils/messages.h"
#include "utils/nsoption.h"
#include "desktop/browser.h"
+#include "desktop/netsurf.h"
#include "gtk/compat.h"
#include "gtk/gui.h"
@@ -65,13 +66,13 @@ nsgtk_about_dialog_info(GtkWidget *button, gpointer data)
gtk_widget_destroy(gtk_widget_get_toplevel(button));
}
-void nsgtk_about_dialog_init(GtkWindow *parent, const char *version)
+void nsgtk_about_dialog_init(GtkWindow *parent)
{
GtkWidget *dialog, *vbox, *button, *image, *label;
gchar *name_string;
GList *pixbufs = gtk_window_get_default_icon_list();
- name_string = g_markup_printf_escaped ("<span size=\"xx-large\" weight=\"bold\">NetSurf %s</span>", version);
+ name_string = g_markup_printf_escaped ("<span size=\"xx-large\" weight=\"bold\">NetSurf %s</span>", netsurf_version);
/* Create the widgets */