summaryrefslogtreecommitdiff
path: root/shared/nm-glib-aux/nm-obj.h
diff options
context:
space:
mode:
authorAntonio Cardace <acardace@redhat.com>2020-09-28 16:03:33 +0200
committerAntonio Cardace <acardace@redhat.com>2020-09-28 16:07:51 +0200
commit328fb90f3e0d4e35975aff63944ac0412d7893a5 (patch)
tree50a52b51e7740057e04b1c10af7095a63f01eed4 /shared/nm-glib-aux/nm-obj.h
parentb4d8e69cd4838db8f563af8955d31de63e65f93f (diff)
downloadNetworkManager-328fb90f3e0d4e35975aff63944ac0412d7893a5.tar.gz
all: reformat all with new clang-format style
Run: ./contrib/scripts/nm-code-format.sh -i ./contrib/scripts/nm-code-format.sh -i Yes, it needs to run twice because the first run doesn't yet produce the final result. Signed-off-by: Antonio Cardace <acardace@redhat.com>
Diffstat (limited to 'shared/nm-glib-aux/nm-obj.h')
-rw-r--r--shared/nm-glib-aux/nm-obj.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/shared/nm-glib-aux/nm-obj.h b/shared/nm-glib-aux/nm-obj.h
index cbfdba6378..f1addf8a0b 100644
--- a/shared/nm-glib-aux/nm-obj.h
+++ b/shared/nm-glib-aux/nm-obj.h
@@ -14,7 +14,7 @@ typedef struct _NMObjBaseInst NMObjBaseInst;
typedef struct _NMObjBaseClass NMObjBaseClass;
struct _NMObjBaseInst {
- /* The first field of NMObjBaseInst is compatible with GObject.
+ /* The first field of NMObjBaseInst is compatible with GObject.
* Basically, NMObjBaseInst is an abstract base type of GTypeInstance.
*
* If you do it right, you may derive a type of NMObjBaseInst as a proper GTypeInstance.
@@ -29,14 +29,14 @@ struct _NMObjBaseInst {
* Basically, the only thing NMObjBaseInst gives you is access to an
* NMObjBaseClass instance.
*/
- union {
- const NMObjBaseClass *klass;
- GTypeInstance g_type_instance;
- };
+ union {
+ const NMObjBaseClass *klass;
+ GTypeInstance g_type_instance;
+ };
};
struct _NMObjBaseClass {
- /* NMObjBaseClass is the base class of all NMObjBaseInst implementations.
+ /* NMObjBaseClass is the base class of all NMObjBaseInst implementations.
* Note that it is also an abstract super class of GTypeInstance, that means
* you may implement a NMObjBaseClass as a subtype of GTypeClass.
*
@@ -55,10 +55,10 @@ struct _NMObjBaseClass {
* Also note that usually you have only one instance of a certain type, so this
* wastes just a few bytes for the unneeded GType.
*/
- union {
- GType g_type;
- GTypeClass g_type_class;
- };
+ union {
+ GType g_type;
+ GTypeClass g_type_class;
+ };
};
/*****************************************************************************/