gtksourceview3 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -1
  3. data/dependency-check/Rakefile +43 -0
  4. data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
  5. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +1 -0
  6. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceautocleanups.h +8 -0
  7. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +35 -3
  8. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +8 -0
  9. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemap.h +2 -2
  10. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +1 -1
  11. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcespacedrawer.h +149 -0
  12. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +0 -1
  13. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +1 -2
  14. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +1 -2
  15. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +12 -0
  16. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +30 -2
  17. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-enumtypes.h +13 -0
  18. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +11 -2
  19. data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
  20. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  21. data/vendor/local/lib/libgtksourceview-3.0.la +2 -2
  22. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +1 -1
  23. data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +573 -20
  24. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +4 -5
  25. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +4 -3
  26. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +2 -2
  27. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +1 -1
  28. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +298 -1
  29. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +70 -0
  30. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +170 -170
  31. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +4 -4
  32. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceRegion.html +2 -2
  33. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +9 -0
  34. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSpaceDrawer.html +671 -0
  35. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +4 -4
  36. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +4 -4
  37. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +4 -4
  38. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +173 -91
  39. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +2 -4
  40. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-0.html +2 -2
  41. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-10.html +2 -2
  42. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-12.html +2 -2
  43. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-2.html +2 -2
  44. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-4.html +2 -2
  45. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-8.html +2 -2
  46. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +2 -2
  47. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +2 -2
  48. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +2 -2
  49. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +2 -2
  50. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +2 -2
  51. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-18.html +2 -2
  52. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-20.html +2 -2
  53. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-22.html +4 -3
  54. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-24.html +129 -0
  55. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +2 -2
  56. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +30 -2
  57. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +109 -5
  58. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +5 -5
  59. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +3 -3
  60. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +3 -3
  61. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +3 -3
  62. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +3 -3
  63. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +3 -3
  64. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +3 -3
  65. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +3 -3
  66. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch09.html +6 -3
  67. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +17 -4
  68. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +62 -22
  69. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +10 -5
  70. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +28 -28
  71. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +6 -6
  72. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +8 -5
  73. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +29 -141
  74. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt02.html +136 -15
  75. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt03.html +21 -25
  76. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt04.html +54 -0
  77. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +6 -6
  78. data/vendor/local/share/gtksourceview-3.0/language-specs/abnf.lang +110 -0
  79. data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +64 -0
  80. data/vendor/local/share/gtksourceview-3.0/language-specs/dtl.lang +297 -0
  81. data/vendor/local/share/gtksourceview-3.0/language-specs/haxe.lang +238 -0
  82. data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +1 -1
  83. data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +3 -0
  84. data/vendor/local/share/gtksourceview-3.0/language-specs/meson.lang +29 -2
  85. data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +1 -1
  86. data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +1 -0
  87. data/vendor/local/share/gtksourceview-3.0/language-specs/rust.lang +10 -2
  88. data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  89. data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  90. data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  91. data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  92. data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  93. data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  94. data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  95. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  96. data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  97. data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  98. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  99. data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  100. data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  101. data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  102. data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  103. data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  104. data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  105. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  106. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  107. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  108. data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  109. data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  110. data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  111. data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  112. data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  113. data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  114. data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  115. data/vendor/local/share/locale/fur/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  116. data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  117. data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  118. data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  119. data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  120. data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  121. data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  122. data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  123. data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  124. data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  125. data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  126. data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  127. data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  128. data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  129. data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  130. data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  131. data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  132. data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  133. data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  134. data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  135. data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  136. data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  137. data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  138. data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  139. data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  140. data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  141. data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  142. data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  143. data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  144. data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  145. data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  146. data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  147. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  148. data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  149. data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  150. data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  151. data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  152. data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  153. data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  154. data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  155. data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  156. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  157. data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  158. data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  159. data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  160. data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  161. data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  162. data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  163. data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  164. data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  165. data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  166. data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  167. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  168. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  169. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  170. metadata +16 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 33bb4fece4fa7dc198bdd449e8b4d11aafe0d880
