diff options
author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2018-12-22 00:00:00 +0000 |
---|---|---|
committer | Christoph Reiter <creiter@src.gnome.org> | 2018-12-22 18:52:20 +0100 |
commit | c665a1d5a5b5700cfbaec36832607a5d965f15de (patch) | |
tree | 63811b4513398f73f6f701ddff4968ca730741a1 /gtk/gtkmain.h | |
parent | c7f1a275acc15d28fca9e876bc65d40341546346 (diff) | |
download | gtk+-c665a1d5a5b5700cfbaec36832607a5d965f15de.tar.gz |
Annotate values of PRIORITY constants
g-ir-scanner incorrectly evaluates macro definition that include
references to other macro definitions. Provide a correct value as an
annotation.
Differences in generated gir files:
```diff
@@ -19017 +19017 @@
- <constant name="PRIORITY_REDRAW" value="20" c:type="GDK_PRIORITY_REDRAW">
+ <constant name="PRIORITY_REDRAW" value="120" c:type="GDK_PRIORITY_REDRAW">
@@ -74229,3 +74229,3 @@
</constant>
- <constant name="PRIORITY_RESIZE" value="10" c:type="GTK_PRIORITY_RESIZE">
+ <constant name="PRIORITY_RESIZE" value="110" c:type="GTK_PRIORITY_RESIZE">
<doc xml:space="preserve">Use this priority for functionality related to size allocation.
@@ -106786,3 +106786,3 @@
<constant name="TEXT_VIEW_PRIORITY_VALIDATE"
- value="5"
+ value="125"
c:type="GTK_TEXT_VIEW_PRIORITY_VALIDATE">
```
See !472
Diffstat (limited to 'gtk/gtkmain.h')
-rw-r--r-- | gtk/gtkmain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h index b80da107d5..81c1e574ad 100644 --- a/gtk/gtkmain.h +++ b/gtk/gtkmain.h @@ -40,7 +40,7 @@ G_BEGIN_DECLS /** - * GTK_PRIORITY_RESIZE: + * GTK_PRIORITY_RESIZE: (value 110) * * Use this priority for functionality related to size allocation. * |