summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-04-21 20:56:11 +0200
committerAlexander Larsson <alexl@redhat.com>2016-04-21 20:59:30 +0200
commit7d509ab93a83a9d6662ee201f3657e2f584b7eda (patch)
treeb8a849fbc545ab8ef662f839dea078c2eb1352f6 /lib
parentd314df07c1842263429aa99bfaff5530a254be67 (diff)
downloadxdg-app-7d509ab93a83a9d6662ee201f3657e2f584b7eda.tar.gz
Fix confusion about GError types
This was pretty mixed up. Also XdgAppError was not exported.
Diffstat (limited to 'lib')
-rw-r--r--lib/xdg-app-error.c4
-rw-r--r--lib/xdg-app-error.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/xdg-app-error.c b/lib/xdg-app-error.c
index 76984bc..37a2d63 100644
--- a/lib/xdg-app-error.c
+++ b/lib/xdg-app-error.c
@@ -21,7 +21,7 @@
#include "config.h"
-#include "xdg-app-portal-error.h"
+#include "xdg-app-error.h"
#include <gio/gio.h>
@@ -31,4 +31,4 @@
*
*/
-G_DEFINE_QUARK (xdg-app-error-quark, g_io_error)
+G_DEFINE_QUARK (xdg-app-error-quark, xdg_app_error)
diff --git a/lib/xdg-app-error.h b/lib/xdg-app-error.h
index 4cbda5b..b83385c 100644
--- a/lib/xdg-app-error.h
+++ b/lib/xdg-app-error.h
@@ -40,7 +40,7 @@ typedef enum {
#define XDG_APP_ERROR xdg_app_error_quark()
-GQuark xdg_app_error_quark (void);
+XDG_APP_EXTERN GQuark xdg_app_error_quark (void);
G_END_DECLS