gtk2 1.0.3 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (255) hide show
  1. data/Rakefile +66 -1
  2. data/ext/gtk2/extconf.rb +0 -96
  3. data/ext/gtk2/global.h +274 -13
  4. data/ext/gtk2/gtk2.def +5 -3
  5. data/ext/gtk2/init.c +263 -19
  6. data/ext/gtk2/rbgdk.c +245 -89
  7. data/ext/gtk2/rbgdk.h +32 -6
  8. data/ext/gtk2/rbgdkatom.c +38 -28
  9. data/ext/gtk2/rbgdkcairo.c +32 -42
  10. data/ext/gtk2/rbgdkcolor.c +52 -42
  11. data/ext/gtk2/rbgdkcolormap.c +42 -37
  12. data/ext/gtk2/rbgdkconst.c +23 -13
  13. data/ext/gtk2/rbgdkconversions.h +19 -6
  14. data/ext/gtk2/rbgdkcursor.c +37 -25
  15. data/ext/gtk2/rbgdkdevice.c +77 -67
  16. data/ext/gtk2/rbgdkdisplay.c +158 -150
  17. data/ext/gtk2/rbgdkdisplaymanager.c +27 -15
  18. data/ext/gtk2/rbgdkdragcontext.c +121 -70
  19. data/ext/gtk2/rbgdkdraw.c +252 -160
  20. data/ext/gtk2/rbgdkevent.c +30 -20
  21. data/ext/gtk2/rbgdkgc.c +123 -116
  22. data/ext/gtk2/rbgdkgeometry.c +77 -68
  23. data/ext/gtk2/rbgdkimage.c +58 -47
  24. data/ext/gtk2/rbgdkinput.c +33 -26
  25. data/ext/gtk2/rbgdkkeymap.c +38 -27
  26. data/ext/gtk2/rbgdkkeyval.c +44 -32
  27. data/ext/gtk2/rbgdkpango.c +66 -39
  28. data/ext/gtk2/rbgdkpangorenderer.c +63 -35
  29. data/ext/gtk2/rbgdkpixbuf.c +36 -25
  30. data/ext/gtk2/rbgdkpixmap.c +65 -49
  31. data/ext/gtk2/rbgdkproperty.c +66 -60
  32. data/ext/gtk2/rbgdkrectangle.c +54 -46
  33. data/ext/gtk2/rbgdkregion.c +144 -79
  34. data/ext/gtk2/rbgdkrgb.c +74 -58
  35. data/ext/gtk2/rbgdkscreen.c +103 -97
  36. data/ext/gtk2/rbgdkselection.c +49 -39
  37. data/ext/gtk2/rbgdkthreads.c +32 -19
  38. data/ext/gtk2/rbgdktimecoord.c +60 -38
  39. data/ext/gtk2/rbgdkvisual.c +79 -71
  40. data/ext/gtk2/rbgdkwindow.c +284 -305
  41. data/ext/gtk2/rbgdkwindowattr.c +69 -58
  42. data/ext/gtk2/rbgdkx11.c +41 -28
  43. data/ext/gtk2/rbgtk.c +498 -19
  44. data/ext/gtk2/rbgtk.h +35 -20
  45. data/ext/gtk2/rbgtkaboutdialog.c +33 -80
  46. data/ext/gtk2/rbgtkaccelerator.c +36 -23
  47. data/ext/gtk2/rbgtkaccelgroup.c +50 -40
  48. data/ext/gtk2/rbgtkaccelgroupentry.c +32 -20
  49. data/ext/gtk2/rbgtkaccelkey.c +40 -28
  50. data/ext/gtk2/rbgtkaccellabel.c +30 -18
  51. data/ext/gtk2/rbgtkaccelmap.c +55 -42
  52. data/ext/gtk2/rbgtkaccessible.c +25 -14
  53. data/ext/gtk2/rbgtkaction.c +68 -68
  54. data/ext/gtk2/rbgtkactiongroup.c +317 -195
  55. data/ext/gtk2/rbgtkadjustment.c +33 -46
  56. data/ext/gtk2/rbgtkalignment.c +36 -24
  57. data/ext/gtk2/rbgtkallocation.c +53 -42
  58. data/ext/gtk2/rbgtkarrow.c +34 -22
  59. data/ext/gtk2/rbgtkaspectframe.c +32 -20
  60. data/ext/gtk2/rbgtkassistant.c +81 -61
  61. data/ext/gtk2/rbgtkbbox.c +32 -20
  62. data/ext/gtk2/rbgtkbin.c +28 -16
  63. data/ext/gtk2/rbgtkbindingset.c +42 -35
  64. data/ext/gtk2/rbgtkborder.c +34 -23
  65. data/ext/gtk2/rbgtkbox.c +40 -29
  66. data/ext/gtk2/rbgtkbuildable.c +57 -45
  67. data/ext/gtk2/rbgtkbuilder.c +53 -38
  68. data/ext/gtk2/rbgtkbutton.c +41 -55
  69. data/ext/gtk2/rbgtkcalendar.c +51 -40
  70. data/ext/gtk2/rbgtkcelleditable.c +28 -17
  71. data/ext/gtk2/rbgtkcelllayout.c +41 -30
  72. data/ext/gtk2/rbgtkcellrenderer.c +43 -32
  73. data/ext/gtk2/rbgtkcellrendereraccel.c +26 -18
  74. data/ext/gtk2/rbgtkcellrenderercombo.c +25 -17
  75. data/ext/gtk2/rbgtkcellrendererpixbuf.c +24 -17
  76. data/ext/gtk2/rbgtkcellrendererprogress.c +25 -17
  77. data/ext/gtk2/rbgtkcellrendererspin.c +24 -16
  78. data/ext/gtk2/rbgtkcellrendererspinner.c +23 -11
  79. data/ext/gtk2/rbgtkcellrenderertext.c +28 -21
  80. data/ext/gtk2/rbgtkcellrenderertoggle.c +24 -16
  81. data/ext/gtk2/rbgtkcellview.c +34 -33
  82. data/ext/gtk2/rbgtkcheckbutton.c +28 -16
  83. data/ext/gtk2/rbgtkcheckmenuitem.c +31 -19
  84. data/ext/gtk2/rbgtkclipboard.c +123 -77
  85. data/ext/gtk2/rbgtkcolorbutton.c +26 -31
  86. data/ext/gtk2/rbgtkcolorsel.c +109 -55
  87. data/ext/gtk2/rbgtkcolorselectiondialog.c +28 -19
  88. data/ext/gtk2/rbgtkcombo.c +43 -32
  89. data/ext/gtk2/rbgtkcombobox.c +44 -83
  90. data/ext/gtk2/rbgtkcomboboxentry.c +26 -21
  91. data/ext/gtk2/rbgtkconst.c +23 -13
  92. data/ext/gtk2/rbgtkcontainer.c +153 -100
  93. data/ext/gtk2/rbgtkconversions.h +19 -6
  94. data/ext/gtk2/rbgtkcurve.c +46 -36
  95. data/ext/gtk2/rbgtkdialog.c +104 -70
  96. data/ext/gtk2/rbgtkdrag.c +173 -121
  97. data/ext/gtk2/rbgtkdrawingarea.c +28 -16
  98. data/ext/gtk2/rbgtkeditable.c +63 -51
  99. data/ext/gtk2/rbgtkentry.c +48 -85
  100. data/ext/gtk2/rbgtkentrycompletion.c +42 -55
  101. data/ext/gtk2/rbgtkeventbox.c +28 -16
  102. data/ext/gtk2/rbgtkexpander.c +26 -35
  103. data/ext/gtk2/rbgtkfilechooser.c +87 -143
  104. data/ext/gtk2/rbgtkfilechooserbutton.c +26 -32
  105. data/ext/gtk2/rbgtkfilechooserdialog.c +25 -15
  106. data/ext/gtk2/rbgtkfilechooserwidget.c +26 -15
  107. data/ext/gtk2/rbgtkfilefilter.c +45 -35
  108. data/ext/gtk2/rbgtkfilesel.c +54 -43
  109. data/ext/gtk2/rbgtkfilesystemerror.c +51 -0
  110. data/ext/gtk2/rbgtkfixed.c +36 -25
  111. data/ext/gtk2/rbgtkfontbutton.c +26 -37
  112. data/ext/gtk2/rbgtkfontselection.c +27 -15
  113. data/ext/gtk2/rbgtkfontselectiondialog.c +43 -32
  114. data/ext/gtk2/rbgtkframe.c +39 -28
  115. data/ext/gtk2/rbgtkgamma.c +32 -20
  116. data/ext/gtk2/rbgtkhandlebox.c +31 -19
  117. data/ext/gtk2/rbgtkhbbox.c +28 -16
  118. data/ext/gtk2/rbgtkhbox.c +29 -17
  119. data/ext/gtk2/rbgtkhpaned.c +28 -16
  120. data/ext/gtk2/rbgtkhruler.c +28 -16
  121. data/ext/gtk2/rbgtkhscale.c +28 -16
  122. data/ext/gtk2/rbgtkhscrollbar.c +28 -16
  123. data/ext/gtk2/rbgtkhseparator.c +28 -16
  124. data/ext/gtk2/rbgtkiconfactory.c +35 -23
  125. data/ext/gtk2/rbgtkiconinfo.c +42 -30
  126. data/ext/gtk2/rbgtkiconset.c +31 -19
  127. data/ext/gtk2/rbgtkiconsize.c +38 -25
  128. data/ext/gtk2/rbgtkiconsource.c +62 -50
  129. data/ext/gtk2/rbgtkicontheme.c +95 -95
  130. data/ext/gtk2/rbgtkiconview.c +87 -121
  131. data/ext/gtk2/rbgtkimage.c +31 -40
  132. data/ext/gtk2/rbgtkimagemenuitem.c +26 -14
  133. data/ext/gtk2/rbgtkimcontext.c +46 -34
  134. data/ext/gtk2/rbgtkimcontextsimple.c +47 -24
  135. data/ext/gtk2/rbgtkimmulticontext.c +26 -14
  136. data/ext/gtk2/rbgtkinputdialog.c +28 -16
  137. data/ext/gtk2/rbgtkinvisible.c +24 -18
  138. data/ext/gtk2/rbgtkitem.c +32 -20
  139. data/ext/gtk2/rbgtkitemfactory.c +65 -57
  140. data/ext/gtk2/rbgtklabel.c +46 -57
  141. data/ext/gtk2/rbgtklayout.c +40 -29
  142. data/ext/gtk2/rbgtklinkbutton.c +26 -15
  143. data/ext/gtk2/rbgtkliststore.c +145 -102
  144. data/ext/gtk2/rbgtkmacros.h +19 -6
  145. data/ext/gtk2/rbgtkmenu.c +47 -59
  146. data/ext/gtk2/rbgtkmenubar.c +30 -30
  147. data/ext/gtk2/rbgtkmenuitem.c +34 -41
  148. data/ext/gtk2/rbgtkmenushell.c +43 -42
  149. data/ext/gtk2/rbgtkmenutoolbutton.c +27 -16
  150. data/ext/gtk2/rbgtkmessagedialog.c +31 -25
  151. data/ext/gtk2/rbgtkmisc.c +33 -22
  152. data/ext/gtk2/rbgtknotebook.c +98 -134
  153. data/ext/gtk2/rbgtkobject.c +46 -81
  154. data/ext/gtk2/rbgtkoptionmenu.c +35 -23
  155. data/ext/gtk2/rbgtkpagesetup.c +64 -54
  156. data/ext/gtk2/rbgtkpagesetupunixdialog.c +34 -27
  157. data/ext/gtk2/rbgtkpaned.c +46 -36
  158. data/ext/gtk2/rbgtkpapersize.c +60 -54
  159. data/ext/gtk2/rbgtkplug.c +32 -20
  160. data/ext/gtk2/rbgtkprintcontext.c +43 -35
  161. data/ext/gtk2/rbgtkprinter.c +36 -37
  162. data/ext/gtk2/rbgtkprintjob.c +36 -37
  163. data/ext/gtk2/rbgtkprintoperation.c +44 -33
  164. data/ext/gtk2/rbgtkprintoperationpreview.c +30 -18
  165. data/ext/gtk2/rbgtkprintsettings.c +248 -192
  166. data/ext/gtk2/rbgtkprintunixdialog.c +33 -45
  167. data/ext/gtk2/rbgtkprogress.c +23 -13
  168. data/ext/gtk2/rbgtkprogressbar.c +47 -46
  169. data/ext/gtk2/rbgtkradioaction.c +84 -39
  170. data/ext/gtk2/rbgtkradiobutton.c +33 -21
  171. data/ext/gtk2/rbgtkradiomenuitem.c +86 -45
  172. data/ext/gtk2/rbgtkradiotoolbutton.c +99 -53
  173. data/ext/gtk2/rbgtkrange.c +36 -56
  174. data/ext/gtk2/rbgtkrc.c +61 -49
  175. data/ext/gtk2/rbgtkrcstyle.c +59 -48
  176. data/ext/gtk2/rbgtkrecentaction.c +28 -16
  177. data/ext/gtk2/rbgtkrecentchooser.c +58 -92
  178. data/ext/gtk2/rbgtkrecentchooserdialog.c +29 -18
  179. data/ext/gtk2/rbgtkrecentchoosermenu.c +25 -21
  180. data/ext/gtk2/rbgtkrecentchooserwidget.c +24 -13
  181. data/ext/gtk2/rbgtkrecentdata.c +47 -36
  182. data/ext/gtk2/rbgtkrecentfilter.c +55 -46
  183. data/ext/gtk2/rbgtkrecentfilterinfo.c +51 -40
  184. data/ext/gtk2/rbgtkrecentinfo.c +66 -56
  185. data/ext/gtk2/rbgtkrecentmanager.c +47 -43
  186. data/ext/gtk2/rbgtkruler.c +35 -30
  187. data/ext/gtk2/rbgtkscale.c +29 -18
  188. data/ext/gtk2/rbgtkscalebutton.c +27 -27
  189. data/ext/gtk2/rbgtkscrollbar.c +23 -13
  190. data/ext/gtk2/rbgtkscrolledwindow.c +44 -60
  191. data/ext/gtk2/rbgtkselection.c +87 -67
  192. data/ext/gtk2/rbgtkselectiondata.c +74 -65
  193. data/ext/gtk2/rbgtkseparator.c +23 -13
  194. data/ext/gtk2/rbgtkseparatormenuitem.c +25 -13
  195. data/ext/gtk2/rbgtkseparatortoolitem.c +26 -21
  196. data/ext/gtk2/rbgtksettings.c +123 -103
  197. data/ext/gtk2/rbgtksizegroup.c +33 -30
  198. data/ext/gtk2/rbgtksocket.c +32 -20
  199. data/ext/gtk2/rbgtkspinbutton.c +48 -38
  200. data/ext/gtk2/rbgtkspinner.c +27 -14
  201. data/ext/gtk2/rbgtkstatusbar.c +36 -31
  202. data/ext/gtk2/rbgtkstatusicon.c +31 -44
  203. data/ext/gtk2/rbgtkstock.c +137 -125
  204. data/ext/gtk2/rbgtkstyle.c +177 -161
  205. data/ext/gtk2/rbgtktable.c +58 -47
  206. data/ext/gtk2/rbgtktargetlist.c +56 -36
  207. data/ext/gtk2/rbgtktearoffmenuitem.c +28 -16
  208. data/ext/gtk2/rbgtktextappearance.c +44 -34
  209. data/ext/gtk2/rbgtktextattributes.c +54 -42
  210. data/ext/gtk2/rbgtktextbuffer.c +188 -191
  211. data/ext/gtk2/rbgtktextchild.c +29 -18
  212. data/ext/gtk2/rbgtktextiter.c +153 -145
  213. data/ext/gtk2/rbgtktextmark.c +33 -30
  214. data/ext/gtk2/rbgtktexttag.c +34 -22
  215. data/ext/gtk2/rbgtktexttagtable.c +36 -25
  216. data/ext/gtk2/rbgtktextview.c +85 -73
  217. data/ext/gtk2/rbgtktoggleaction.c +27 -22
  218. data/ext/gtk2/rbgtktogglebutton.c +37 -26
  219. data/ext/gtk2/rbgtktoggletoolbutton.c +26 -20
  220. data/ext/gtk2/rbgtktoolbar.c +66 -69
  221. data/ext/gtk2/rbgtktoolbutton.c +27 -40
  222. data/ext/gtk2/rbgtktoolitem.c +60 -62
  223. data/ext/gtk2/rbgtktooltip.c +36 -25
  224. data/ext/gtk2/rbgtktooltips.c +42 -34
  225. data/ext/gtk2/rbgtktreedragdest.c +20 -11
  226. data/ext/gtk2/rbgtktreedragsource.c +20 -11
  227. data/ext/gtk2/rbgtktreeiter.c +58 -47
  228. data/ext/gtk2/rbgtktreemodel.c +83 -65
  229. data/ext/gtk2/rbgtktreemodelfilter.c +47 -35
  230. data/ext/gtk2/rbgtktreemodelsort.c +38 -27
  231. data/ext/gtk2/rbgtktreepath.c +55 -44
  232. data/ext/gtk2/rbgtktreerowreference.c +60 -42
  233. data/ext/gtk2/rbgtktreeselection.c +61 -52
  234. data/ext/gtk2/rbgtktreesortable.c +52 -42
  235. data/ext/gtk2/rbgtktreestore.c +88 -67
  236. data/ext/gtk2/rbgtktreeview.c +157 -185
  237. data/ext/gtk2/rbgtktreeviewcolumn.c +57 -62
  238. data/ext/gtk2/rbgtkuimanager.c +61 -61
  239. data/ext/gtk2/rbgtkvbbox.c +28 -16
  240. data/ext/gtk2/rbgtkvbox.c +29 -17
  241. data/ext/gtk2/rbgtkviewport.c +28 -16
  242. data/ext/gtk2/rbgtkvolumebutton.c +28 -16
  243. data/ext/gtk2/rbgtkvpaned.c +28 -16
  244. data/ext/gtk2/rbgtkvruler.c +28 -16
  245. data/ext/gtk2/rbgtkvscale.c +28 -16
  246. data/ext/gtk2/rbgtkvscrollbar.c +28 -16
  247. data/ext/gtk2/rbgtkvseparator.c +28 -16
  248. data/ext/gtk2/rbgtkwidget.c +284 -296
  249. data/ext/gtk2/rbgtkwindow.c +156 -214
  250. data/ext/gtk2/rbgtkwindowgroup.c +35 -24
  251. data/sample/testgtk/labels.rb +1 -0
  252. data/sample/testgtk/testgtk.rb +2 -0
  253. metadata +16 -17
  254. data/ChangeLog +0 -6902
  255. data/ext/gtk2/rbgtkmain.c +0 -493