4
- data.tar.gz: 5c78c8435d06f59a3190a21d8a2a9f0d50826f36
3
+ metadata.gz: 190e2acfbdc01236cb71c6ec7f42dd4328f62944
4
+ data.tar.gz: 50670e42bed63009d95fe0a4b9a5c5cbed576ac2
5
5
  SHA512:
6
- metadata.gz: 7607c4a9813290fe6e762d9f81f0d052c01060d5b792226164758687f1e707df5be8958627115aa29d8732a96c500fc285ca75e079e274e418c402f7b74f3456
7
- data.tar.gz: 214b74480efab26fa9c7db6020cfb6093179b00b68b5bb95b891bb603f12490c039f0047c8edea804be714eb8de98dccd3c9f3af46d257e0993401dabe9d9f46
6
+ metadata.gz: 7d3c12f280ec604aa84bb73ffbc838e02ed1b9870bcca9a645e97215e9d3b97ffceffe0060ff2ef84599d954a42b0ada38546b05bb0a11247cddb3336dcca7bd
7
+ data.tar.gz: 278df7182e8c1f52f3833a55f8ea8944dba9b191192657725cb56d6b80dd6bca8fd8df3cff364d69e7a760cfc9bf55520c369af97ae0769e3be43be0b8ee68ef
data/Rakefile CHANGED
@@ -44,7 +44,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
44
44
  :name => "gtksourceview",
45
45
  :download_site => :gnome,
46
46
  :label => "GtkSourceView",
47
- :version => "3.22.2",
47
+ :version => "3.24.1",
48
48
  :compression_method => "xz",
49
49
  :windows => {
50
50
  :configure_args => [
@@ -0,0 +1,43 @@
1
+ # Copyright (C) 2017 Ruby-GNOME2 Project Team
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ require "pkg-config"
18
+ require "native-package-installer"
19
+
20
+ case RUBY_PLATFORM
21
+ when /mingw|mswin/
22
+ task :default => "nothing"
23
+ else
24
+ task :default => "dependency:check"
25
+ end
26
+
27
+ task :nothing do
28
+ end
29
+
30
+ namespace :dependency do
31
+ desc "Check dependency"
32
+ task :check do
33
+ unless PKGConfig.check_version?("gtksourceview-3.0")
34
+ unless NativePackageInstaller.install(:altlinux => "libgtksourceview3-devel",
35
+ :debian => "libgtksourceview-3.0-dev",
36
+ :fedora => "gtksourceview3-devel",
37
+ :homebrew => "gtksourceview3",
38
+ :macports => "gtksourceview3")
39
+ exit(false)
40
+ end
41
+ end
42
+ end
43
+ end
@@ -48,6 +48,7 @@
48
48
  #include <gtksourceview/gtksourceregion.h>
49
49
  #include <gtksourceview/gtksourcesearchcontext.h>
50
50
  #include <gtksourceview/gtksourcesearchsettings.h>
51
+ #include <gtksourceview/gtksourcespacedrawer.h>
51
52
  #include <gtksourceview/gtksourcestyle.h>
52
53
  #include <gtksourceview/gtksourcestylescheme.h>
53
54
  #include <gtksourceview/gtksourcestyleschemechooser.h>
@@ -27,6 +27,11 @@
27
27
  # endif
28
28
  #endif
29
29
 
30
+ #include <glib.h>
31
+ #include <gtksourceview/gtksourcetypes.h>
32
+
33
+ G_BEGIN_DECLS
34
+
30
35
  #ifndef __GI_SCANNER__
31
36
 
32
37
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSourceBuffer, g_object_unref)
@@ -48,6 +53,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSourceMap, g_object_unref)
48
53
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSourcePrintCompositor, g_object_unref)
49
54
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSourceSearchContext, g_object_unref)
50
55
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSourceSearchSettings, g_object_unref)
56
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSourceSpaceDrawer, g_object_unref)
51
57
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSourceStyleScheme, g_object_unref)
52
58
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSourceStyleSchemeChooserButton, g_object_unref)
53
59
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSourceStyleSchemeChooserWidget, g_object_unref)
@@ -57,4 +63,6 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSourceView, g_object_unref)
57
63
 
