gtksourceview3 3.0.9-x86-mingw32 → 3.1.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (210) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +7 -1
  3. data/lib/gtksourceview3/loader.rb +0 -6
  4. data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
  5. data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +11 -3
  6. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +10 -3
  7. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceautocleanups.h +11 -3
  8. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +14 -7
  9. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +12 -4
  10. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +12 -4
  11. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +11 -3
  12. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +11 -3
  13. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +11 -3
  14. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +11 -3
  15. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +11 -3
  16. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +53 -3
  17. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +13 -4
  18. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +14 -5
  19. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +11 -3
  20. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +15 -7
  21. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +11 -3
  22. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +11 -3
  23. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +11 -3
  24. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +16 -4
  25. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemap.h +11 -3
  26. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +11 -3
  27. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +11 -3
  28. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +11 -3
  29. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceregion.h +132 -0
  30. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +55 -9
  31. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +11 -3
  32. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +17 -5
  33. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +11 -3
  34. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +12 -3
  35. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +11 -3
  36. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +8 -0
  37. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +15 -3
  38. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetag.h +11 -3
  39. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +13 -60
  40. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +11 -3
  41. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +11 -3
  42. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +33 -5
  43. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-enumtypes.h +122 -0
  44. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +39 -114
  45. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +57 -34
  46. data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
  47. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  48. data/vendor/local/lib/libgtksourceview-3.0.la +4 -4
  49. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +1 -1
  50. data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +749 -36
  51. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +331 -320
  52. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +110 -108
  53. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +37 -35
  54. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +47 -47
  55. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +42 -42
  56. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +62 -62
  57. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +69 -69
  58. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +35 -35
  59. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +30 -30
  60. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +63 -60
  61. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +64 -62
  62. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +64 -60
  63. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +41 -41
  64. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +195 -187
  65. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +38 -38
  66. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +28 -28
  67. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +62 -62
  68. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +43 -43
  69. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +21 -21
  70. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +36 -36
  71. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +75 -75
  72. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +182 -182
  73. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceRegion.html +870 -0
  74. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +539 -141
  75. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +57 -54
  76. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +98 -49
  77. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +42 -39
  78. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +10 -10
  79. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +14 -14
  80. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +15 -15
  81. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +32 -32
  82. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +24 -22
  83. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +31 -31
  84. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +223 -212
  85. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +9 -10
  86. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-0.html +5 -5
  87. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-10.html +5 -5
  88. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-12.html +5 -5
  89. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-2.html +5 -5
  90. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-4.html +5 -5
  91. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-8.html +5 -5
  92. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +5 -5
  93. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +5 -5
  94. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +5 -5
  95. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +5 -5
  96. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +5 -5
  97. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-18.html +5 -5
  98. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-20.html +7 -7
  99. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-22.html +125 -0
  100. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +5 -5
  101. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +25 -5
  102. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +107 -7
  103. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +1 -1
  104. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +1 -19
  105. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +13 -16
  106. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +20 -11
  107. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +11 -17
  108. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +27 -10
  109. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +10 -15
  110. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +9 -18
  111. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch09.html +22 -19
  112. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +16 -16
  113. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +37 -24
  114. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +65 -34
  115. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +20 -10
  116. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +24 -18
  117. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +5 -5
  118. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +41 -22
  119. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +13 -7
  120. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt02.html +49 -0
  121. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt03.html +53 -0
  122. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +5 -5
  123. data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +2 -2
  124. data/vendor/local/share/gtksourceview-3.0/language-specs/jade.lang +8 -9
  125. data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +28 -36
  126. data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +4 -0
  127. data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +3 -2
  128. data/vendor/local/share/gtksourceview-3.0/language-specs/rust.lang +63 -30
  129. data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  130. data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  131. data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  132. data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  133. data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  134. data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  135. data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  136. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  137. data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  138. data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  139. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  140. data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  141. data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  142. data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  143. data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  144. data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  145. data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  146. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  147. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  148. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  149. data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  150. data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  151. data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  152. data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  153. data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  154. data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  155. data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  156. data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  157. data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  158. data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  159. data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  160. data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  161. data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  162. data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  163. data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  164. data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  165. data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  166. data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  167. data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  168. data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  169. data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  170. data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  171. data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  172. data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  173. data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  174. data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  175. data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  176. data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  177. data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  178. data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  179. data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  180. data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  181. data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  182. data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  183. data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  184. data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  185. data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  186. data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  187. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  188. data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  189. data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  190. data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  191. data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  192. data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  193. data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  194. data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  195. data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  196. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  197. data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  198. data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  199. data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  200. data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  201. data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  202. data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  203. data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  204. data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  205. data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  206. data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  207. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  208. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  209. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  210. metadata +13 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1ff42c689df07b8daef15ad5ad5634c5a7bd0760
