[gtk/docs-gtk-org] gobject: Fix indentation
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/docs-gtk-org] gobject: Fix indentation
- Date: Sat, 6 Nov 2021 14:03:35 +0000 (UTC)
commit f2f01692938a9e76dfe7543ff3de461657cb139e
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sat Nov 6 14:02:56 2021 +0000
gobject: Fix indentation
Replace tabs with spaces in pre-formatted code blocks.
glib/gobject/boxed.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gobject/boxed.md b/glib/gobject/boxed.md
index 37918b5298..f4d79e2a8d 100644
--- a/glib/gobject/boxed.md
+++ b/glib/gobject/boxed.md
@@ -54,7 +54,7 @@ example_rectangle_free (ExampleRectangle *r);
// In the source
G_DEFINE_BOXED_TYPE (ExampleRectangle, example_rectangle,
example_rectangle_copy,
- example_rectangle_free)
+ example_rectangle_free)
```
Just like `G_DEFINE_TYPE` and `G_DEFINE_INTERFACE_TYPE`, the
@@ -74,7 +74,7 @@ register the property using [`func@GObject.param_spec_boxed`], e.g.
obj_props[PROP_BOUNDS] =
g_param_spec_boxed ("bounds", NULL, NULL,
EXAMPLE_TYPE_RECTANGLE,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
```
In the `set_property` implementation you can use `g_value_get_boxed()` to
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]