data/Rakefile CHANGED
@@ -13,6 +13,63 @@ package = GNOME2Package.new do |_package|
13
13
  end
14
14
  package.define_tasks
15
15
 
16
+ class Win32HiColorIconThemeDownloader
17
+ include Rake::DSL
18
+
19
+ def initialize(options={})
20
+ @base_name = "hicolor-icon-theme"
21
+ @icon_theme_releases_url = "http://icon-theme.freedesktop.org/releases/"
22
+ output_dir = options[:output_dir] || File.join("vendor", "local")
23
+ @output_dir = File.expand_path(output_dir)
24
+ end
25
+
26
+ def download
27
+ escaped_base_name = Regexp.escape(@base_name)
28
+ agent = Mechanize.new
29
+ releases_page = agent.get(@icon_theme_releases_url)
30
+ latest_release_link = detect_latest_release_link(releases_page)
31
+
32
+ if latest_release_link.nil?
33
+ message = "can't find #{@base_name}: <#{@icon_theme_releases_url}>"
34
+ raise message
35
+ end
36
+ click_tar_gz(latest_release_link)
37
+ end
38
+
39
+ private
40
+ def detect_latest_release_link(releases_page)
41
+ escaped_base_name = Regexp.escape(@base_name)
42
+ releases_page.links.collect do |link|
43
+ case link.href
44
+ when /\A#{escaped_base_name}-([\d.]+)\.tar.gz\z/
45
+ version = $1
46
+ [version.split(/[\.\-]/).collect {|component| component.to_i}, link]
47
+ else
48
+ [[-1], nil]
49
+ end
50
+ end.sort_by do |normalized_version, link|
51
+ normalized_version
52
+ end.last[1]
53
+ end
54
+
55
+ def click_tar_gz(link)
56
+ tar_gz = link.click
57
+ tmp_dir = "tmp"
58
+ mkdir_p(tmp_dir)
59
+ Dir.chdir(tmp_dir) do
60
+ open(tar_gz.filename, "wb") do |file|
61
+ file.print(tar_gz.body)
62
+ end
63
+ sh("tar", "xzf", tar_gz.filename)
64
+ Dir.chdir(File.basename(tar_gz.filename, ".tar.gz")) do
65
+ sh("./configure", "--prefix=#{@output_dir}")
66
+ sh("make", "install")
67
+ end
68
+ end
69
+ rm_rf(tmp_dir)
70
+ end
71
+ end
72
+
16
73
  namespace :win32 do
