Commit 6d05c4d1 authored by Oliver Galvin's avatar Oliver Galvin Committed by Guido Gunther
Browse files

style: Remove odd tabs as per 'Coding Style' in HACKING.md, and fix typo.

parent 3e28b245
......@@ -25,7 +25,7 @@ Coding Style
We mostly use kernel style but
* Use spaces, never tabs
* Use 2 spaces for inentation
* Use 2 spaces for indentation
GTK style function argument indentation
----------------------------------------
......
......@@ -38,10 +38,10 @@
</para>
<para role="gallery">
<link linkend="HdyHeaderBar">
<inlinegraphic fileref="header-bar.png" format="PNG"></inlinegraphic>
<inlinegraphic fileref="header-bar.png" format="PNG"></inlinegraphic>
</link>
<link linkend="HdyPreferencesWindow">
<inlinegraphic fileref="preferences-window.png" format="PNG"></inlinegraphic>
<inlinegraphic fileref="preferences-window.png" format="PNG"></inlinegraphic>
</link>
</para>
</refsect2>
......@@ -60,10 +60,10 @@
<title>HdyViewSwitcher</title>
<para role="gallery">
<link linkend="HdyViewSwitcher">
<inlinegraphic fileref="view-switcher.png" format="PNG"></inlinegraphic>
<inlinegraphic fileref="view-switcher.png" format="PNG"></inlinegraphic>
</link>
<link linkend="HdyViewSwitcherBar">
<inlinegraphic fileref="view-switcher-bar.png" format="PNG"></inlinegraphic>
<inlinegraphic fileref="view-switcher-bar.png" format="PNG"></inlinegraphic>
</link>
</para>
</refsect2>
......
<!ELEMENT glade-catalog (glade-widget-classes?,
glade-widget-group*)>
glade-widget-group*)>
<!ATTLIST glade-catalog name CDATA #REQUIRED
version CDATA #IMPLIED
......@@ -10,28 +10,28 @@
book CDATA #IMPLIED
icon-prefix CDATA #IMPLIED
init-function CDATA #IMPLIED
requires CDATA #IMPLIED>
requires CDATA #IMPLIED>
<!ELEMENT glade-widget-classes (glade-widget-class+)>
<!ELEMENT glade-widget-class (post-create-function?,
add-child-verify-function?,
add-child-function?,
remove-child-function?,
replace-child-function?,
get-internal-child-function?,
child-property-applies-function?,
child-action-activate-function?,
read-widget-function?,
write-widget-function?,
get-property-function?,
set-property-function?,
verify-function?,
special-child-type?,
packing-actions?,
properties?,
children?,
packing-defaults?)>
add-child-verify-function?,
add-child-function?,
remove-child-function?,
replace-child-function?,
get-internal-child-function?,
child-property-applies-function?,
child-action-activate-function?,
read-widget-function?,
write-widget-function?,
get-property-function?,
set-property-function?,
verify-function?,
special-child-type?,
packing-actions?,
properties?,
children?,
packing-defaults?)>
<!ATTLIST glade-widget-class toplevel CDATA #IMPLIED
since CDATA #IMPLIED
......@@ -39,10 +39,10 @@
use-placeholders CDATA #IMPLIED
default-width CDATA #IMPLIED
default-height CDATA #IMPLIED
name CDATA #REQUIRED
name CDATA #REQUIRED
generic-name CDATA #IMPLIED
icon-name CDATA #IMPLIED
title CDATA #REQUIRED
title CDATA #REQUIRED
parent CDATA #IMPLIED
get-type-function CDATA #IMPLIED
adaptor CDATA #IMPLIED>
......@@ -50,14 +50,14 @@
<!ELEMENT properties (property+)>
<!ELEMENT property (spec?,
type?,
parameter-spec?,
tooltip?,
parameters?,
set-function?,
get-function?,
verify-function?,
displayable-values?)>
type?,
parameter-spec?,
tooltip?,
parameters?,
set-function?,
get-function?,
verify-function?,
displayable-values?)>
<!ATTLIST property id CDATA #REQUIRED
since CDATA #IMPLIED
......@@ -73,24 +73,24 @@
save-always CDATA #IMPLIED
parentless-widget CDATA #IMPLIED
atk-property CDATA #IMPLIED
default CDATA #IMPLIED
query CDATA #IMPLIED
default CDATA #IMPLIED
query CDATA #IMPLIED
save CDATA #IMPLIED
common CDATA #IMPLIED
disabled CDATA #IMPLIED
visible CDATA #IMPLIED
common CDATA #IMPLIED
disabled CDATA #IMPLIED
visible CDATA #IMPLIED
custom-layout CDATA #IMPLIED
multiline CDATA #IMPLIED
optional CDATA #IMPLIED
optional-default CDATA #IMPLIED
optional CDATA #IMPLIED
optional-default CDATA #IMPLIED
ignore CDATA #IMPLIED
needs-sync CDATA #IMPLIED
construct-only CDATA #IMPLIED
translatable CDATA #IMPLIED>
translatable CDATA #IMPLIED>
<!ELEMENT parameter-spec (type?,
value-type?,
min?)>
value-type?,
min?)>
<!ELEMENT value-type (#PCDATA)>
<!ELEMENT min (#PCDATA)>
<!ELEMENT set-function (#PCDATA)>
......@@ -116,15 +116,15 @@
<!ELEMENT children (child+)>
<!ELEMENT child (type,
add-child-function?,
remove-child-function?,
get-children-function?,
get-all-children-function?,
set-property-function?,
get-property-function?,
replace-child-function?,
fill-empty-function?,
properties?)>
add-child-function?,
remove-child-function?,
get-children-function?,
get-all-children-function?,
set-property-function?,
get-property-function?,
replace-child-function?,
fill-empty-function?,
properties?)>
<!ELEMENT type (#PCDATA)>
<!ELEMENT add-child-verify-function (#PCDATA)>
......@@ -149,7 +149,7 @@
<!ELEMENT set-property-function (#PCDATA)>
<!ELEMENT glade-widget-group (default-palette-state?,
glade-widget-class-ref+)>
glade-widget-class-ref+)>
<!ATTLIST glade-widget-group name CDATA #REQUIRED
title CDATA #REQUIRED>
......
......@@ -19,7 +19,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief" bind-source="btn_0" bind-property="relief" bind-flags="bidirectional|sync-create"/>
</object>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
......@@ -32,7 +32,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief" bind-source="btn_0" bind-property="relief" bind-flags="bidirectional|sync-create"/>
</object>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">0</property>
......@@ -45,7 +45,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief" bind-source="btn_0" bind-property="relief" bind-flags="bidirectional|sync-create"/>
</object>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">0</property>
......@@ -58,7 +58,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief" bind-source="btn_0" bind-property="relief" bind-flags="bidirectional|sync-create"/>
</object>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
......@@ -71,7 +71,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief" bind-source="btn_0" bind-property="relief" bind-flags="bidirectional|sync-create"/>
</object>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
......@@ -84,7 +84,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief" bind-source="btn_0" bind-property="relief" bind-flags="bidirectional|sync-create"/>
</object>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">1</property>
......@@ -97,7 +97,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief" bind-source="btn_0" bind-property="relief" bind-flags="bidirectional|sync-create"/>
</object>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">2</property>
......@@ -110,7 +110,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief" bind-source="btn_0" bind-property="relief" bind-flags="bidirectional|sync-create"/>
</object>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">2</property>
......@@ -123,7 +123,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief" bind-source="btn_0" bind-property="relief" bind-flags="bidirectional|sync-create"/>
</object>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">2</property>
......@@ -136,7 +136,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief" bind-source="btn_0" bind-property="relief" bind-flags="bidirectional|sync-create"/>
</object>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">3</property>
......@@ -148,7 +148,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
</object>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">3</property>
......@@ -161,7 +161,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief" bind-source="btn_0" bind-property="relief" bind-flags="bidirectional|sync-create"/>
</object>
</object>
<packing>
<property name="left_attach">2</property>
<property name="top_attach">3</property>
......
......@@ -45,11 +45,11 @@ test_names = [
foreach test_name : test_names
t = executable(test_name, [test_name + '.c'] + libhandy_generated_headers,
c_args: test_cflags,
link_args: test_link_args,
dependencies: libhandy_deps + [libhandy_dep],
c_args: test_cflags,
link_args: test_link_args,
dependencies: libhandy_deps + [libhandy_dep],
pie: true,
)
)
test(test_name, t, env: test_env)
endforeach
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment