mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-20 06:35:25 -04:00
Move flatpack_error quark to common so that the common code can use it
This commit is contained in:
1 parent
5ff8a00078
commit
e23bc2b7a6
3 files changed
+6
-1
No files matched your search
@@ -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"
|
||||
|
||||
@@ -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
@@ -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 */
|
||||
Reference in new issue
Block a user