4
- data.tar.gz: bc400ba29ca7f2d3389611a95226247dc7c9b28f
3
+ metadata.gz: 490a99fe4c65e15eb7f13f7bf79eb8c492977066
4
+ data.tar.gz: 28c86d19d1657f10446765382a0a741e38895d8f
5
5
  SHA512:
6
- metadata.gz: b0d57a0b06041f717d5e6c6ea33e1338d58cade78d9120a6ea3fafd50c3db207825d88548b9950997afb31b58cf30b0bfe6c4b15e671a4cfdf80c37d894ebd31
7
- data.tar.gz: 5d87ffffe20f60915ca4898e4b3b3cb17cd3fa473068a4c782abce63aac8be40b69db08082f1aa1e22f3e81aae080fabdb8098c3211e6bbd1a47957ed1eb5deb
6
+ metadata.gz: 98d4baf338da9eef0a7b8111a8d4ae1dc1f432981721e5b1a5369899654bab00126dffc3a60bed5eb97a58ff6a4ee76a50b51f698ab49fedab5e722b3121d248
7
+ data.tar.gz: e2a65a02e97a81f2c64d24130021ce61d975c64bfcd8d7f6b1ae461a3a3064ec5f1df66c1c6822c17c7cdff41ef18104ec24c37502d1e7eb71726457f426ce40
data/Rakefile CHANGED
@@ -44,13 +44,19 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
44
44
  :name => "gtksourceview",
45
45
  :download_site => :gnome,
46
46
  :label => "GtkSourceView",
47
- :version => "3.20.4",
47
+ :version => "3.22.1",
48
48
  :compression_method => "xz",
49
49
  :windows => {
50
50
  :configure_args => [
51
51
  "--enable-introspection",
52
52
  ],
53
+ :patches => [
54
+ "gtksourceview-3.22.1-include-missing-header.diff",
55
+ "gtksourceview-3.22.1-remove-unused-definition.diff",
56
+ "gtksourceview-3.22.1-add-missing-config-include.diff",
57
+ ],
53
58
  :built_file => "bin/libgtksourceview-3.0-1.dll",
59
+ :need_autoreconf => true,
54
60
  },
55
61
  }
56
62
  ]
@@ -36,11 +36,5 @@ module GtkSource
36
36
 
37
37
  require "gtksourceview3/deprecated"
38
38
  end
39
-
40
- def initialize_post(object)
41
- super
42
- return unless object.is_a?(GLib::Object)
43
- self.class.reference_gobject(object, :sink => true)
44
- end
45
39
  end
46
40
  end
@@ -19,8 +19,16 @@
19
19
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
20
  */
21
21
 
22
- #ifndef __GTK_SOURCE_COMPLETION_WORDS_H__
23
- #define __GTK_SOURCE_COMPLETION_WORDS_H__
22
+ #ifndef GTK_SOURCE_COMPLETION_WORDS_H
23
+ #define GTK_SOURCE_COMPLETION_WORDS_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
24
32
 
25
33
  #include <gtksourceview/gtksourcecompletionprovider.h>
26
34
  #include <gtk/gtk.h>