17
74
  desc "create default gtkrc"
18
75
  task :gtkrc do
@@ -22,5 +79,13 @@ namespace :win32 do
22
79
  gtkrc.puts('gtk-theme-name = "MS-Windows"')
23
80
  end
24
81
  end
25
- task :download => :gtkrc
82
+
83
+ namespace :downloader do
84
+ task :download_hicolor_icon_theme do
85
+ downloader = Win32HiColorIconThemeDownloader.new
86
+ downloader.download
87
+ end
88
+
89
+ task :after => [:download_hicolor_icon_theme, "win32:gtkrc"]
90
+ end
26
91
  end
@@ -102,101 +102,6 @@ end
102
102
 
103
103
  create_pkg_config_file("Ruby/GTK2", package_id, ruby_gnome2_version)
104
104
 
105
- class InitCreator
106
- def initialize(output)
107
- @output = output
108
- @targets = []
109
- end
110
-
111
- def <<(target)
112
- @targets << target
113
- end
114
-
115
- def run
116
- inits = Hash.new
117
-
118
- except_targets = ["Init_gtk2()", "Init_gtk_gdk()", "Init_gtk_gtk()"]
119
- @targets.each do |target|
120
- target.each_line do |line|
121
- if /^(Init_.*\((?:void)?\))(.*)/ =~ line
122
- init = $1
123
- unless except_targets.include?(init)
124
- flag = $2
125
- if flag.size > 0
126
- if flag =~ /\/\*\s*(\w*)\s*\*\//
127
- inits[$1] = Array.new unless inits[$1]
128
- inits[$1] << init
129
- end
130
- else
131
- inits[""] = Array.new unless inits[""]
132
- inits[""] << init
133
- end
134
- end
135
- end
136
- end
137
- end
138
-
139
- inits[""] = inits[""].sort_by do |value|
140
- if value == "Init_gtk_gdk_draw()"
141
- inits[""].size * 2
142
- elsif value == "Init_gtk_gdk_gc()"
143
- -inits[""].size
144
- else
145
- inits[""].index(value)
146
- end
147
- end
148
-
149
- print_data(inits, "", nil, true)
150
- print_data(inits, "GTK_DISABLE_DEPRECATED", "ifndef", true)
151
- print_data(inits, "GTK_ENABLE_BROKEN", "ifdef", true)
152
-
153
- print "void Init_gtk_inits(void)\n"
154
- print "{\n"
155
- print_data(inits, "", nil)
156
- print_data(inits, "GTK_DISABLE_DEPRECATED", "ifndef")
157
- print_data(inits, "GTK_ENABLE_BROKEN", "ifdef")
158
- print "}\n"
159
- end
160
-
161
- def print_data(array, type, defs, extern = false)
162
- if array[type]
163
- dependencies = {
164
- "Init_gtk_gdk_gc()" => ["Init_gtk_gdk_draw()"],
165
- }
166
- extern_def = "extern void" if extern
167
- print "##{defs} #{type}\n" if defs
168
- sorted_array = array[type].dup
169
- dependencies.each do |key, values|
170
- next unless sorted_array.include?(key)
171
- sorted_array.delete(key)
172
- value_indexes = values.collect do |value|
173
- sorted_array.index(value)
174
- end
175
- max_value_index = value_indexes.compact.max
176
- sorted_array[max_value_index + 1, 0] = key
177
- end
178
- sorted_array.each do |val|
179
- print "#{extern_def} #{val};\n"
180
- end
181
- print "#endif\n" if defs
182
- end
183
- end
184
-
185
- def print(*args)
186
- @output.print(*args)
187
- end
188
- end
189
-
190
- rbgtkinits_c_path = Pathname("rbgtkinits.c")
191
- rbgtkinits_c_path.open("w") do |rbgtkinits_c|
192
- init_creator = InitCreator.new(rbgtkinits_c)
193
- source_dir.each_entry do |entry|
194
- next unless entry.extname == ".c"
195
- init_creator << (source_dir + entry)
196
- end
197
- init_creator.run
198
- end
199
-
200
105
  rbgdkkeysyms_h_path = Pathname("rbgdkkeysyms.h")
