diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-01-14 09:20:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-14 20:21:53 +0100 |
commit | 3831aa8114906e17fcc2d4d0ea689d11f37c4407 (patch) | |
tree | dfb5b494dfb4b34967192e7cb05e32319bde6365 /.git-hooks | |
parent | 0c82232305d4823a9807624ab7bd40d608146112 (diff) |
drop newly added deprecated GtkAlignment instance
Change-Id: Iad8d15ffc89b48aca698553329cda643dd0b4406
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109260
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to '.git-hooks')
-rwxr-xr-x | .git-hooks/pre-commit | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.git-hooks/pre-commit b/.git-hooks/pre-commit index 8470d4b2631b..75d217f3f453 100755 --- a/.git-hooks/pre-commit +++ b/.git-hooks/pre-commit @@ -109,6 +109,10 @@ sub check_whitespaces($) { bad_line("use margin-end instead of margin-right", $_, "ui"); } + if (/<object class="GtkAlignment"/) + { + bad_line("use margin-start (etc) on child instead of a GtkAlignment", $_, "ui"); + } if ((/translatable="yes"/) and not(/context=/)) { bad_line("translatable .ui file line without context", $_, "ui"); |