diff options
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); |