201
106
  gdkkeysyms_h_paths = []
202
107
  gdkkeysyms_h_paths << gdk_include_path + "gdkkeysyms.h"
@@ -214,7 +119,6 @@ rbgdkkeysyms_h_path.open("w") do |rbgdkkeysyms_h|
214
119
  end
215
120
 
216
121
  add_distcleanfile("rbgdkkeysyms.h")
217
- add_distcleanfile("rbgtkinits.c")
218
122
 
219
123
  ensure_objs
220
124
 
@@ -1,16 +1,26 @@
1
- /* -*- c-file-style: "ruby" -*- */
2
- /************************************************
3
-
4
- global.h -
5
-
6
- $Author: sakai $
7
- $Date: 2003/03/14 03:12:19 $
8
-
9
- Copyright (C) 2002,2003 Ruby-GNOME2 Project Team
10
- Copyright (C) 1998-2000 Yukihiro Matsumoto,
11
- Daisuke Kanda,
12
- Hiroshi Igarashi
13
- ************************************************/
1
+ /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
+ /*
3
+ * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
+ * Copyright (C) 2002,2003 Ruby-GNOME2 Project Team
5
+ * Copyright (C) 1998-2000 Yukihiro Matsumoto,
6
+ * Daisuke Kanda,
7
+ * Hiroshi Igarashi
8
+ *
9
+ * This library is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU Lesser General Public
11
+ * License as published by the Free Software Foundation; either
12
+ * version 2.1 of the License, or (at your option) any later version.
13
+ *
14
+ * This library is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
+ * Lesser General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU Lesser General Public
20
+ * License along with this library; if not, write to the Free Software
21
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
22
+ * MA 02110-1301 USA
23
+ */
14
24
 
