summaryrefslogtreecommitdiff
path: root/daemon/gvfshttpinputstream.h
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2018-07-10 14:59:21 +0200
committerOndrej Holy <oholy@redhat.com>2018-07-10 15:35:06 +0200
commit5e276b2c92015f8c6eff42be99eafc8d54b570a7 (patch)
tree526f74e9a72135293e46de95d29f9192ca9cf64f /daemon/gvfshttpinputstream.h
parent1106ec3d4977c7eae726b7a3a09836678ff0de78 (diff)
downloadgvfs-5e276b2c92015f8c6eff42be99eafc8d54b570a7.tar.gz
daemon: Don't use deprecated private structure APIs
g_type_class_add_private and G_TYPE_INSTANCE_GET_PRIVATE have been recently deprecated. Let's use rather G_DEFINE_TYPE_WITH_PRIVATE and _get_instance_private() instead in order to prevent deprecation warnings.
Diffstat (limited to 'daemon/gvfshttpinputstream.h')
-rw-r--r--daemon/gvfshttpinputstream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/gvfshttpinputstream.h b/daemon/gvfshttpinputstream.h
index bce0c88e..93f919ee 100644
--- a/daemon/gvfshttpinputstream.h
+++ b/daemon/gvfshttpinputstream.h
@@ -32,12 +32,14 @@ G_BEGIN_DECLS
#define G_VFS_HTTP_INPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_VFS_TYPE_HTTP_INPUT_STREAM, GVfsHttpInputStreamClass))
typedef struct GVfsHttpInputStream GVfsHttpInputStream;
+typedef struct GVfsHttpInputStreamPrivate GVfsHttpInputStreamPrivate;
typedef struct GVfsHttpInputStreamClass GVfsHttpInputStreamClass;
struct GVfsHttpInputStream
{
GInputStream parent;
+ GVfsHttpInputStreamPrivate *priv;
};
struct GVfsHttpInputStreamClass