summaryrefslogtreecommitdiffstats
path: root/src/shortcuts.h
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2013-03-25 17:42:31 +0000
committerAlex Valavanis <valavanisalex@googlemail.com>2013-03-25 17:42:31 +0000
commit0cdd007ebf8dcfbd39c1d36ab53f43617eb692df (patch)
tree0ac5146d9316011fa285ff0733c30acddfcab965 /src/shortcuts.h
parentTranslations. Fix for Bug #837962 (Untranslatable and not localized strings). (diff)
downloadinkscape-0cdd007ebf8dcfbd39c1d36ab53f43617eb692df.tar.gz
inkscape-0cdd007ebf8dcfbd39c1d36ab53f43617eb692df.zip
Workaround usage of deprecated glib symbols in 3rd party libraries
Fixed bugs: - https://launchpad.net/bugs/1122774 (bzr r12243)
Diffstat (limited to 'src/shortcuts.h')
-rw-r--r--src/shortcuts.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/shortcuts.h b/src/shortcuts.h
index c2a6f6cde..2d87b17ef 100644
--- a/src/shortcuts.h
+++ b/src/shortcuts.h
@@ -1,8 +1,6 @@
#ifndef __SP_SHORTCUTS_H__
#define __SP_SHORTCUTS_H__
-#include <gtkmm/cellrendereraccel.h>
-
/*
* Keyboard shortcut processing
*
@@ -12,6 +10,14 @@
* This code is in public domain
*/
+#include <gdkmm/types.h>
+
+typedef struct _GtkAccelGroup GtkAccelGroup;
+typedef struct _GtkWidget GtkWidget;
+
+struct _GtkAccelGroup;
+struct _GtkWidget;
+
namespace Inkscape {
class Verb;
namespace UI {