15
25
  #ifndef _RBGTK_GLOBAL_H
16
26
  #define _RBGTK_GLOBAL_H
@@ -26,8 +36,259 @@
26
36
  # define rb_errinfo() (ruby_errinfo)
27
37
  #endif
28
38
 
39
+ #ifndef G_VALUE_INIT
40
+ # define G_VALUE_INIT { 0, { { 0 } } }
41
+ #endif
42
+
43
+ #if GTK_CHECK_VERSION(2,8,0) && defined(HAVE_RB_CAIRO_H)
44
+ # define CAIRO_AVAILABLE 1
45
+ #else
46
+ # define CAIRO_AVAILABLE 0
47
+ #endif
48
+
29
49
  extern ID id_relative_callbacks;
30
50
  extern ID id_call;
31
51
  extern VALUE treeiter_set_value_table;
32
52
 
53
+ G_GNUC_INTERNAL void Init_gtk_gdk(void);
54
+ G_GNUC_INTERNAL void Init_gtk_gtk(void);
55
+ G_GNUC_INTERNAL void Init_gtk_gdk_atom(VALUE mGdk);
56
+ G_GNUC_INTERNAL void Init_gtk_gdk_cairo(void);
57
+ G_GNUC_INTERNAL void Init_gtk_gdk_color(VALUE mGdk);
58
+ G_GNUC_INTERNAL void Init_gtk_gdk_colormap(VALUE mGdk);
59
+ G_GNUC_INTERNAL void Init_gtk_gdk_const(VALUE mGdk);
60
+ G_GNUC_INTERNAL void Init_gtk_gdk_cursor(VALUE mGdk);
61
+ G_GNUC_INTERNAL void Init_gtk_gdk_device(VALUE mGdk);
62
+ G_GNUC_INTERNAL void Init_gtk_gdk_display(VALUE mGdk);
63
+ G_GNUC_INTERNAL void Init_gtk_gdk_display_manager(VALUE mGdk);
64
+ G_GNUC_INTERNAL void Init_gtk_gdk_dragcontext(VALUE mGdk);
65
+ G_GNUC_INTERNAL void Init_gtk_gdk_event(VALUE mGdk);
66
+ G_GNUC_INTERNAL void Init_gtk_gdk_geometry(VALUE mGdk);
67
+ G_GNUC_INTERNAL void Init_gtk_gdk_image(VALUE mGdk);
68
+ G_GNUC_INTERNAL void Init_gtk_gdk_input(VALUE mGdk);
69
+ G_GNUC_INTERNAL void Init_gtk_gdk_keymap(VALUE mGdk);
70
+ G_GNUC_INTERNAL void Init_gtk_gdk_keyval(VALUE mGdk);
71
+ G_GNUC_INTERNAL void Init_gtk_gdk_pango(VALUE mGdk);
72
+ G_GNUC_INTERNAL void Init_gtk_gdk_pangorenderer(VALUE mGdk);
73
+ G_GNUC_INTERNAL void Init_gtk_gdk_pixbuf(VALUE mGdk);
74
+ G_GNUC_INTERNAL void Init_gtk_gdk_pixmap(VALUE mGdk);
75
+ G_GNUC_INTERNAL void Init_gtk_gdk_property(VALUE mGdk);
76
+ G_GNUC_INTERNAL void Init_gtk_gdk_rectangle(VALUE mGdk);
77
+ G_GNUC_INTERNAL void Init_gtk_gdk_region(VALUE mGdk);
78
+ G_GNUC_INTERNAL void Init_gtk_gdk_rgb(VALUE mGdk);
79
+ G_GNUC_INTERNAL void Init_gtk_gdk_screen(VALUE mGdk);
80
+ G_GNUC_INTERNAL void Init_gtk_gdk_selection(VALUE mGdk);
81
+ G_GNUC_INTERNAL void Init_gtk_gdk_threads(VALUE mGdk);
82
+ G_GNUC_INTERNAL void Init_gtk_gdk_timecoord(VALUE mGdk);
83
+ G_GNUC_INTERNAL void Init_gtk_gdk_visual(VALUE mGdk);
84
+ G_GNUC_INTERNAL void Init_gtk_gdk_window(VALUE mGdk);
85
+ G_GNUC_INTERNAL void Init_gtk_gdk_windowattr(VALUE mGdk);
86
+ G_GNUC_INTERNAL void Init_gtk_gdk_x11(VALUE mGdk);
87
+ G_GNUC_INTERNAL void Init_gtk_aboutdialog(VALUE mGtk);
88
+ G_GNUC_INTERNAL void Init_gtk_accelerator(VALUE mGtk);
89
+ G_GNUC_INTERNAL void Init_gtk_accel_group(VALUE mGtk);
90
+ G_GNUC_INTERNAL void Init_gtk_accel_group_entry(VALUE mGtk);
91
+ G_GNUC_INTERNAL void Init_gtk_accel_key(VALUE mGtk);
92
+ G_GNUC_INTERNAL void Init_gtk_accel_label(VALUE mGtk);
93
+ G_GNUC_INTERNAL void Init_gtk_accel_map(VALUE mGtk);
94
+ G_GNUC_INTERNAL void Init_gtk_accessible(VALUE mGtk);
95
+ G_GNUC_INTERNAL void Init_gtk_action(VALUE mGtk);
96
+ G_GNUC_INTERNAL void Init_gtk_actiongroup(VALUE mGtk);
97
+ G_GNUC_INTERNAL void Init_gtk_adjustment(VALUE mGtk);
98
+ G_GNUC_INTERNAL void Init_gtk_alignment(VALUE mGtk);
99
+ G_GNUC_INTERNAL void Init_gtk_allocation(VALUE mGtk);
100
+ G_GNUC_INTERNAL void Init_gtk_arrow(VALUE mGtk);
101
+ G_GNUC_INTERNAL void Init_gtk_aspect_frame(VALUE mGtk);
102
+ G_GNUC_INTERNAL void Init_gtk_assistant(VALUE mGtk);
103
+ G_GNUC_INTERNAL void Init_gtk_button_box(VALUE mGtk);
104
+ G_GNUC_INTERNAL void Init_gtk_bin(VALUE mGtk);
105
+ G_GNUC_INTERNAL void Init_gtk_bindings(VALUE mGtk);
106
+ G_GNUC_INTERNAL void Init_gtk_border(VALUE mGtk);
107
+ G_GNUC_INTERNAL void Init_gtk_box(VALUE mGtk);
108
+ G_GNUC_INTERNAL void Init_gtk_buildable(VALUE mGtk);
109
+ G_GNUC_INTERNAL void Init_gtk_builder(VALUE mGtk);
110
+ G_GNUC_INTERNAL void Init_gtk_button(VALUE mGtk);
111
+ G_GNUC_INTERNAL void Init_gtk_calendar(VALUE mGtk);
112
+ G_GNUC_INTERNAL void Init_gtk_celleditable(VALUE mGtk);
113
+ G_GNUC_INTERNAL void Init_gtk_celllayout(VALUE mGtk);
114
+ G_GNUC_INTERNAL void Init_gtk_cellrenderer(VALUE mGtk);
115
+ G_GNUC_INTERNAL void Init_gtk_cellrendereraccel(VALUE mGtk);
116
+ G_GNUC_INTERNAL void Init_gtk_cellrenderercombo(VALUE mGtk);
117
+ G_GNUC_INTERNAL void Init_gtk_cellrendererpixbuf(VALUE mGtk);
118
+ G_GNUC_INTERNAL void Init_gtk_cellrendererprogress(VALUE mGtk);
119
+ G_GNUC_INTERNAL void Init_gtk_cellrendererspin(VALUE mGtk);
120
+ G_GNUC_INTERNAL void Init_gtk_cellrendererspinner(VALUE mGtk);
121
+ G_GNUC_INTERNAL void Init_gtk_cellrenderertext(VALUE mGtk);
122
+ G_GNUC_INTERNAL void Init_gtk_cellrenderertoggle(VALUE mGtk);
123
+ G_GNUC_INTERNAL void Init_gtk_cellview(VALUE mGtk);
124
+ G_GNUC_INTERNAL void Init_gtk_check_button(VALUE mGtk);
125
+ G_GNUC_INTERNAL void Init_gtk_check_menu_item(VALUE mGtk);
126
+ G_GNUC_INTERNAL void Init_gtk_clipboard(VALUE mGtk);
127
+ G_GNUC_INTERNAL void Init_gtk_colorbutton(VALUE mGtk);
128
+ G_GNUC_INTERNAL void Init_gtk_color_selection(VALUE mGtk);
129
+ G_GNUC_INTERNAL void Init_gtk_color_selection_dialog(VALUE mGtk);
130
+ G_GNUC_INTERNAL void Init_gtk_combo(VALUE mGtk);
131
+ G_GNUC_INTERNAL void Init_gtk_combobox(VALUE mGtk);
132
+ G_GNUC_INTERNAL void Init_gtk_comboboxentry(VALUE mGtk);
133
+ G_GNUC_INTERNAL void Init_gtk_const(VALUE mGtk);
134
+ G_GNUC_INTERNAL void Init_gtk_container(VALUE mGtk);
135
+ G_GNUC_INTERNAL void Init_gtk_curve(VALUE mGtk);
136
+ G_GNUC_INTERNAL void Init_gtk_dialog(VALUE mGtk);
137
+ G_GNUC_INTERNAL void Init_gtk_drag(VALUE mGtk);
138
+ G_GNUC_INTERNAL void Init_gtk_drawing_area(VALUE mGtk);
139
+ G_GNUC_INTERNAL void Init_gtk_editable(VALUE mGtk);
140
+ G_GNUC_INTERNAL void Init_gtk_entry(VALUE mGtk);
141
+ G_GNUC_INTERNAL void Init_gtk_entry_completion(VALUE mGtk);
142
+ G_GNUC_INTERNAL void Init_gtk_eventbox(VALUE mGtk);
143
+ G_GNUC_INTERNAL void Init_gtk_expander(VALUE mGtk);
144
+ G_GNUC_INTERNAL void Init_gtk_file_chooser(VALUE mGtk);
145
+ G_GNUC_INTERNAL void Init_gtk_filesystemerror(VALUE mGtk);
146
+ G_GNUC_INTERNAL void Init_gtk_filechooserbutton(VALUE mGtk);
147
+ G_GNUC_INTERNAL void Init_gtk_file_chooser_dialog(VALUE mGtk);
148
+ G_GNUC_INTERNAL void Init_gtk_file_chooser_widget(VALUE mGtk);
149
+ G_GNUC_INTERNAL void Init_gtk_file_filter(VALUE mGtk);
150
+ G_GNUC_INTERNAL void Init_gtk_file_selection(VALUE mGtk);
151
+ G_GNUC_INTERNAL void Init_gtk_fixed(VALUE mGtk);
152
+ G_GNUC_INTERNAL void Init_gtk_fontbutton(VALUE mGtk);
153
+ G_GNUC_INTERNAL void Init_gtk_font_selection(VALUE mGtk);
154
+ G_GNUC_INTERNAL void Init_gtk_font_selection_dialog(VALUE mGtk);
155
+ G_GNUC_INTERNAL void Init_gtk_frame(VALUE mGtk);
156
+ G_GNUC_INTERNAL void Init_gtk_gamma_curve(VALUE mGtk);
157
+ G_GNUC_INTERNAL void Init_gtk_gdk_draw(VALUE mGdk);
158
+ G_GNUC_INTERNAL void Init_gtk_gdk_gc(VALUE mGdk);
159
+ G_GNUC_INTERNAL void Init_gtk_handle_box(VALUE mGtk);
160
+ G_GNUC_INTERNAL void Init_gtk_hbutton_box(VALUE mGtk);
161
+ G_GNUC_INTERNAL void Init_gtk_hbox(VALUE mGtk);
162
+ G_GNUC_INTERNAL void Init_gtk_hpaned(VALUE mGtk);
163
+ G_GNUC_INTERNAL void Init_gtk_hruler(VALUE mGtk);
164
+ G_GNUC_INTERNAL void Init_gtk_hscale(VALUE mGtk);
165
+ G_GNUC_INTERNAL void Init_gtk_hscrollbar(VALUE mGtk);
166
+ G_GNUC_INTERNAL void Init_gtk_hseparator(VALUE mGtk);
167
+ G_GNUC_INTERNAL void Init_gtk_icon_factory(VALUE mGtk);
168
+ G_GNUC_INTERNAL void Init_gtk_iconinfo(VALUE mGtk);
169
+ G_GNUC_INTERNAL void Init_gtk_icon_set(VALUE mGtk);
170
+ G_GNUC_INTERNAL void Init_gtk_icon_size(VALUE mGtk);
171
+ G_GNUC_INTERNAL void Init_gtk_icon_source(VALUE mGtk);
172
+ G_GNUC_INTERNAL void Init_gtk_icon_theme(VALUE mGtk);
173
+ G_GNUC_INTERNAL void Init_gtk_iconview(VALUE mGtk);
174
+ G_GNUC_INTERNAL void Init_gtk_image(VALUE mGtk);
175
+ G_GNUC_INTERNAL void Init_gtk_image_menu_item(VALUE mGtk);
176
+ G_GNUC_INTERNAL void Init_gtk_imcontext(VALUE mGtk);
177
+ G_GNUC_INTERNAL void Init_gtk_imcontext_simple(VALUE mGtk);
178
+ G_GNUC_INTERNAL void Init_gtk_im_multicontext(VALUE mGtk);
179
+ G_GNUC_INTERNAL void Init_gtk_input_dialog(VALUE mGtk);
180
+ G_GNUC_INTERNAL void Init_gtk_invisible(VALUE mGtk);
181
+ G_GNUC_INTERNAL void Init_gtk_item(VALUE mGtk);
182
+ G_GNUC_INTERNAL void Init_gtk_itemfactory(VALUE mGtk);
183
+ G_GNUC_INTERNAL void Init_gtk_label(VALUE mGtk);
184
+ G_GNUC_INTERNAL void Init_gtk_layout(VALUE mGtk);
185
+ G_GNUC_INTERNAL void Init_gtk_link_button(VALUE mGtk);
186
+ G_GNUC_INTERNAL void Init_gtk_list_store(VALUE mGtk);
187
+ G_GNUC_INTERNAL void Init_gtk_menu(VALUE mGtk);
188
+ G_GNUC_INTERNAL void Init_gtk_menu_bar(VALUE mGtk);
189
+ G_GNUC_INTERNAL void Init_gtk_menu_item(VALUE mGtk);
190
+ G_GNUC_INTERNAL void Init_gtk_menu_shell(VALUE mGtk);
191
+ G_GNUC_INTERNAL void Init_gtk_menutoolbutton(VALUE mGtk);
192
+ G_GNUC_INTERNAL void Init_gtk_message_dialog(VALUE mGtk);
193
+ G_GNUC_INTERNAL void Init_gtk_misc(VALUE mGtk);
194
+ G_GNUC_INTERNAL void Init_gtk_notebook(VALUE mGtk);
195
+ G_GNUC_INTERNAL void Init_gtk_object(VALUE mGtk);
196
+ G_GNUC_INTERNAL void Init_gtk_option_menu(VALUE mGtk);
197
+ G_GNUC_INTERNAL void Init_gtk_page_setup(VALUE mGtk);
198
+ G_GNUC_INTERNAL void Init_gtk_page_setup_unix_dialog(VALUE mGtk);
199
+ G_GNUC_INTERNAL void Init_gtk_paned(VALUE mGtk);
200
+ G_GNUC_INTERNAL void Init_gtk_paper_size(VALUE mGtk);
201
+ G_GNUC_INTERNAL void Init_gtk_plug(VALUE mGtk);
202
+ G_GNUC_INTERNAL void Init_gtk_print_context(VALUE mGtk);
203
+ G_GNUC_INTERNAL void Init_gtk_printer(VALUE mGtk);
204
+ G_GNUC_INTERNAL void Init_gtk_print_job(VALUE mGtk);
205
+ G_GNUC_INTERNAL void Init_gtk_print_operation(VALUE mGtk);
206
+ G_GNUC_INTERNAL void Init_gtk_print_operation_preview(VALUE mGtk);
207
+ G_GNUC_INTERNAL void Init_gtk_print_settings(VALUE mGtk);
208
+ G_GNUC_INTERNAL void Init_gtk_print_unix_dialog(VALUE mGtk);
209
+ G_GNUC_INTERNAL void Init_gtk_progress(VALUE mGtk);
210
+ G_GNUC_INTERNAL void Init_gtk_progress_bar(VALUE mGtk);
211
+ G_GNUC_INTERNAL void Init_gtk_radio_action(VALUE mGtk);
212
+ G_GNUC_INTERNAL void Init_gtk_radio_button(VALUE mGtk);
213
+ G_GNUC_INTERNAL void Init_gtk_radio_menu_item(VALUE mGtk);
214
+ G_GNUC_INTERNAL void Init_gtk_radiotoolbutton(VALUE mGtk);
215
+ G_GNUC_INTERNAL void Init_gtk_range(VALUE mGtk);
216
+ G_GNUC_INTERNAL void Init_gtk_rc(VALUE mGtk);
217
+ G_GNUC_INTERNAL void Init_gtk_rcstyle(VALUE mGtk);
218
+ G_GNUC_INTERNAL void Init_gtk_recentaction(VALUE mGtk);
219
+ G_GNUC_INTERNAL void Init_gtk_recent_chooser(VALUE mGtk);
220
+ G_GNUC_INTERNAL void Init_gtk_recent_chooser_dialog(VALUE mGtk);
221
+ G_GNUC_INTERNAL void Init_gtk_recent_chooser_menu(VALUE mGtk);
222
+ G_GNUC_INTERNAL void Init_gtk_recent_chooser_widget(VALUE mGtk);
223
+ G_GNUC_INTERNAL void Init_gtk_recent_data(VALUE mGtk);
224
+ G_GNUC_INTERNAL void Init_gtk_recent_filter(VALUE mGtk);
225
+ G_GNUC_INTERNAL void Init_gtk_recent_filter_info(VALUE mGtk);
226
+ G_GNUC_INTERNAL void Init_gtk_recent_info(VALUE mGtk);
227
+ G_GNUC_INTERNAL void Init_gtk_recent_manager(VALUE mGtk);
228
+ G_GNUC_INTERNAL void Init_gtk_ruler(VALUE mGtk);
229
+ G_GNUC_INTERNAL void Init_gtk_scale(VALUE mGtk);
230
+ G_GNUC_INTERNAL void Init_gtk_scalebutton(VALUE mGtk);
231
+ G_GNUC_INTERNAL void Init_gtk_scrollbar(VALUE mGtk);
232
+ G_GNUC_INTERNAL void Init_gtk_scrolled_window(VALUE mGtk);
233
+ G_GNUC_INTERNAL void Init_gtk_selection(VALUE mGtk);
234
+ G_GNUC_INTERNAL void Init_gtk_selectiondata(VALUE mGtk);
235
+ G_GNUC_INTERNAL void Init_gtk_separator(VALUE mGtk);
236
+ G_GNUC_INTERNAL void Init_gtk_separator_menu_item(VALUE mGtk);
237
+ G_GNUC_INTERNAL void Init_gtk_separatortoolitem(VALUE mGtk);
238
+ G_GNUC_INTERNAL void Init_gtk_settings(VALUE mGtk);
239
+ G_GNUC_INTERNAL void Init_gtk_size_group(VALUE mGtk);
240
+ G_GNUC_INTERNAL void Init_gtk_socket(VALUE mGtk);
241
+ G_GNUC_INTERNAL void Init_gtk_spin_button(VALUE mGtk);
242
+ G_GNUC_INTERNAL void Init_gtk_spinner(VALUE mGtk);
243
+ G_GNUC_INTERNAL void Init_gtk_statusbar(VALUE mGtk);
244
+ G_GNUC_INTERNAL void Init_gtk_status_icon(VALUE mGtk);
245
+ G_GNUC_INTERNAL void Init_gtk_stock(VALUE mGtk);
246
+ G_GNUC_INTERNAL void Init_gtk_style(VALUE mGtk);
247
+ G_GNUC_INTERNAL void Init_gtk_table(VALUE mGtk);
248
+ G_GNUC_INTERNAL void Init_gtk_target_list(VALUE mGtk);
249
+ G_GNUC_INTERNAL void Init_gtk_tearoff_menu_item(VALUE mGtk);
250
+ G_GNUC_INTERNAL void Init_gtk_text_appearance(VALUE mGtk);
251
+ G_GNUC_INTERNAL void Init_gtk_text_attributes(VALUE mGtk);
252
+ G_GNUC_INTERNAL void Init_gtk_textbuffer(VALUE mGtk);
253
+ G_GNUC_INTERNAL void Init_gtk_textchild(VALUE mGtk);
254
+ G_GNUC_INTERNAL void Init_gtk_textiter(VALUE mGtk);
255
+ G_GNUC_INTERNAL void Init_gtk_textmark(VALUE mGtk);
256
+ G_GNUC_INTERNAL void Init_gtk_texttag(VALUE mGtk);
257
+ G_GNUC_INTERNAL void Init_gtk_text_tag_table(VALUE mGtk);
258
+ G_GNUC_INTERNAL void Init_gtk_textview(VALUE mGtk);
259
+ G_GNUC_INTERNAL void Init_gtk_toggle_action(VALUE mGtk);
260
+ G_GNUC_INTERNAL void Init_gtk_toggle_button(VALUE mGtk);
261
+ G_GNUC_INTERNAL void Init_gtk_toggletoolbutton(VALUE mGtk);
262
+ G_GNUC_INTERNAL void Init_gtk_toolbar(VALUE mGtk);
263
+ G_GNUC_INTERNAL void Init_gtk_toolbutton(VALUE mGtk);
264
+ G_GNUC_INTERNAL void Init_gtk_toolitem(VALUE mGtk);
265
+ G_GNUC_INTERNAL void Init_gtk_tooltip(VALUE mGtk);
266
+ G_GNUC_INTERNAL void Init_gtk_tooltips(VALUE mGtk);
267
+ G_GNUC_INTERNAL void Init_gtk_treedragdest(VALUE mGtk);
268
+ G_GNUC_INTERNAL void Init_gtk_treedragsource(VALUE mGtk);
269
+ G_GNUC_INTERNAL void Init_gtk_treeiter(VALUE mGtk);
270
+ G_GNUC_INTERNAL void Init_gtk_treemodel(VALUE mGtk);
271
+ G_GNUC_INTERNAL void Init_gtk_treemodelfilter(VALUE mGtk);
272
+ G_GNUC_INTERNAL void Init_gtk_tmodelsort(VALUE mGtk);
273
+ G_GNUC_INTERNAL void Init_gtk_treepath(VALUE mGtk);
274
+ G_GNUC_INTERNAL void Init_gtk_treerowreference(VALUE mGtk);
275
+ G_GNUC_INTERNAL void Init_gtk_treeselection(VALUE mGtk);
276
+ G_GNUC_INTERNAL void Init_gtk_treesortable(VALUE mGtk);
277
+ G_GNUC_INTERNAL void Init_gtk_tree_store(VALUE mGtk);
278
+ G_GNUC_INTERNAL void Init_gtk_treeview(VALUE mGtk);
279
+ G_GNUC_INTERNAL void Init_gtk_treeviewcolumn(VALUE mGtk);
280
+ G_GNUC_INTERNAL void Init_gtk_uimanager(VALUE mGtk);
281
+ G_GNUC_INTERNAL void Init_gtk_vbutton_box(VALUE mGtk);
282
+ G_GNUC_INTERNAL void Init_gtk_vbox(VALUE mGtk);
283
+ G_GNUC_INTERNAL void Init_gtk_viewport(VALUE mGtk);
284
+ G_GNUC_INTERNAL void Init_gtk_volumebutton(VALUE mGtk);
285
+ G_GNUC_INTERNAL void Init_gtk_vpaned(VALUE mGtk);
286
+ G_GNUC_INTERNAL void Init_gtk_vruler(VALUE mGtk);
287
+ G_GNUC_INTERNAL void Init_gtk_vscale(VALUE mGtk);
288
+ G_GNUC_INTERNAL void Init_gtk_vscrollbar(VALUE mGtk);
289
+ G_GNUC_INTERNAL void Init_gtk_vseparator(VALUE mGtk);
290
+ G_GNUC_INTERNAL void Init_gtk_widget(VALUE mGtk);
291
+ G_GNUC_INTERNAL void Init_gtk_window(VALUE mGtk);
292
+ G_GNUC_INTERNAL void Init_gtk_windowgroup(VALUE mGtk);
293
+
33
294
  #endif /* _RBGTK_GLOBAL_H */