summaryrefslogtreecommitdiff
path: root/gio/gloadableicon.h
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-09-02 19:05:58 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-09-02 19:05:58 +0000
commitf2a2d6c9ac2d98b565005d446fde01aac47f7d88 (patch)
treecab413fc45895fea6975eca1523e758b18d2d2d3 /gio/gloadableicon.h
parent920f3bffb31a60bcb5379c40efa3f648de79e15d (diff)
downloadglib-f2a2d6c9ac2d98b565005d446fde01aac47f7d88.tar.gz
big header formatting cleanup: indentation, vtable formatting, consistent
2008-09-02 Michael Natterer <mitch@imendio.com> * *.h: big header formatting cleanup: indentation, vtable formatting, consistent spacing in (* vfunc), trailing whitespace removal. Formatting should be pretty consistent in all GIO headers now. svn path=/trunk/; revision=7433
Diffstat (limited to 'gio/gloadableicon.h')
-rw-r--r--gio/gloadableicon.h39
1 files changed, 19 insertions, 20 deletions
diff --git a/gio/gloadableicon.h b/gio/gloadableicon.h
index b8f457058..754090fe4 100644
--- a/gio/gloadableicon.h
+++ b/gio/gloadableicon.h
@@ -1,5 +1,5 @@
/* GIO - GLib Input, Output and Streaming Library
- *
+ *
* Copyright (C) 2006-2007 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
@@ -38,8 +38,8 @@ G_BEGIN_DECLS
/**
* GLoadableIcon:
- *
- * Generic type for all kinds of icons that can be loaded
+ *
+ * Generic type for all kinds of icons that can be loaded
* as a stream.
**/
typedef struct _GLoadableIconIface GLoadableIconIface;
@@ -50,7 +50,7 @@ typedef struct _GLoadableIconIface GLoadableIconIface;
* @load: Loads an icon.
* @load_async: Loads an icon asynchronously.
* @load_finish: Finishes an asynchronous icon load.
- *
+ *
* Interface for icons that can be loaded as a stream.
**/
struct _GLoadableIconIface
@@ -59,24 +59,23 @@ struct _GLoadableIconIface
/* Virtual Table */
- GInputStream * (*load) (GLoadableIcon *icon,
- int size,
- char **type,
- GCancellable *cancellable,
- GError **error);
- void (*load_async) (GLoadableIcon *icon,
- int size,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
- GInputStream * (*load_finish) (GLoadableIcon *icon,
- GAsyncResult *res,
- char **type,
- GError **error);
+ GInputStream * (* load) (GLoadableIcon *icon,
+ int size,
+ char **type,
+ GCancellable *cancellable,
+ GError **error);
+ void (* load_async) (GLoadableIcon *icon,
+ int size,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+ GInputStream * (* load_finish) (GLoadableIcon *icon,
+ GAsyncResult *res,
+ char **type,
+ GError **error);
};
-GType g_loadable_icon_get_type (void) G_GNUC_CONST;
-
+GType g_loadable_icon_get_type (void) G_GNUC_CONST;
GInputStream *g_loadable_icon_load (GLoadableIcon *icon,
int size,