@@ -66,4 +74,4 @@ void gtk_source_completion_words_unregister (GtkSourceCompletionWords *words,
66
74
 
67
75
  G_END_DECLS
68
76
 
69
- #endif /* __GTK_SOURCE_COMPLETION_WORDS_H__ */
77
+ #endif /* GTK_SOURCE_COMPLETION_WORDS_H */
@@ -17,9 +17,12 @@
17
17
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
18
  */
19
19
 
20
- #ifndef __GTK_SOURCE_H__
21
- #define __GTK_SOURCE_H__
20
+ #ifndef GTK_SOURCE_H
21
+ #define GTK_SOURCE_H
22
22
 
23
+ #define GTK_SOURCE_H_INSIDE
24
+
25
+ #include <gtksourceview/completion-providers/words/gtksourcecompletionwords.h>
23
26
  #include <gtksourceview/gtksourcetypes.h>
24
27
  #include <gtksourceview/gtksourcebuffer.h>
25
28
  #include <gtksourceview/gtksourcecompletioncontext.h>
@@ -42,6 +45,7 @@
42
45
  #include <gtksourceview/gtksourcemark.h>
43
46
  #include <gtksourceview/gtksourcemarkattributes.h>
44
47
  #include <gtksourceview/gtksourceprintcompositor.h>
48
+ #include <gtksourceview/gtksourceregion.h>
45
49
  #include <gtksourceview/gtksourcesearchcontext.h>
46
50
  #include <gtksourceview/gtksourcesearchsettings.h>
47
51
  #include <gtksourceview/gtksourcestyle.h>
@@ -55,7 +59,10 @@
55
59
  #include <gtksourceview/gtksourceutils.h>
56
60
  #include <gtksourceview/gtksourceversion.h>
57
61
  #include <gtksourceview/gtksourceview.h>
62
+ #include <gtksourceview/gtksourceview-enumtypes.h>
58
63
  #include <gtksourceview/gtksourceview-typebuiltins.h>
59
64
  #include <gtksourceview/gtksourceautocleanups.h>
60
65
 
61
- #endif /* __GTK_SOURCE_H__ */
66
+ #undef GTK_SOURCE_H_INSIDE
67
+
68
+ #endif /* GTK_SOURCE_H */
@@ -16,8 +16,16 @@
16
16
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
17
  */
18
18
 
19
- #ifndef __GTK_SOURCE_AUTOCLEANUPS_H__
20
- #define __GTK_SOURCE_AUTOCLEANUPS_H__
19
+ #ifndef GTK_SOURCE_AUTOCLEANUPS_H
20
+ #define GTK_SOURCE_AUTOCLEANUPS_H
21
+
22
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
23
+ # if defined (__GNUC__)
24
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
25
+ # elif defined (G_OS_WIN32)
26
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
27
+ # endif
28
+ #endif
21
29
 
22
30
  #ifndef __GI_SCANNER__
23
31
 
@@ -49,4 +57,4 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSourceView, g_object_unref)
49
57
 
50
58
  #endif /* __GI_SCANNER__ */
51
59
 
52
- #endif /* __GTK_SOURCE_AUTOCLEANUPS_H__ */
60
+ #endif /* GTK_SOURCE_AUTOCLEANUPS_H */
@@ -23,8 +23,16 @@
23
23
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24
24
  */
25
25
 
26
- #ifndef __GTK_SOURCE_BUFFER_H__
27
- #define __GTK_SOURCE_BUFFER_H__
26
+ #ifndef GTK_SOURCE_BUFFER_H
27
+ #define GTK_SOURCE_BUFFER_H
28
+
29
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
30
+ # if defined (__GNUC__)
31
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
32
+ # elif defined (G_OS_WIN32)
33
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
34
+ # endif
35
+ #endif
28
36
 
29
37
  #include <gtk/gtk.h>
30
38
  #include <gtksourceview/gtksourcetypes.h>
@@ -49,7 +57,7 @@ typedef struct _GtkSourceBufferPrivate GtkSourceBufferPrivate;
49
57
  * @GTK_SOURCE_BRACKET_MATCH_NOT_FOUND: a matching bracket was not found.
50
58
  * @GTK_SOURCE_BRACKET_MATCH_FOUND: a matching bracket was found.
51
59
  */
