Move flatpack_error quark to common so that the common code can use it

This commit is contained in:
Alexander Larsson committed 2016-05-12 16:33:48 +02:00
1 parent 5ff8a00078
commit e23bc2b7a6
3 files changed
+6 -1

No files matched your search

+1
View File
@@ -30,6 +30,7 @@
#include <gio/gio.h>
#include "libgsystem.h"
#include "libglnx/libglnx.h"
#include "lib/flatpak-error.h"
#include "flatpak-dir.h"
#include "flatpak-utils.h"
+4
View File
@@ -21,6 +21,7 @@
#include "config.h"
#include "flatpak-utils.h"
#include "lib/flatpak-error.h"
#include "flatpak-dir.h"
#include "flatpak-portal-error.h"
@@ -39,6 +40,9 @@
#include "libglnx/libglnx.h"
#include <libsoup/soup.h>
/* This is also here so the common code can report these errors to the lib */
G_DEFINE_QUARK (flatpak-error-quark, flatpak_error)
GBytes *
flatpak_read_stream (GInputStream *in,
gboolean null_terminate,
+1 -1
View File
@@ -31,4 +31,4 @@
*
*/
G_DEFINE_QUARK (flatpak-error-quark, flatpak_error)
/* This is actually defined in common/flatpak-utils.c so the common code can report errors */