58
64
  #endif /* __GI_SCANNER__ */
59
65
 
66
+ G_END_DECLS
67
+
60
68
  #endif /* GTK_SOURCE_AUTOCLEANUPS_H */
@@ -3,6 +3,7 @@
3
3
  * This file is part of GtkSourceView
4
4
  *
5
5
  * Copyright (C) 2009 - Jesse van den Kieboom <jessevdk@gnome.org>
6
+ * Copyright (C) 2016 - Sébastien Wilmet <swilmet@gnome.org>
6
7
  *
7
8
  * GtkSourceView is free software; you can redistribute it and/or
8
9
  * modify it under the terms of the GNU Lesser General Public
@@ -58,24 +59,55 @@ struct _GtkSourceCompletionItemClass {
58
59
  GTK_SOURCE_AVAILABLE_IN_ALL
59
60
  GType gtk_source_completion_item_get_type (void) G_GNUC_CONST;
60
61
 
61
- GTK_SOURCE_AVAILABLE_IN_ALL
62
+ GTK_SOURCE_DEPRECATED_IN_3_24_FOR (gtk_source_completion_item_new2)
62
63
  GtkSourceCompletionItem *gtk_source_completion_item_new (const gchar *label,
63
64
  const gchar *text,
64
65
  GdkPixbuf *icon,
65
66
  const gchar *info);
66
67
 
67
- GTK_SOURCE_AVAILABLE_IN_ALL
68
+ GTK_SOURCE_DEPRECATED_IN_3_24_FOR (gtk_source_completion_item_new2)
68
69
  GtkSourceCompletionItem *gtk_source_completion_item_new_with_markup (const gchar *markup,
69
70
  const gchar *text,
70
71
  GdkPixbuf *icon,
71
72
  const gchar *info);
72
73
 
73
- GTK_SOURCE_DEPRECATED_IN_3_10_FOR (gtk_source_completion_item_new)
74
+ GTK_SOURCE_DEPRECATED_IN_3_10_FOR (gtk_source_completion_item_new2)
74
75
  GtkSourceCompletionItem *gtk_source_completion_item_new_from_stock (const gchar *label,
75
76
  const gchar *text,
76
77
  const gchar *stock,
77
78
  const gchar *info);
78
79
 
80
+ GTK_SOURCE_AVAILABLE_IN_3_24
81
+ GtkSourceCompletionItem *gtk_source_completion_item_new2 (void);
82
+
83
+ GTK_SOURCE_AVAILABLE_IN_3_24
84
+ void gtk_source_completion_item_set_label (GtkSourceCompletionItem *item,
85
+ const gchar *label);
86
+
87
+ GTK_SOURCE_AVAILABLE_IN_3_24
88
+ void gtk_source_completion_item_set_markup (GtkSourceCompletionItem *item,
89
+ const gchar *markup);
90
+
91
+ GTK_SOURCE_AVAILABLE_IN_3_24
92
+ void gtk_source_completion_item_set_text (GtkSourceCompletionItem *item,
93
+ const gchar *text);
94
+
95
+ GTK_SOURCE_AVAILABLE_IN_3_24
96
+ void gtk_source_completion_item_set_icon (GtkSourceCompletionItem *item,
97
+ GdkPixbuf *icon);
98
+
99
+ GTK_SOURCE_AVAILABLE_IN_3_24
100
+ void gtk_source_completion_item_set_icon_name (GtkSourceCompletionItem *item,
101
+ const gchar *icon_name);
102
+
103
+ GTK_SOURCE_AVAILABLE_IN_3_24
104
+ void gtk_source_completion_item_set_gicon (GtkSourceCompletionItem *item,
105
+ GIcon *gicon);
106
+
107
+ GTK_SOURCE_AVAILABLE_IN_3_24
108
+ void gtk_source_completion_item_set_info (GtkSourceCompletionItem *item,
109
+ const gchar *info);
110
+
79
111
  G_END_DECLS
80
112
 
81
113
  #endif /* GTK_SOURCE_COMPLETION_ITEM_H */
@@ -60,6 +60,14 @@ struct _GtkSourceGutterClass
60
60
  GTK_SOURCE_AVAILABLE_IN_ALL
61
61
  GType gtk_source_gutter_get_type (void) G_GNUC_CONST;
62
62
 
63
+ GTK_SOURCE_AVAILABLE_IN_3_24
64
+ GtkSourceView *
65
+ gtk_source_gutter_get_view (GtkSourceGutter *gutter);
66
+
67
+ GTK_SOURCE_AVAILABLE_IN_3_24
68
+ GtkTextWindowType
69
+ gtk_source_gutter_get_window_type (GtkSourceGutter *gutter);
70
+
63
71
  GTK_SOURCE_DEPRECATED_IN_3_10_FOR (gtk_text_view_get_window)
64
72
  GdkWindow *gtk_source_gutter_get_window (GtkSourceGutter *gutter);
65
73
 
@@ -31,6 +31,7 @@
31
31
  #endif
32
32
 
33
33
  #include <gtk/gtk.h>
34
+ #include <gtksourceview/gtksourcetypes.h>
34
35
  #include <gtksourceview/gtksourceview.h>
35
36
 
36
37
  G_BEGIN_DECLS
@@ -43,8 +44,7 @@ G_BEGIN_DECLS
43
44
  #define GTK_SOURCE_IS_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_MAP))
44
45
  #define GTK_SOURCE_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_MAP, GtkSourceMapClass))
45
46
 
46
- typedef struct _GtkSourceMap GtkSourceMap;
47
- typedef struct _GtkSourceMapClass GtkSourceMapClass;
47
+ typedef struct _GtkSourceMapClass GtkSourceMapClass;
48
48
 
49
49
  struct _GtkSourceMap
50
50
  {
@@ -72,7 +72,7 @@ GtkSourceBuffer *gtk_source_search_context_get_buffer (GtkSourceSearchContext
72
72
  GTK_SOURCE_AVAILABLE_IN_3_10
73
73
  GtkSourceSearchSettings *gtk_source_search_context_get_settings (GtkSourceSearchContext *search);
74
74
 
75
- GTK_SOURCE_AVAILABLE_IN_3_10
75
+ GTK_SOURCE_DEPRECATED_IN_3_24_FOR (gtk_source_search_context_new)
76
76
  void gtk_source_search_context_set_settings (GtkSourceSearchContext *search,
77
77
  GtkSourceSearchSettings *settings);
78
78
 
@@ -0,0 +1,149 @@
1
+ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*- */
2
+ /* gtksourcespacedrawer.h
3
+ * This file is part of GtkSourceView
4
+ *
5
+ * Copyright (C) 2016 - Sébastien Wilmet <swilmet@gnome.org>
6
+ *
7
+ * GtkSourceView is free software; you can redistribute it and/or
8
+ * modify it under the terms of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation; either
10
+ * version 2.1 of the License, or (at your option) any later version.
11
+ *
12
+ * GtkSourceView is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
+ * Lesser General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Lesser General Public
18
+ * License along with this library; if not, write to the Free Software
19
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
+ */
21
+
22
+ #ifndef GTK_SOURCE_SPACE_DRAWER_H
23
+ #define GTK_SOURCE_SPACE_DRAWER_H
24
+
25
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
26
+ # if defined (__GNUC__)
27
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
28
+ # elif defined (G_OS_WIN32)
29
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
30
+ # endif
31
+ #endif
32
+
33
+ #include <gtk/gtk.h>
34
+ #include <gtksourceview/gtksourcetypes.h>
35
+
36
+ G_BEGIN_DECLS
37
+
38
+ #define GTK_SOURCE_TYPE_SPACE_DRAWER (gtk_source_space_drawer_get_type ())
39
+ #define GTK_SOURCE_SPACE_DRAWER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_SPACE_DRAWER, GtkSourceSpaceDrawer))
40
+ #define GTK_SOURCE_SPACE_DRAWER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_SOURCE_TYPE_SPACE_DRAWER, GtkSourceSpaceDrawerClass))
41
+ #define GTK_SOURCE_IS_SPACE_DRAWER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_SPACE_DRAWER))
42
+ #define GTK_SOURCE_IS_SPACE_DRAWER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_SPACE_DRAWER))
43
+ #define GTK_SOURCE_SPACE_DRAWER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_SPACE_DRAWER, GtkSourceSpaceDrawerClass))
44
+
45
+ typedef struct _GtkSourceSpaceDrawerClass GtkSourceSpaceDrawerClass;
46
+ typedef struct _GtkSourceSpaceDrawerPrivate GtkSourceSpaceDrawerPrivate;
47
+
48
+ struct _GtkSourceSpaceDrawer
49
+ {
50
+ GObject parent;
51
+
52
+ GtkSourceSpaceDrawerPrivate *priv;
53
+ };
54
+
55
+ struct _GtkSourceSpaceDrawerClass
56
+ {
57
+ GObjectClass parent_class;
58
+
59
+ gpointer padding[20];
60
+ };
61
+
62
+ /**
63
+ * GtkSourceSpaceTypeFlags:
64
+ * @GTK_SOURCE_SPACE_TYPE_NONE: No flags.
65
+ * @GTK_SOURCE_SPACE_TYPE_SPACE: Space character.
66
+ * @GTK_SOURCE_SPACE_TYPE_TAB: Tab character.
67
+ * @GTK_SOURCE_SPACE_TYPE_NEWLINE: Line break character. If the
68
+ * #GtkSourceBuffer:implicit-trailing-newline property is %TRUE,
69
+ * #GtkSourceSpaceDrawer also draws a line break at the end of the buffer.
70
+ * @GTK_SOURCE_SPACE_TYPE_NBSP: Non-breaking space character.
71
+ * @GTK_SOURCE_SPACE_TYPE_ALL: All white spaces.
72
+ *
73
+ * #GtkSourceSpaceTypeFlags contains flags for white space types.
74
+ *
75
+ * Since: 3.24
76
+ */
77
+ typedef enum _GtkSourceSpaceTypeFlags
78
+ {
79
+ GTK_SOURCE_SPACE_TYPE_NONE = 0,
80
+ GTK_SOURCE_SPACE_TYPE_SPACE = 1 << 0,
81
+ GTK_SOURCE_SPACE_TYPE_TAB = 1 << 1,
82
+ GTK_SOURCE_SPACE_TYPE_NEWLINE = 1 << 2,
83
+ GTK_SOURCE_SPACE_TYPE_NBSP = 1 << 3,
84
+ GTK_SOURCE_SPACE_TYPE_ALL = 0xf
85
+ } GtkSourceSpaceTypeFlags;
86
+
87
+ /**
88
+ * GtkSourceSpaceLocationFlags:
89
+ * @GTK_SOURCE_SPACE_LOCATION_NONE: No flags.
90
+ * @GTK_SOURCE_SPACE_LOCATION_LEADING: Leading white spaces on a line, i.e. the
91
+ * indentation.
92
+ * @GTK_SOURCE_SPACE_LOCATION_INSIDE_TEXT: White spaces inside a line of text.
93
+ * @GTK_SOURCE_SPACE_LOCATION_TRAILING: Trailing white spaces on a line.
94
+ * @GTK_SOURCE_SPACE_LOCATION_ALL: White spaces anywhere.
95
+ *
96
+ * #GtkSourceSpaceLocationFlags contains flags for white space locations.
97
+ *
98
+ * If a line contains only white spaces (no text), the white spaces match both
99
+ * %GTK_SOURCE_SPACE_LOCATION_LEADING and %GTK_SOURCE_SPACE_LOCATION_TRAILING.
100
+ *
101
+ * Since: 3.24
102
+ */
103
+ typedef enum _GtkSourceSpaceLocationFlags
104
+ {
105
+ GTK_SOURCE_SPACE_LOCATION_NONE = 0,
106
+ GTK_SOURCE_SPACE_LOCATION_LEADING = 1 << 0,
107
+ GTK_SOURCE_SPACE_LOCATION_INSIDE_TEXT = 1 << 1,
108
+ GTK_SOURCE_SPACE_LOCATION_TRAILING = 1 << 2,
109
+ GTK_SOURCE_SPACE_LOCATION_ALL = 0x7
110
+ } GtkSourceSpaceLocationFlags;
111
+
112
+ GTK_SOURCE_AVAILABLE_IN_3_24
113
+ GType gtk_source_space_drawer_get_type (void) G_GNUC_CONST;
114
+
115
+ GTK_SOURCE_AVAILABLE_IN_3_24
116
+ GtkSourceSpaceDrawer * gtk_source_space_drawer_new (void);
117
+
118
+ GTK_SOURCE_AVAILABLE_IN_3_24
119
+ GtkSourceSpaceTypeFlags gtk_source_space_drawer_get_types_for_locations (GtkSourceSpaceDrawer *drawer,
120
+ GtkSourceSpaceLocationFlags locations);
121
+
122
+ GTK_SOURCE_AVAILABLE_IN_3_24
123
+ void gtk_source_space_drawer_set_types_for_locations (GtkSourceSpaceDrawer *drawer,
124
+ GtkSourceSpaceLocationFlags locations,
125
+ GtkSourceSpaceTypeFlags types);
126
+
127
+ GTK_SOURCE_AVAILABLE_IN_3_24
128
+ GVariant * gtk_source_space_drawer_get_matrix (GtkSourceSpaceDrawer *drawer);
129
+
130
+ GTK_SOURCE_AVAILABLE_IN_3_24
131
+ void gtk_source_space_drawer_set_matrix (GtkSourceSpaceDrawer *drawer,
132
+ GVariant *matrix);
133
+
134
+ GTK_SOURCE_AVAILABLE_IN_3_24
135
+ gboolean gtk_source_space_drawer_get_enable_matrix (GtkSourceSpaceDrawer *drawer);
136
+
137
+ GTK_SOURCE_AVAILABLE_IN_3_24
138
+ void gtk_source_space_drawer_set_enable_matrix (GtkSourceSpaceDrawer *drawer,
139
+ gboolean enable_matrix);
140
+
141
+ GTK_SOURCE_AVAILABLE_IN_3_24
142
+ void gtk_source_space_drawer_bind_matrix_setting (GtkSourceSpaceDrawer *drawer,
143
+ GSettings *settings,
144
+ const gchar *key,
145
+ GSettingsBindFlags flags);
146
+
147
+ G_END_DECLS
148
+
149
+ #endif /* GTK_SOURCE_SPACE_DRAWER_H */
@@ -39,7 +39,6 @@ G_BEGIN_DECLS
39
39
  #define GTK_SOURCE_IS_STYLE_SCHEME_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_STYLE_SCHEME_CHOOSER))
40
40
  #define GTK_SOURCE_STYLE_SCHEME_CHOOSER_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_SOURCE_TYPE_STYLE_SCHEME_CHOOSER, GtkSourceStyleSchemeChooserInterface))
41
41
 
42
- typedef struct _GtkSourceStyleSchemeChooser GtkSourceStyleSchemeChooser;
43
42
  typedef struct _GtkSourceStyleSchemeChooserInterface GtkSourceStyleSchemeChooserInterface;
44
43
 
45
44
  struct _GtkSourceStyleSchemeChooserInterface
@@ -43,8 +43,7 @@ G_BEGIN_DECLS
43
43
  #define GTK_SOURCE_IS_STYLE_SCHEME_CHOOSER_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_STYLE_SCHEME_CHOOSER_BUTTON))
44
44
  #define GTK_SOURCE_STYLE_SCHEME_CHOOSER_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_STYLE_SCHEME_CHOOSER_BUTTON, GtkSourceStyleSchemeChooserButtonClass))
45
45
 
46
- typedef struct _GtkSourceStyleSchemeChooserButton GtkSourceStyleSchemeChooserButton;
47
- typedef struct _GtkSourceStyleSchemeChooserButtonClass GtkSourceStyleSchemeChooserButtonClass;
46
+ typedef struct _GtkSourceStyleSchemeChooserButtonClass GtkSourceStyleSchemeChooserButtonClass;
48
47
 
49
48
  struct _GtkSourceStyleSchemeChooserButton
50
49
  {
@@ -43,8 +43,7 @@ G_BEGIN_DECLS
43
43
  #define GTK_SOURCE_IS_STYLE_SCHEME_CHOOSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_STYLE_SCHEME_CHOOSER_WIDGET))
44
44
  #define GTK_SOURCE_STYLE_SCHEME_CHOOSER_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_STYLE_SCHEME_CHOOSER_WIDGET, GtkSourceStyleSchemeChooserWidgetClass))
45
45
 
46
- typedef struct _GtkSourceStyleSchemeChooserWidget GtkSourceStyleSchemeChooserWidget;
47
- typedef struct _GtkSourceStyleSchemeChooserWidgetClass GtkSourceStyleSchemeChooserWidgetClass;
46
+ typedef struct _GtkSourceStyleSchemeChooserWidgetClass GtkSourceStyleSchemeChooserWidgetClass;
48
47
 
49
48
  struct _GtkSourceStyleSchemeChooserWidget
50
49
  {
@@ -35,6 +35,12 @@
35
35
 
36
36
  G_BEGIN_DECLS
37
37
 
38
+ /* This header exists to avoid cycles in header inclusions, when header A needs
39
+ * the type B and header B needs the type A. For an alternative way to solve
40
+ * this problem (in C11), see:
41
+ * https://bugzilla.gnome.org/show_bug.cgi?id=679424#c20
42
+ */
43
+
38
44
  typedef struct _GtkSourceBuffer GtkSourceBuffer;
39
45
  typedef struct _GtkSourceCompletionContext GtkSourceCompletionContext;
40
46
  typedef struct _GtkSourceCompletion GtkSourceCompletion;
@@ -52,13 +58,19 @@ typedef struct _GtkSourceGutterRendererPixbuf GtkSourceGutterRendererPixbuf;
52
58
  typedef struct _GtkSourceGutterRendererText GtkSourceGutterRendererText;
53
59
  typedef struct _GtkSourceLanguage GtkSourceLanguage;
54
60
  typedef struct _GtkSourceLanguageManager GtkSourceLanguageManager;
61
+ typedef struct _GtkSourceMap GtkSourceMap;
55
62
  typedef struct _GtkSourceMarkAttributes GtkSourceMarkAttributes;
56
63
  typedef struct _GtkSourceMark GtkSourceMark;
57
64
  typedef struct _GtkSourcePrintCompositor GtkSourcePrintCompositor;
65
+ typedef struct _GtkSourceRegion GtkSourceRegion;
58
66
  typedef struct _GtkSourceSearchContext GtkSourceSearchContext;
59
67
  typedef struct _GtkSourceSearchSettings GtkSourceSearchSettings;
68
+ typedef struct _GtkSourceSpaceDrawer GtkSourceSpaceDrawer;
60
69
  typedef struct _GtkSourceStyle GtkSourceStyle;
61
70
  typedef struct _GtkSourceStyleScheme GtkSourceStyleScheme;
71
+ typedef struct _GtkSourceStyleSchemeChooser GtkSourceStyleSchemeChooser;
72
+ typedef struct _GtkSourceStyleSchemeChooserButton GtkSourceStyleSchemeChooserButton;
73
+ typedef struct _GtkSourceStyleSchemeChooserWidget GtkSourceStyleSchemeChooserWidget;
62
74
  typedef struct _GtkSourceStyleSchemeManager GtkSourceStyleSchemeManager;
63
75
  typedef struct _GtkSourceTag GtkSourceTag;
64
76
  typedef struct _GtkSourceUndoManager GtkSourceUndoManager;
@@ -46,7 +46,7 @@ G_BEGIN_DECLS
46
46
  *
47
47
  * Since: 3.20
48
48
  */
49
- #define GTK_SOURCE_MINOR_VERSION (22)
49
+ #define GTK_SOURCE_MINOR_VERSION (24)
50
50
 
51
51
  /**
52
52
  * GTK_SOURCE_MICRO_VERSION:
@@ -57,7 +57,7 @@ G_BEGIN_DECLS
57
57
  *
58
58
  * Since: 3.20
59
59
  */
60
- #define GTK_SOURCE_MICRO_VERSION (2)
60
+ #define GTK_SOURCE_MICRO_VERSION (1)
61
61
 
62
62
 
63
63
  /**
@@ -207,6 +207,16 @@ G_BEGIN_DECLS
207
207
  */
208
208
  #define GTK_SOURCE_VERSION_3_22 (G_ENCODE_VERSION (3, 22))
209
209
 
210
+ /**
211
+ * GTK_SOURCE_VERSION_3_24:
212
+ *
213
+ * A macro that evaluates to the 3.24 version of GtkSourceView,
214
+ * in a format that can be used by the C pre-processor.
215
+ *
216
+ * Since: 3.24
217
+ */
218
+ #define GTK_SOURCE_VERSION_3_24 (G_ENCODE_VERSION (3, 24))
219
+
210
220
  #ifndef __GTK_DOC_IGNORE__
211
221
  #if (GTK_SOURCE_MINOR_VERSION % 2)
212
222
  #define GTK_SOURCE_VERSION_CUR_STABLE (G_ENCODE_VERSION (GTK_SOURCE_MAJOR_VERSION, GTK_SOURCE_MINOR_VERSION + 1))
@@ -502,6 +512,24 @@ G_BEGIN_DECLS
502
512
  #endif
503
513
  #endif /* __GTK_DOC_IGNORE__ */
504
514
 
515
+ #ifndef __GTK_DOC_IGNORE__
516
+ #if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_3_24
517
+ #define GTK_SOURCE_DEPRECATED_IN_3_24 G_DEPRECATED _GTK_SOURCE_EXTERN
518
+ #define GTK_SOURCE_DEPRECATED_IN_3_24_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
519
+ #else
520
+ #define GTK_SOURCE_DEPRECATED_IN_3_24 _GTK_SOURCE_EXTERN
521
+ #define GTK_SOURCE_DEPRECATED_IN_3_24_FOR(f) _GTK_SOURCE_EXTERN
522
+ #endif
523
+ #endif /* __GTK_DOC_IGNORE__ */
524
+
525
+ #ifndef __GTK_DOC_IGNORE__
526
+ #if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_3_24
527
+ #define GTK_SOURCE_AVAILABLE_IN_3_24 G_UNAVAILABLE(3, 24) _GTK_SOURCE_EXTERN
528
+ #else
529
+ #define GTK_SOURCE_AVAILABLE_IN_3_24 _GTK_SOURCE_EXTERN
530
+ #endif
531
+ #endif /* __GTK_DOC_IGNORE__ */
532
+
505
533
  GTK_SOURCE_AVAILABLE_IN_3_20
506
534
  guint gtk_source_get_major_version (void);
507
535