summaryrefslogtreecommitdiffstats
path: root/src/extension
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension')
-rw-r--r--src/extension/dbus/application-interface.h4
-rw-r--r--src/extension/extension.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/extension/dbus/application-interface.h b/src/extension/dbus/application-interface.h
index c108402cb..74c37cdd3 100644
--- a/src/extension/dbus/application-interface.h
+++ b/src/extension/dbus/application-interface.h
@@ -46,13 +46,13 @@ struct _ApplicationInterfaceClass {
};
-typedef enum
+enum InkscapeError
{
INKSCAPE_ERROR_SELECTION,
INKSCAPE_ERROR_OBJECT,
INKSCAPE_ERROR_VERB,
INKSCAPE_ERROR_OTHER
-} InkscapeError;
+};
diff --git a/src/extension/extension.h b/src/extension/extension.h
index 36e06939a..6b1a2aed8 100644
--- a/src/extension/extension.h
+++ b/src/extension/extension.h
@@ -91,11 +91,11 @@ class Implementation;
class Extension {
public:
/** An enumeration to identify if the Extension has been loaded or not. */
- typedef enum {
+ enum state_t {
STATE_LOADED, /**< The extension has been loaded successfully */
STATE_UNLOADED, /**< The extension has not been loaded */
STATE_DEACTIVATED /**< The extension is missing something which makes it unusable */
- } state_t;
+ };
private:
gchar *id; /**< The unique identifier for the Extension */