52
- typedef enum
60
+ typedef enum _GtkSourceBracketMatchType
53
61
  {
54
62
  GTK_SOURCE_BRACKET_MATCH_NONE,
55
63
  GTK_SOURCE_BRACKET_MATCH_OUT_OF_RANGE,
@@ -66,7 +74,7 @@ typedef enum
66
74
  *
67
75
  * Since: 3.12
68
76
  */
69
- typedef enum
77
+ typedef enum _GtkSourceChangeCaseType
70
78
  {
71
79
  GTK_SOURCE_CHANGE_CASE_LOWER,
72
80
  GTK_SOURCE_CHANGE_CASE_UPPER,
@@ -83,7 +91,7 @@ typedef enum
83
91
  *
84
92
  * Since: 3.18
85
93
  */
86
- typedef enum
94
+ typedef enum _GtkSourceSortFlags
87
95
  {
88
96
  GTK_SOURCE_SORT_FLAGS_NONE = 0,
89
97
  GTK_SOURCE_SORT_FLAGS_CASE_SENSITIVE = 1 << 0,
@@ -91,7 +99,6 @@ typedef enum
91
99
  GTK_SOURCE_SORT_FLAGS_REMOVE_DUPLICATES = 1 << 2,
92
100
  } GtkSourceSortFlags;
93
101
 
94
-
95
102
  struct _GtkSourceBuffer
96
103
  {
97
104
  GtkTextBuffer parent_instance;
@@ -276,4 +283,4 @@ GtkTextTag *gtk_source_buffer_create_source_tag (GtkSourceBuffer *buff
276
283
 
277
284
  G_END_DECLS
278
285
 
279
- #endif /* __GTK_SOURCE_BUFFER_H__ */
286
+ #endif /* GTK_SOURCE_BUFFER_H */
@@ -20,8 +20,16 @@
20
20
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21
21
  */
22
22
 
23
- #ifndef __GTK_SOURCE_COMPLETION_H__
24
- #define __GTK_SOURCE_COMPLETION_H__
23
+ #ifndef GTK_SOURCE_COMPLETION_H
24
+ #define GTK_SOURCE_COMPLETION_H
25
+
26
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
27
+ # if defined (__GNUC__)
28
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
29
+ # elif defined (G_OS_WIN32)
30
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
31
+ # endif
32
+ #endif
25
33
 
26
34
  #include <gtk/gtk.h>
27
35
  #include <gtksourceview/gtksourcetypes.h>
@@ -60,7 +68,7 @@ typedef struct _GtkSourceCompletionClass GtkSourceCompletionClass;
60
68
  * An error code used with %GTK_SOURCE_COMPLETION_ERROR in a #GError returned
61
69
  * from a completion-related function.
62
70
  */
63
- typedef enum
71
+ typedef enum _GtkSourceCompletionError
64
72
  {
65
73
  GTK_SOURCE_COMPLETION_ERROR_ALREADY_BOUND = 0,
66
74
  GTK_SOURCE_COMPLETION_ERROR_NOT_BOUND
@@ -152,4 +160,4 @@ void _gtk_source_completion_add_proposals (GtkSourceCompletion *com
152
160
  gboolean finished);
153
161
  G_END_DECLS
154
162
 
155
- #endif /* __GTK_SOURCE_COMPLETION_H__ */
163
+ #endif /* GTK_SOURCE_COMPLETION_H */
@@ -19,8 +19,16 @@
19
19
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
20
  */
21
21
 
22
- #ifndef __GTK_SOURCE_COMPLETION_CONTEXT_H__
23
- #define __GTK_SOURCE_COMPLETION_CONTEXT_H__
22
+ #ifndef GTK_SOURCE_COMPLETION_CONTEXT_H
23
+ #define GTK_SOURCE_COMPLETION_CONTEXT_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
24
32
 
25
33
  #include <gtk/gtk.h>
26
34
  #include <gtksourceview/gtksourcetypes.h>
@@ -47,7 +55,7 @@ typedef struct _GtkSourceCompletionContextPrivate GtkSourceCompletionContextPriv
47
55
  * By default, it occurs when the user presses
48
56
  * <keycombo><keycap>Control</keycap><keycap>space</keycap></keycombo>.
49
57
  */
50
- typedef enum
58
+ typedef enum _GtkSourceCompletionActivation
51
59
  {
52
60
  GTK_SOURCE_COMPLETION_ACTIVATION_NONE = 0,
53
61
  GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE = 1 << 0,
@@ -98,4 +106,4 @@ void _gtk_source_completion_context_cancel (GtkSourceCompletionContext *cont
98
106
 
99
107
  G_END_DECLS
100
108
 
101
- #endif /* __GTK_SOURCE_COMPLETION_CONTEXT_H__ */
109
+ #endif /* GTK_SOURCE_COMPLETION_CONTEXT_H */
@@ -20,8 +20,16 @@
20
20
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21
21
  */
22
22
 
23
- #ifndef __GTK_SOURCE_COMPLETION_INFO_H__
24
- #define __GTK_SOURCE_COMPLETION_INFO_H__
23
+ #ifndef GTK_SOURCE_COMPLETION_INFO_H
24
+ #define GTK_SOURCE_COMPLETION_INFO_H
25
+
26
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
27
+ # if defined (__GNUC__)
28
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
29
+ # elif defined (G_OS_WIN32)
30
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
31
+ # endif
32
+ #endif
25
33
 
26
34
  #include <gtk/gtk.h>
27
35
  #include <gtksourceview/gtksourcetypes.h>
@@ -78,4 +86,4 @@ void _gtk_source_completion_info_set_xoffset (GtkSourceCompletionInfo *info,
78
86
 
79
87
  G_END_DECLS
80
88
 
81
- #endif /* __GTK_SOURCE_COMPLETION_INFO_H__ */
89
+ #endif /* GTK_SOURCE_COMPLETION_INFO_H */
@@ -19,8 +19,16 @@
19
19
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
20
  */
21
21
 
22
- #ifndef __GTK_SOURCE_COMPLETION_ITEM_H__
23
- #define __GTK_SOURCE_COMPLETION_ITEM_H__
22
+ #ifndef GTK_SOURCE_COMPLETION_ITEM_H
23
+ #define GTK_SOURCE_COMPLETION_ITEM_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
24
32
 
25
33
  #include <gtk/gtk.h>
26
34
  #include <gtksourceview/gtksourcetypes.h>
@@ -70,4 +78,4 @@ GtkSourceCompletionItem *gtk_source_completion_item_new_from_stock (const gchar
70
78
 
71
79
  G_END_DECLS
72
80
 
73
- #endif /* __GTK_SOURCE_COMPLETION_ITEM_H__ */
81
+ #endif /* GTK_SOURCE_COMPLETION_ITEM_H */
@@ -20,8 +20,16 @@
20
20
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21
21
  */
22
22
 
23
- #ifndef __GTK_SOURCE_COMPLETION_PROPOSAL_H__
24
- #define __GTK_SOURCE_COMPLETION_PROPOSAL_H__
23
+ #ifndef GTK_SOURCE_COMPLETION_PROPOSAL_H
24
+ #define GTK_SOURCE_COMPLETION_PROPOSAL_H
25
+
26
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
27
+ # if defined (__GNUC__)
28
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
29
+ # elif defined (G_OS_WIN32)
30
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
31
+ # endif
32
+ #endif
25
33
 
26
34
  #include <glib-object.h>
27
35
  #include <gdk-pixbuf/gdk-pixbuf.h>
@@ -120,4 +128,4 @@ gboolean gtk_source_completion_proposal_equal (GtkSourceCompletionProposal *p
120
128
 
121
129
  G_END_DECLS
122
130
 
123
- #endif /* __GTK_SOURCE_COMPLETION_PROPOSAL_H__ */
131
+ #endif /* GTK_SOURCE_COMPLETION_PROPOSAL_H */
@@ -20,8 +20,16 @@
20
20
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21
21
  */
22
22
 
23
- #ifndef __GTK_SOURCE_COMPLETION_PROVIDER_H__
24
- #define __GTK_SOURCE_COMPLETION_PROVIDER_H__
23
+ #ifndef GTK_SOURCE_COMPLETION_PROVIDER_H
24
+ #define GTK_SOURCE_COMPLETION_PROVIDER_H
25
+
26
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
27
+ # if defined (__GNUC__)
28
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
29
+ # elif defined (G_OS_WIN32)
30
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
31
+ # endif
32
+ #endif
25
33
 
26
34
  #include <gtk/gtk.h>
27
35
  #include <gtksourceview/gtksourcecompletioncontext.h>
@@ -160,4 +168,4 @@ gint gtk_source_completion_provider_get_priority (GtkSourceCompletionProvider
160
168
 
161
169
  G_END_DECLS
162
170
 
163
- #endif /* __GTK_SOURCE_COMPLETION_PROVIDER_H__ */
171
+ #endif /* GTK_SOURCE_COMPLETION_PROVIDER_H */
@@ -20,8 +20,16 @@
20
20
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21
21
  */
22
22
 
23
- #ifndef __GTK_SOURCE_ENCODING_H__
24
- #define __GTK_SOURCE_ENCODING_H__
23
+ #ifndef GTK_SOURCE_ENCODING_H
24
+ #define GTK_SOURCE_ENCODING_H
25
+
26
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
27
+ # if defined (__GNUC__)
28
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
29
+ # elif defined (G_OS_WIN32)
30
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
31
+ # endif
32
+ #endif
25
33
 
26
34
  #include <glib.h>
27
35
  #include <glib-object.h>
@@ -68,4 +76,4 @@ void gtk_source_encoding_free (GtkSourceEncoding *enc);
68
76
 
69
77
  G_END_DECLS
70
78
 
71
- #endif /* __GTK_SOURCE_ENCODING_H__ */
79
+ #endif /* GTK_SOURCE_ENCODING_H */
@@ -19,8 +19,16 @@
19
19
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
20
  */
21
21
 
22
- #ifndef __GTK_SOURCE_FILE_H__
23
- #define __GTK_SOURCE_FILE_H__
22
+ #ifndef GTK_SOURCE_FILE_H
23
+ #define GTK_SOURCE_FILE_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
24
32
 
25
33
  #include <gtk/gtk.h>
26
34
  #include <gtksourceview/gtksourcetypes.h>
@@ -37,6 +45,48 @@ G_BEGIN_DECLS
37
45
  typedef struct _GtkSourceFileClass GtkSourceFileClass;
38
46
  typedef struct _GtkSourceFilePrivate GtkSourceFilePrivate;
39
47
 
48
+ /**
49
+ * GtkSourceNewlineType:
50
+ * @GTK_SOURCE_NEWLINE_TYPE_LF: line feed, used on UNIX.
51
+ * @GTK_SOURCE_NEWLINE_TYPE_CR: carriage return, used on Mac.
52
+ * @GTK_SOURCE_NEWLINE_TYPE_CR_LF: carriage return followed by a line feed, used
53
+ * on Windows.
54
+ *
55
+ * Since: 3.14
56
+ */
57
+ typedef enum _GtkSourceNewlineType
58
+ {
59
+ GTK_SOURCE_NEWLINE_TYPE_LF,
60
+ GTK_SOURCE_NEWLINE_TYPE_CR,
61
+ GTK_SOURCE_NEWLINE_TYPE_CR_LF
62
+ } GtkSourceNewlineType;
63
+
64
+ /**
65
+ * GTK_SOURCE_NEWLINE_TYPE_DEFAULT:
66
+ *
67
+ * The default newline type on the current OS.
68
+ *
69
+ * Since: 3.14
70
+ */
71
+ #ifdef G_OS_WIN32
72
+ #define GTK_SOURCE_NEWLINE_TYPE_DEFAULT GTK_SOURCE_NEWLINE_TYPE_CR_LF
73
+ #else
74
+ #define GTK_SOURCE_NEWLINE_TYPE_DEFAULT GTK_SOURCE_NEWLINE_TYPE_LF
75
+ #endif
76
+
77
+ /**
78
+ * GtkSourceCompressionType:
79
+ * @GTK_SOURCE_COMPRESSION_TYPE_NONE: plain text.
80
+ * @GTK_SOURCE_COMPRESSION_TYPE_GZIP: gzip compression.
81
+ *
82
+ * Since: 3.14
83
+ */
84
+ typedef enum _GtkSourceCompressionType
85
+ {
86
+ GTK_SOURCE_COMPRESSION_TYPE_NONE,
87
+ GTK_SOURCE_COMPRESSION_TYPE_GZIP
88
+ } GtkSourceCompressionType;
89
+
40
90
  /**
41
91
  * GtkSourceMountOperationFactory:
42
92
  * @file: a #GtkSourceFile.
@@ -147,4 +197,4 @@ void _gtk_source_file_set_readonly (GtkSourceFile *file,
147
197
 
148
198
  G_END_DECLS
149
199
 
150
- #endif /* __GTK_SOURCE_FILE_H__ */
200
+ #endif /* GTK_SOURCE_FILE_H */
@@ -22,11 +22,20 @@
22
22
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23
23
  */
24
24
 
25
- #ifndef __GTK_SOURCE_FILE_LOADER_H__
26
- #define __GTK_SOURCE_FILE_LOADER_H__
25
+ #ifndef GTK_SOURCE_FILE_LOADER_H
26
+ #define GTK_SOURCE_FILE_LOADER_H
27
+
28
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
29
+ # if defined (__GNUC__)
30
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
31
+ # elif defined (G_OS_WIN32)
32
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
33
+ # endif
34
+ #endif
27
35
 
28
36
  #include <gtk/gtk.h>
29
37
  #include <gtksourceview/gtksourcetypes.h>
38
+ #include <gtksourceview/gtksourcefile.h>
30
39
 
31
40
  G_BEGIN_DECLS
32
41
 
@@ -52,7 +61,7 @@ typedef struct _GtkSourceFileLoaderPrivate GtkSourceFileLoaderPrivate;
52
61
  *
53
62
  * An error code used with the %GTK_SOURCE_FILE_LOADER_ERROR domain.
54
63
  */
55
- typedef enum
64
+ typedef enum _GtkSourceFileLoaderError
56
65
  {
57
66
  GTK_SOURCE_FILE_LOADER_ERROR_TOO_BIG,
58
67
  GTK_SOURCE_FILE_LOADER_ERROR_ENCODING_AUTO_DETECTION_FAILED,
@@ -133,4 +142,4 @@ GtkSourceCompressionType gtk_source_file_loader_get_compression_type
133
142
 
134
143
  G_END_DECLS
135
144
 
136
- #endif /* __GTK_SOURCE_FILE_LOADER_H__ */
145
+ #endif /* GTK_SOURCE_FILE_LOADER_H */
@@ -22,11 +22,20 @@
22
22
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23
23
  */
24
24
 
25
- #ifndef __GTK_SOURCE_FILE_SAVER_H__
26
- #define __GTK_SOURCE_FILE_SAVER_H__
25
+ #ifndef GTK_SOURCE_FILE_SAVER_H
26
+ #define GTK_SOURCE_FILE_SAVER_H
27
+
28
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
29
+ # if defined (__GNUC__)
30
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
31
+ # elif defined (G_OS_WIN32)
32
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
33
+ # endif
34
+ #endif
27
35
 
28
36
  #include <gtk/gtk.h>
29
37
  #include <gtksourceview/gtksourcetypes.h>
38
+ #include <gtksourceview/gtksourcefile.h>
30
39
 
31
40
  G_BEGIN_DECLS
32
41
 
@@ -52,7 +61,7 @@ typedef struct _GtkSourceFileSaverPrivate GtkSourceFileSaverPrivate;
52
61
  * An error code used with the %GTK_SOURCE_FILE_SAVER_ERROR domain.
53
62
  * Since: 3.14
54
63
  */
55
- typedef enum
64
+ typedef enum _GtkSourceFileSaverError
56
65
  {
57
66
  GTK_SOURCE_FILE_SAVER_ERROR_INVALID_CHARS,
58
67
  GTK_SOURCE_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED
@@ -68,7 +77,7 @@ typedef enum
68
77
  * Flags to define the behavior of a #GtkSourceFileSaver.
69
78
  * Since: 3.14
70
79
  */
71
- typedef enum
80
+ typedef enum _GtkSourceFileSaverFlags
72
81
  {
73
82
  GTK_SOURCE_FILE_SAVER_FLAGS_NONE = 0,
74
83
  GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_INVALID_CHARS = 1 << 0,
@@ -161,4 +170,4 @@ gboolean gtk_source_file_saver_save_finish (GtkSourceFileSaver *saver,
161
170
 
162
171
  G_END_DECLS
163
172
 
164
- #endif /* __GTK_SOURCE_FILE_SAVER_H__ */
173
+ #endif /* GTK_SOURCE_FILE_SAVER_H */
@@ -19,8 +19,16 @@
19
19
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
20
  */
21
21
 
22
- #ifndef __GTK_SOURCE_GUTTER_H__
23
- #define __GTK_SOURCE_GUTTER_H__
22
+ #ifndef GTK_SOURCE_GUTTER_H
23
+ #define GTK_SOURCE_GUTTER_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
24
32
 
25
33
  #include <gtk/gtk.h>
26
34
  #include <gtksourceview/gtksourcetypes.h>
@@ -90,4 +98,4 @@ GtkSourceGutterRenderer *
90
98
 
91
99
  G_END_DECLS
92
100
 
93
- #endif /* __GTK_SOURCE_GUTTER_H__ */
101
+ #endif /* GTK_SOURCE_GUTTER_H */
@@ -19,8 +19,16 @@
19
19
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
20
  */
21
21
 
22
- #ifndef __GTK_SOURCE_GUTTER_RENDERER_H__
23
- #define __GTK_SOURCE_GUTTER_RENDERER_H__
22
+ #ifndef GTK_SOURCE_GUTTER_RENDERER_H
23
+ #define GTK_SOURCE_GUTTER_RENDERER_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
24
32
 
25
33
  #include <gtk/gtk.h>
26
34
  #include <gtksourceview/gtksourcetypes.h>
@@ -48,7 +56,7 @@ typedef struct _GtkSourceGutterRendererPrivate GtkSourceGutterRendererPrivate;
48
56
  * @GTK_SOURCE_GUTTER_RENDERER_STATE_SELECTED: area in the renderer represents
49
57
  * a line in the buffer which contains part of the selection
50
58
  **/
51
- typedef enum
59
+ typedef enum _GtkSourceGutterRendererState
52
60
  {
53
61
  GTK_SOURCE_GUTTER_RENDERER_STATE_NORMAL = 0,
54
62
  GTK_SOURCE_GUTTER_RENDERER_STATE_CURSOR = 1 << 0,
@@ -65,7 +73,7 @@ typedef enum
65
73
  * The alignment mode of the renderer, when a cell spans multiple lines (due to
66
74
  * text wrapping).
67
75
  **/
68
- typedef enum
76
+ typedef enum _GtkSourceGutterRendererAlignmentMode
69
77
  {
70
78
  GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL,
71
79
  GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_FIRST,
@@ -105,7 +113,7 @@ struct _GtkSourceGutterRendererClass
105
113
  /**
106
114
  * GtkSourceGutterRendererClass::change_view:
107
115
  * @renderer: a #GtkSourceGutterRenderer.
108
- * @old_view: (allow-none): the old #GtkTextView.
116
+ * @old_view: (nullable): the old #GtkTextView.
109
117
  *
110
118
  * This is called when the text view changes for @renderer.
111
119
  */
@@ -115,7 +123,7 @@ struct _GtkSourceGutterRendererClass
115
123
  /**
116
124
  * GtkSourceGutterRendererClass::change_buffer:
117
125
  * @renderer: a #GtkSourceGutterRenderer.
118
- * @old_buffer: (allow-none): the old #GtkTextBuffer.
126
+ * @old_buffer: (nullable): the old #GtkTextBuffer.
119
127
  *
120
128
  * This is called when the text buffer changes for @renderer.
121
129
  */
@@ -264,4 +272,4 @@ void gtk_source_gutter_renderer_query_data (GtkSourceGutterRenderer
264
272
 
265
273
  G_END_DECLS
266
274
 
267
- #endif /* __GTK_SOURCE_GUTTER_RENDERER_H__ */
275
+ #endif /* GTK_SOURCE_GUTTER_RENDERER_H */
@@ -19,8 +19,16 @@
19
19
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
20
  */
21
21
 
22
- #ifndef __GTK_SOURCE_GUTTER_RENDERER_PIXBUF_H__
23
- #define __GTK_SOURCE_GUTTER_RENDERER_PIXBUF_H__
22
+ #ifndef GTK_SOURCE_GUTTER_RENDERER_PIXBUF_H
23
+ #define GTK_SOURCE_GUTTER_RENDERER_PIXBUF_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
24
32
 
25
33
  #include <gtksourceview/gtksourcetypes.h>
26
34
  #include <gtksourceview/gtksourcegutterrenderer.h>
@@ -92,4 +100,4 @@ const gchar *gtk_source_gutter_renderer_pixbuf_get_icon_name (GtkSourceGutter
92
100
 
93
101
  G_END_DECLS
94
102
 
95
- #endif /* __GTK_SOURCE_GUTTER_RENDERER_TEXT_H__ */
103
+ #endif /* GTK_SOURCE_GUTTER_RENDERER_TEXT_H */