summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo-finder-mount.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libostree/ostree-repo-finder-mount.h')
-rw-r--r--src/libostree/ostree-repo-finder-mount.h23
1 files changed, 18 insertions, 5 deletions
diff --git a/src/libostree/ostree-repo-finder-mount.h b/src/libostree/ostree-repo-finder-mount.h
index d0403388..1ba7851a 100644
--- a/src/libostree/ostree-repo-finder-mount.h
+++ b/src/libostree/ostree-repo-finder-mount.h
@@ -23,8 +23,8 @@
#pragma once
#include <gio/gio.h>
-#include <glib.h>
#include <glib-object.h>
+#include <glib.h>
#include "ostree-repo-finder.h"
#include "ostree-types.h"
@@ -35,17 +35,30 @@ G_BEGIN_DECLS
/* Manually expanded version of the following, omitting autoptr support (for GLib < 2.44):
_OSTREE_PUBLIC
-G_DECLARE_FINAL_TYPE (OstreeRepoFinderMount, ostree_repo_finder_mount, OSTREE, REPO_FINDER_MOUNT, GObject) */
+G_DECLARE_FINAL_TYPE (OstreeRepoFinderMount, ostree_repo_finder_mount, OSTREE, REPO_FINDER_MOUNT,
+GObject) */
_OSTREE_PUBLIC
GType ostree_repo_finder_mount_get_type (void);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
typedef struct _OstreeRepoFinderMount OstreeRepoFinderMount;
-typedef struct { GObjectClass parent_class; } OstreeRepoFinderMountClass;
+typedef struct
+{
+ GObjectClass parent_class;
+} OstreeRepoFinderMountClass;
-static inline OstreeRepoFinderMount *OSTREE_REPO_FINDER_MOUNT (gpointer ptr) { return G_TYPE_CHECK_INSTANCE_CAST (ptr, ostree_repo_finder_mount_get_type (), OstreeRepoFinderMount); }
-static inline gboolean OSTREE_IS_REPO_FINDER_MOUNT (gpointer ptr) { return G_TYPE_CHECK_INSTANCE_TYPE (ptr, ostree_repo_finder_mount_get_type ()); }
+static inline OstreeRepoFinderMount *
+OSTREE_REPO_FINDER_MOUNT (gpointer ptr)
+{
+ return G_TYPE_CHECK_INSTANCE_CAST (ptr, ostree_repo_finder_mount_get_type (),
+ OstreeRepoFinderMount);
+}
+static inline gboolean
+OSTREE_IS_REPO_FINDER_MOUNT (gpointer ptr)
+{
+ return G_TYPE_CHECK_INSTANCE_TYPE (ptr, ostree_repo_finder_mount_get_type ());
+}
G_GNUC_END_IGNORE_DEPRECATIONS
_OSTREE_PUBLIC