diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-08-18 20:19:55 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-08-18 20:19:55 +0000 |
| commit | dce3466274e04364e25c47b0b71007a65c9cf9dd (patch) | |
| tree | 37d21bcfbc010d83221de713fb83d6e15e1546cf /src/help.cpp | |
| parent | Fix accidental regression in previous commit (diff) | |
| download | inkscape-dce3466274e04364e25c47b0b71007a65c9cf9dd.tar.gz inkscape-dce3466274e04364e25c47b0b71007a65c9cf9dd.zip | |
Code cleanup.
(bzr r13341.1.145)
Diffstat (limited to 'src/help.cpp')
| -rw-r--r-- | src/help.cpp | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/src/help.cpp b/src/help.cpp index 02a1930f4..60e57abfc 100644 --- a/src/help.cpp +++ b/src/help.cpp @@ -1,6 +1,4 @@ -#define __SP_HELP_C__ - -/* +/** * Help/About window * * Authors: @@ -13,24 +11,19 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include <glib.h> -#include "ui/dialog/aboutbox.h" -#include "path-prefix.h" -#include "help.h" #include "file.h" +#include "help.h" +#include "path-prefix.h" +#include "ui/dialog/aboutbox.h" - -void -sp_help_about (void) +void sp_help_about() { Inkscape::UI::Dialog::AboutBox::show_about(); } -void -sp_help_open_tutorial(GtkMenuItem *, gpointer data) +void sp_help_open_tutorial(GtkMenuItem *, void* data) { gchar const *name = static_cast<gchar const *>(data); gchar *c = g_build_filename(INKSCAPE_TUTORIALSDIR, name, NULL); |
