diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-08-26 15:15:17 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-08-26 15:15:17 +0000 |
| commit | 5821cc48dae5df1ced6674b3371bcc5622de4d65 (patch) | |
| tree | 3bd21c9950a9026e0bc2b31b50bce06f7d75be94 | |
| parent | 58c984fb38d5053deed1ddc2ec668aeab0027b5f (diff) | |
Core: Remove include of lasso.h in registry.h
* lasso/registry.h:
include of lasso.h is useless, replace by including directly export.h
* lasso/registry.c:
directly include errors.h
| -rw-r--r-- | lasso/registry.c | 1 | ||||
| -rw-r--r-- | lasso/registry.h | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lasso/registry.c b/lasso/registry.c index b093f506..5abe7c93 100644 --- a/lasso/registry.c +++ b/lasso/registry.c @@ -24,6 +24,7 @@ #include <glib.h> #include "registry-private.h" +#include "./errors.h" /** diff --git a/lasso/registry.h b/lasso/registry.h index 03aa79e9..4261a21a 100644 --- a/lasso/registry.h +++ b/lasso/registry.h @@ -27,15 +27,12 @@ #define __REGISTRY_H__ #include <glib.h> -#include "lasso.h" +#include "./export.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ -#define LASSO_GOBJECT_NAMESPACE "http://lasso.entrouvert.org/ns/GObject" -#define LASSO_PYTHON_NAMESPACE "http://lasso.entrouvert.org/ns/python" - typedef const char *(*LassoRegistryTranslationFunction)(const char *from_namespace, const char *from_name, const char *to_namespace); LASSO_EXPORT gint lasso_registry_default_add_direct_mapping(const char *from_namespace, |
