gdk_pixbuf2 3.2.5-x64-mingw32 → 3.2.6-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/COPYING.LIB +502 -0
  3. data/README.md +30 -0
  4. data/Rakefile +5 -5
  5. data/gdk_pixbuf2.gemspec +42 -0
  6. data/lib/gdk_pixbuf2/deprecated.rb +9 -7
  7. data/lib/gdk_pixbuf2/loader.rb +10 -1
  8. data/lib/gdk_pixbuf2/pixbuf.rb +14 -12
  9. data/test/test-pixbuf.rb +2 -2
  10. data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
  11. data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
  12. data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
  13. data/vendor/local/bin/gdk-pixbuf-thumbnailer.exe +0 -0
  14. data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
  15. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +2 -2
  16. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
  17. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
  18. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la +1 -1
  19. data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
  20. data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
  21. data/vendor/local/lib/libgdk_pixbuf-2.0.la +3 -3
  22. data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
  23. data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +24 -20
  24. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +64 -64
  25. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +4 -2
  26. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +2 -2
  27. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +75 -74
  28. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +108 -105
  29. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +133 -133
  30. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +34 -34
  31. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +43 -43
  32. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +55 -55
  33. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +14 -14
  34. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +36 -36
  35. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +82 -82
  36. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +15 -15
  37. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +4 -4
  38. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +6 -6
  39. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +3 -3
  40. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +8 -8
  41. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +2 -2
  42. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +3 -3
  43. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +2 -2
  44. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +2 -2
  45. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +2 -2
  46. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +3 -3
  47. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +2 -2
  48. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +2 -2
  49. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +2 -2
  50. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  51. data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  52. data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  53. data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  54. data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  55. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  56. data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  57. data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  58. data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  59. data/vendor/local/share/locale/fur/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  60. data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  61. data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  62. data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  63. data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  64. data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  65. data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  66. data/vendor/local/share/locale/kk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  67. data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  68. data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  69. data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  70. data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  71. data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  72. data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  73. data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  74. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  75. data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  76. data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  77. data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  78. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  79. data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  80. data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  81. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  82. data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +1 -135
  83. data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +1 -73
  84. metadata +7 -18
data/README.md ADDED
@@ -0,0 +1,30 @@
1
+ Ruby/GdkPixbuf2
2
+ ===============
3
+ Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x.
4
+
5
+ Requirements
6
+ ------------
7
+ Ruby: http://www.ruby-lang.org/
8
+ GTK+: http://www.gtk.org/
9
+ Ruby/GLib2, Ruby/GTK2: http://ruby-gnome2.sourceforge.net/
10
+
11
+ Install
12
+ -------
13
+ 0. install ruby-2.1.x or later, GTK+, Ruby/GLib2 and Ruby/GTK2.
14
+ 1. ruby extconf.rb
15
+ 2. make
16
+ 3. su
17
+ 4. make install
18
+
19
+ Copying
20
+ -------
21
+ Copyright (c) 2002-2016 Ruby-GNOME2 Project Team
22
+
23
+ This program is free software.
24
+ You can distribute/modify this program under the terms of
25
+ the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1.
26
+
27
+ Project Websites
28
+ ----------------
29
+ https://ruby-gnome2.osdn.jp/
30
+ https://github.com/ruby-gnome2/ruby-gnome2
data/Rakefile CHANGED
@@ -19,9 +19,10 @@
19
19
  $LOAD_PATH.unshift("./../glib2/lib")
20
20
  require "gnome2/rake/package-task"
21
21
 
22
- package_task = GNOME2::Rake::PackageTask.new do |package|
23
- package.summary = "Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x."
24
- package.description = "Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x."
22
+ package_name = File.basename(__dir__)
23
+ spec = Gem::Specification.load("#{package_name}.gemspec")
24
+
25
+ GNOME2::Rake::PackageTask.define(spec, __dir__) do |package|
25
26
  package.dependency.gem.runtime = [
26
27
  "gio2",
27
28
  ]
@@ -36,7 +37,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
36
37
  :name => "gdk-pixbuf",
37
38
  :download_site => :gnome,
38
39
  :label => "gdk-pixbuf",
39
- :version => "2.36.11",
40
+ :version => "2.36.12",
40
41
  :compression_method => "xz",
41
42
  :windows => {
42
43
  :configure_args => [
@@ -49,4 +50,3 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
49
50
  }
50
51
  ]
51
52
  end
52
- package_task.define
@@ -0,0 +1,42 @@
1
+ # -*- ruby -*-
2
+ #
3
+ # Copyright (C) 2018 Ruby-GNOME2 Project Team
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
+
19
+ require_relative "../glib2/version"
20
+
21
+ Gem::Specification.new do |s|
22
+ s.name = "gdk_pixbuf2"
23
+ s.summary = "Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x."
24
+ s.description = "Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x."
25
+ s.author = "The Ruby-GNOME2 Project Team"
26
+ s.email = "ruby-gnome2-devel-en@lists.sourceforge.net"
27
+ s.homepage = "https://ruby-gnome2.osdn.jp/"
28
+ s.licenses = ["LGPL-2.1+"]
29
+ s.version = ruby_glib2_version
30
+ s.extensions = ["dependency-check/Rakefile"]
31
+ s.require_paths = ["lib"]
32
+ s.files = [
33
+ "COPYING.LIB",
34
+ "README.md",
35
+ "Rakefile",
36
+ "#{s.name}.gemspec",
37
+ "dependency-check/Rakefile",
38
+ ]
39
+ s.files += Dir.glob("lib/**/*.rb")
40
+ s.files += Dir.glob("sample/**/*")
41
+ s.files += Dir.glob("test/**/*")
42
+ end
@@ -26,21 +26,21 @@ module GdkPixbuf
26
26
  def new(*args, &block)
27
27
  if args[0].is_a?(Pixbuf)
28
28
  message = "#{caller[0]}: #{self}.new(pixbuf, ...) is deprecated. "
29
- message << "Use pixbuf.new_subpixbuf(...) instead."
29
+ message << "Use pixbuf.subpixbuf(...) instead."
30
30
  warn(message)
31
- args[0].new_subpixbuf(*args[1..-1])
31
+ args[0].subpixbuf(*args[1..-1])
32
32
  elsif args.size == 1 and args[0].is_a?(Hash)
33
33
  options = args[0]
34
34
  src_pixbuf = options[:src_pixbuf]
35
35
  if src_pixbuf
36
36
  message = "#{caller[0]}: "
37
37
  message << "#{self}.new(:src_pixbuf => pixbuf, ...) is deprecated. "
38
- message << "Use pixbuf.new_subpixbuf(...) instead."
38
+ message << "Use pixbuf.subpixbuf(...) instead."
39
39
  warn(message)
40
- src_pixbuf.new_subpixbuf(options[:src_x],
41
- options[:src_y],
42
- options[:width],
43
- options[:height])
40
+ src_pixbuf.subpixbuf(options[:src_x],
41
+ options[:src_y],
42
+ options[:width],
43
+ options[:height])
44
44
  else
45
45
  super
46
46
  end
@@ -50,6 +50,8 @@ module GdkPixbuf
50
50
  end
51
51
  end
52
52
 
53
+ define_deprecated_method :new_subpixbuf, :subpixbuf
54
+
53
55
  define_deprecated_method :save_to_buffer, :save
54
56
 
55
57
  define_deprecated_method_by_hash_args :composite,
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2016 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2016-2018 Ruby-GNOME2 Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -41,5 +41,14 @@ module GdkPixbuf
41
41
  end
42
42
  super(name, info)
43
43
  end
44
+
45
+ def rubyish_method_name(function_info, options={})
46
+ name = function_info.name
47
+ if name == "new_subpixbuf"
48
+ "subpixbuf"
49
+ else
50
+ super
51
+ end
52
+ end
44
53
  end
45
54
  end
@@ -92,17 +92,17 @@ module GdkPixbuf
92
92
  has_alpha = options[:has_alpha]
93
93
  has_alpha = false if has_alpha.nil?
94
94
  bits_per_sample = options[:bits_per_sample] || 8
95
- row_stride = options[:row_stride] || 0
96
- data = options[:data] || nil
97
- bytes = options[:bytes] || nil
98
- xpm = options[:xpm] || nil
99
- file = options[:file] || nil
100
- # stream = options[:stream] || nil
101
- resource = options[:resource] || nil
102
- width = options[:width] || nil
103
- height = options[:height] || nil
95
+ row_stride = options[:row_stride]
96
+ data = options[:data]
97
+ bytes = options[:bytes]
98
+ xpm = options[:xpm]
99
+ file = options[:file]
100
+ # stream = options[:stream]
101
+ resource = options[:resource]
102
+ width = options[:width]
103
+ height = options[:height]
104
104
  size = true if width && height
105
- scale = options[:scale] || nil
105
+ scale = options[:scale]
106
106
  preserve_aspect_ratio = options[:preserve_aspect_ratio]
107
107
  preserve_aspect_ratio = true if preserve_aspect_ratio.nil?
108
108
 
@@ -119,11 +119,13 @@ module GdkPixbuf
119
119
  elsif resource && !scale
120
120
  initialize_new_from_resource(resource)
121
121
  elsif data && size
122
+ row_stride ||= data.bytesize / height
122
123
  initialize_new_from_data(data, colorspace, has_alpha, bits_per_sample,
123
124
  width, height, row_stride)
124
125
  elsif bytes && size
125
- initialize_new_from_bytes(bytes, colorspace, has_alpha, bits_per_sample,
126
- width, height, row_stride)
126
+ row_stride ||= bytes.size / height
127
+ initialize_new_from_bytes(bytes, colorspace, has_alpha, bits_per_sample,
128
+ width, height, row_stride)
127
129
 
128
130
  elsif xpm
129
131
  initialize_new_from_xpm_data(xpm)
data/test/test-pixbuf.rb CHANGED
@@ -249,10 +249,10 @@ class TestPixbuf < Test::Unit::TestCase
249
249
  end
250
250
  end
251
251
 
252
- def test_new_subpixbuf
252
+ def test_subpixbuf
253
253
  filename = fixture_path("gnome-logo-icon.png")
254
254
  src_pixbuf = GdkPixbuf::Pixbuf.new(:file => filename)
255
- pixbuf = src_pixbuf.new_subpixbuf(0, 0, 32, 32)
255
+ pixbuf = src_pixbuf.subpixbuf(0, 0, 32, 32)
256
256
  assert_equal(GdkPixbuf::Colorspace::RGB, pixbuf.colorspace)
257
257
  assert_equal(32, pixbuf.width)
258
258
  assert_equal(32, pixbuf.height)
@@ -45,8 +45,8 @@ Library version numbers.
45
45
 
46
46
  #define GDK_PIXBUF_MAJOR (2)
47
47
  #define GDK_PIXBUF_MINOR (36)
48
- #define GDK_PIXBUF_MICRO (11)
49
- #define GDK_PIXBUF_VERSION "2.36.11"
48
+ #define GDK_PIXBUF_MICRO (12)
49
+ #define GDK_PIXBUF_VERSION "2.36.12"
50
50
 
51
51
  #ifndef _GDK_PIXBUF_EXTERN
52
52
  #define _GDK_PIXBUF_EXTERN extern
@@ -17,7 +17,7 @@ old_library='libpixbufloader-svg.a'
17
17
  inherited_linker_flags=' -pthread'
18
18
 
19
19
  # Libraries that this one depends upon.
20
- dependency_libs=' -R/home/vagrant/ruby-gnome2/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2/glib2/vendor/local/lib -L/home/vagrant/rcairo/vendor/local/lib -L/home/vagrant/ruby-gnome2/rsvg2/vendor/local/lib /home/vagrant/ruby-gnome2/rsvg2/vendor/local/lib/librsvg-2.la -L/home/vagrant/ruby-gnome2/pango/vendor/local/lib -L/home/vagrant/ruby-gnome2/gdk_pixbuf2/vendor/local/lib /home/vagrant/ruby-gnome2/gdk_pixbuf2/vendor/local/lib/libgdk_pixbuf-2.0.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgio-2.0.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi -liphlpapi /home/vagrant/ruby-gnome2/pango/vendor/local/lib/libpangocairo-1.0.la /home/vagrant/ruby-gnome2/pango/vendor/local/lib/libpangowin32-1.0.la -lusp10 /home/vagrant/rcairo/vendor/local/lib/libcairo.la -lpthread /home/vagrant/rcairo/vendor/local/lib/libpixman-1.la -lgdi32 -lmsimg32 /home/vagrant/ruby-gnome2/pango/vendor/local/lib/libpangoft2-1.0.la /home/vagrant/ruby-gnome2/pango/vendor/local/lib/libharfbuzz.la /home/vagrant/ruby-gnome2/pango/vendor/local/lib/libpango-1.0.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgthread-2.0.la /home/vagrant/ruby-gnome2/pango/vendor/local/lib/libfribidi.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libffi.la /home/vagrant/rcairo/vendor/local/lib/libfontconfig.la /home/vagrant/rcairo/vendor/local/lib/libfreetype.la /home/vagrant/rcairo/vendor/local/lib/libpng16.la /home/vagrant/ruby-gnome2/rsvg2/vendor/local/lib/libcroco-0.6.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libglib-2.0.la -lole32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libpcre.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libintl.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libiconv.la /home/vagrant/rcairo/vendor/local/lib/libxml2.la -lz -lws2_32'
20
+ dependency_libs=' -R/home/vagrant/ruby-gnome2/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2/glib2/vendor/local/lib -L/home/vagrant/rcairo/vendor/local/lib -L/home/vagrant/ruby-gnome2/rsvg2/vendor/local/lib /home/vagrant/ruby-gnome2/rsvg2/vendor/local/lib/librsvg-2.la -L/home/vagrant/ruby-gnome2/pango/vendor/local/lib -L/home/vagrant/ruby-gnome2/gdk_pixbuf2/vendor/local/lib -L/home/vagrant/ruby-gnome2/rcairo/vendor/local/lib /home/vagrant/ruby-gnome2/gdk_pixbuf2/vendor/local/lib/libgdk_pixbuf-2.0.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgio-2.0.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi -liphlpapi /home/vagrant/ruby-gnome2/pango/vendor/local/lib/libpangocairo-1.0.la /home/vagrant/ruby-gnome2/pango/vendor/local/lib/libpangowin32-1.0.la -lusp10 /home/vagrant/rcairo/vendor/local/lib/libcairo.la -lpthread /home/vagrant/rcairo/vendor/local/lib/libpixman-1.la -lgdi32 -lmsimg32 /home/vagrant/ruby-gnome2/pango/vendor/local/lib/libpangoft2-1.0.la /home/vagrant/ruby-gnome2/pango/vendor/local/lib/libharfbuzz.la /home/vagrant/ruby-gnome2/pango/vendor/local/lib/libpango-1.0.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgthread-2.0.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libffi.la /home/vagrant/ruby-gnome2/pango/vendor/local/lib/libfribidi.la /home/vagrant/rcairo/vendor/local/lib/libfontconfig.la /home/vagrant/rcairo/vendor/local/lib/libfreetype.la /home/vagrant/rcairo/vendor/local/lib/libpng16.la /home/vagrant/ruby-gnome2/rsvg2/vendor/local/lib/libcroco-0.6.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libglib-2.0.la -lole32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libpcre.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libintl.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libiconv.la /home/vagrant/rcairo/vendor/local/lib/libxml2.la -lz -lws2_32'
21
21
 
22
22
  # Names of additional weak libraries provided by this library
23
23
  weak_library_names=''
@@ -17,14 +17,14 @@ old_library=''
17
17
  inherited_linker_flags=' -pthread'
18
18
 
19
19
  # Libraries that this one depends upon.
20
- dependency_libs=' -R/home/vagrant/ruby-gnome2/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2/glib2/vendor/local/lib -L/home/vagrant/rcairo/vendor/local/lib -L/home/vagrant/ruby-gnome2/gdk_pixbuf2/vendor/local/lib /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgio-2.0.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi -liphlpapi /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libffi.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libpcre.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libintl.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libiconv.la /home/vagrant/rcairo/vendor/local/lib/libpng16.la -lz -lole32'
20
+ dependency_libs=' -R/home/vagrant/ruby-gnome2/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2/glib2/vendor/local/lib -L/home/vagrant/rcairo/vendor/local/lib -L/home/vagrant/ruby-gnome2/gdk_pixbuf2/vendor/local/lib -L/home/vagrant/ruby-gnome2/rcairo/vendor/local/lib /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgio-2.0.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi -liphlpapi /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libffi.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libglib-2.0.la -lws2_32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libpcre.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libintl.la /home/vagrant/ruby-gnome2/glib2/vendor/local/lib/libiconv.la /home/vagrant/rcairo/vendor/local/lib/libpng16.la -lz -lole32'
21
21
 
22
22
  # Names of additional weak libraries provided by this library
23
23
  weak_library_names=''
24
24
 
25
25
  # Version information for libgdk_pixbuf-2.0.
26
- current=3611
27
- age=3611
26
+ current=3612
27
+ age=3612
28
28
  revision=0
29
29
 
30
30
  # Is this an already installed library?
@@ -10,7 +10,7 @@ gdk_pixbuf_cache_file=${gdk_pixbuf_binarydir}/loaders.cache
10
10
 
11
11
  Name: GdkPixbuf
12
12
  Description: Image loading and scaling
13
- Version: 2.36.11
13
+ Version: 2.36.12
14
14
  Requires: gobject-2.0
15
15
  Requires.private: gmodule-no-export-2.0 libpng16
16
16
  Libs: -L${libdir} -lgdk_pixbuf-2.0
@@ -97,7 +97,7 @@ the gdk-pixbuf library. Currently only RGB is supported.</doc>
97
97
  "0.8.2" for example.</doc>
98
98
  <type name="gint" c:type="gint"/>
99
99
  </constant>
100
- <constant name="PIXBUF_MICRO" value="11" c:type="GDK_PIXBUF_MICRO">
100
+ <constant name="PIXBUF_MICRO" value="12" c:type="GDK_PIXBUF_MICRO">
101
101
  <doc xml:space="preserve">Micro version of gdk-pixbuf library, that is the "2" in
102
102
  "0.8.2" for example.</doc>
103
103
  <type name="gint" c:type="gint"/>
@@ -108,7 +108,7 @@ the gdk-pixbuf library. Currently only RGB is supported.</doc>
108
108
  <type name="gint" c:type="gint"/>
109
109
  </constant>
110
110
  <constant name="PIXBUF_VERSION"
111
- value="2.36.11"
111
+ value="2.36.12"
112
112
  c:type="GDK_PIXBUF_VERSION">
113
113
  <doc xml:space="preserve">Contains the full version of the gdk-pixbuf header as a string.
114
114
  This is the version being compiled against; contrast with
@@ -288,8 +288,9 @@ allocate the image buffer, or the image file contained invalid data.</doc>
288
288
  </return-value>
289
289
  <parameters>
290
290
  <parameter name="filename" transfer-ownership="none">
291
- <doc xml:space="preserve">Name of file to load, in the GLib file name encoding</doc>
292
- <type name="utf8" c:type="const char*"/>
291
+ <doc xml:space="preserve">Name of file to load, in the GLib file
292
+ name encoding</doc>
293
+ <type name="filename" c:type="const char*"/>
293
294
  </parameter>
294
295
  </parameters>
295
296
  </constructor>
@@ -318,8 +319,9 @@ allocate the image buffer, or the image file contained invalid data.</doc>
318
319
  </return-value>
319
320
  <parameters>
320
321
  <parameter name="filename" transfer-ownership="none">
321
- <doc xml:space="preserve">Name of file to load, in the GLib file name encoding</doc>
322
- <type name="utf8" c:type="const char*"/>
322
+ <doc xml:space="preserve">Name of file to load, in the GLib file
323
+ name encoding</doc>
324
+ <type name="filename" c:type="const char*"/>
323
325
  </parameter>
324
326
  <parameter name="width" transfer-ownership="none">
325
327
  <doc xml:space="preserve">The width the image should have or -1 to not constrain the width</doc>
@@ -350,7 +352,7 @@ allocate the image buffer, or the image file contained invalid data.</doc>
350
352
  <parameters>
351
353
  <parameter name="filename" transfer-ownership="none">
352
354
  <doc xml:space="preserve">Name of file to load, in the GLib file name encoding</doc>
353
- <type name="utf8" c:type="const char*"/>
355
+ <type name="filename" c:type="const char*"/>
354
356
  </parameter>
355
357
  <parameter name="width" transfer-ownership="none">
356
358
  <doc xml:space="preserve">The width the image should have or -1 to not constrain the width</doc>
@@ -390,8 +392,9 @@ invalid data.</doc>
390
392
  </return-value>
391
393
  <parameters>
392
394
  <parameter name="filename" transfer-ownership="none">
393
- <doc xml:space="preserve">Name of file to load, in the GLib file name encoding</doc>
394
- <type name="utf8" c:type="const char*"/>
395
+ <doc xml:space="preserve">Name of file to load, in the GLib file
396
+ name encoding</doc>
397
+ <type name="filename" c:type="const char*"/>
395
398
  </parameter>
396
399
  <parameter name="width" transfer-ownership="none">
397
400
  <doc xml:space="preserve">The width the image should have or -1 to not constrain the width</doc>
@@ -419,7 +422,7 @@ invalid data.</doc>
419
422
  <parameters>
420
423
  <parameter name="filename" transfer-ownership="none">
421
424
  <doc xml:space="preserve">Name of file to load, in the GLib file name encoding</doc>
422
- <type name="utf8" c:type="const char*"/>
425
+ <type name="filename" c:type="const char*"/>
423
426
  </parameter>
424
427
  <parameter name="width" transfer-ownership="none">
425
428
  <doc xml:space="preserve">The width the image should have or -1 to not constrain the width</doc>
@@ -445,7 +448,7 @@ allocate the image buffer, or the image file contained invalid data.</doc>
445
448
  <parameters>
446
449
  <parameter name="filename" transfer-ownership="none">
447
450
  <doc xml:space="preserve">Name of file to load, in the GLib file name encoding</doc>
448
- <type name="utf8" c:type="const char*"/>
451
+ <type name="filename" c:type="const char*"/>
449
452
  </parameter>
450
453
  </parameters>
451
454
  </constructor>
@@ -774,7 +777,7 @@ newly-allocated memory; otherwise it is reused.</doc>
774
777
  <parameters>
775
778
  <parameter name="filename" transfer-ownership="none">
776
779
  <doc xml:space="preserve">The name of the file to identify.</doc>
777
- <type name="utf8" c:type="const gchar*"/>
780
+ <type name="filename" c:type="const gchar*"/>
778
781
  </parameter>
779
782
  <parameter name="width"
780
783
  direction="out"
@@ -816,7 +819,7 @@ get the result of the operation.</doc>
816
819
  <parameters>
817
820
  <parameter name="filename" transfer-ownership="none">
818
821
  <doc xml:space="preserve">The name of the file to identify</doc>
819
- <type name="utf8" c:type="const gchar*"/>
822
+ <type name="filename" c:type="const gchar*"/>
820
823
  </parameter>
821
824
  <parameter name="cancellable"
822
825
  transfer-ownership="none"
@@ -1529,7 +1532,7 @@ See gdk_pixbuf_get_option() for more details.</doc>
1529
1532
  <doc xml:space="preserve">Queries a pointer to the pixel data of a pixbuf.</doc>
1530
1533
  <return-value transfer-ownership="none">
1531
1534
  <doc xml:space="preserve">A pointer to the pixbuf's pixel data.
1532
- Please see the section on [image data](image-data) for information
1535
+ Please see the section on [image data][image-data] for information
1533
1536
  about how the pixel data is stored in memory.
1534
1537
 
1535
1538
  This function will cause an implicit copy of the pixbuf data if the
@@ -1552,7 +1555,7 @@ pixbuf was created from read-only data.</doc>
1552
1555
  <doc xml:space="preserve">Queries a pointer to the pixel data of a pixbuf.</doc>
1553
1556
  <return-value transfer-ownership="none">
1554
1557
  <doc xml:space="preserve">A pointer to the pixbuf's
1555
- pixel data. Please see the section on [image data](image-data)
1558
+ pixel data. Please see the section on [image data][image-data]
1556
1559
  for information about how the pixel data is stored in memory.
1557
1560
 
1558
1561
  This function will cause an implicit copy of the pixbuf data if the
@@ -2231,7 +2234,7 @@ See gdk_pixbuf_save () for more details.</doc>
2231
2234
  </instance-parameter>
2232
2235
  <parameter name="filename" transfer-ownership="none">
2233
2236
  <doc xml:space="preserve">name of file to save.</doc>
2234
- <type name="utf8" c:type="const char*"/>
2237
+ <type name="filename" c:type="const char*"/>
2235
2238
  </parameter>
2236
2239
  <parameter name="type" transfer-ownership="none">
2237
2240
  <doc xml:space="preserve">name of file format.</doc>
@@ -2366,7 +2369,7 @@ copy of @src is returned, avoiding any scaling.
2366
2369
 
2367
2370
  For more complicated scaling/alpha blending see gdk_pixbuf_scale()
2368
2371
  and gdk_pixbuf_composite().</doc>
2369
- <return-value transfer-ownership="full">
2372
+ <return-value transfer-ownership="full" nullable="1">
2370
2373
  <doc xml:space="preserve">the new #GdkPixbuf, or %NULL if not enough memory could be
2371
2374
  allocated for it.</doc>
2372
2375
  <type name="Pixbuf" c:type="GdkPixbuf*"/>
@@ -2546,8 +2549,9 @@ allocate the image buffer, or the image file contained invalid data.</doc>
2546
2549
  </return-value>
2547
2550
  <parameters>
2548
2551
  <parameter name="filename" transfer-ownership="none">
2549
- <doc xml:space="preserve">Name of file to load, in the GLib file name encoding</doc>
2550
- <type name="utf8" c:type="const char*"/>
2552
+ <doc xml:space="preserve">Name of file to load, in the GLib file
2553
+ name encoding</doc>
2554
+ <type name="filename" c:type="const char*"/>
2551
2555
  </parameter>
2552
2556
  </parameters>
2553
2557
  </constructor>
@@ -2565,7 +2569,7 @@ allocate the image buffer, or the image file contained invalid data.</doc>
2565
2569
  <parameters>
2566
2570
  <parameter name="filename" transfer-ownership="none">
2567
2571
  <doc xml:space="preserve">Name of file to load, in the GLib file name encoding</doc>
2568
- <type name="utf8" c:type="const char*"/>
2572
+ <type name="filename" c:type="const char*"/>
2569
2573
  </parameter>
2570
2574
  </parameters>
2571
2575
  </constructor>
@@ -8,7 +8,7 @@
8
8
  <link rel="up" href="rn01.html" title="API Reference">
9
9
  <link rel="prev" href="gdk-pixbuf-Animations.html" title="Animations">
10
10
  <link rel="next" href="gdk-pixbuf-Module-Interface.html" title="Module Interface">
11
- <meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.27 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -75,7 +75,7 @@
75
75
  </tr>
76
76
  <tr>
77
77
  <td class="function_type">
78
- <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
78
+ <span class="returnvalue">gboolean</span>
79
79
  </td>
80
80
  <td class="function_name">
81
81
  <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()">gdk_pixbuf_loader_write</a> <span class="c_punctuation">()</span>
@@ -83,7 +83,7 @@
83
83
  </tr>
84
84
  <tr>
85
85
  <td class="function_type">
86
- <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
86
+ <span class="returnvalue">gboolean</span>
87
87
  </td>
88
88
  <td class="function_name">
89
89
  <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write-bytes" title="gdk_pixbuf_loader_write_bytes ()">gdk_pixbuf_loader_write_bytes</a> <span class="c_punctuation">()</span>
@@ -115,7 +115,7 @@
115
115
  </tr>
116
116
  <tr>
117
117
  <td class="function_type">
118
- <a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
118
+ <span class="returnvalue">gboolean</span>
119
119
  </td>
120
120
  <td class="function_name">
121
121
  <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-close" title="gdk_pixbuf_loader_close ()">gdk_pixbuf_loader_close</a> <span class="c_punctuation">()</span>
@@ -136,22 +136,22 @@
136
136
  <tr>
137
137
  <td class="signal_type"><span class="returnvalue">void</span></td>
138
138
  <td class="signal_name"><a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-prepared" title="The “area-prepared” signal">area-prepared</a></td>
139
- <td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
139
+ <td class="signal_flags">Run Last</td>
140
140
  </tr>
141
141
  <tr>
142
142
  <td class="signal_type"><span class="returnvalue">void</span></td>
143
143
  <td class="signal_name"><a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-area-updated" title="The “area-updated” signal">area-updated</a></td>
144
- <td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
144
+ <td class="signal_flags">Run Last</td>
145
145
  </tr>
146
146
  <tr>
147
147
  <td class="signal_type"><span class="returnvalue">void</span></td>
148
148
  <td class="signal_name"><a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-closed" title="The “closed” signal">closed</a></td>
149
- <td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
149
+ <td class="signal_flags">Run Last</td>
150
150
  </tr>
151
151
  <tr>
152
152
  <td class="signal_type"><span class="returnvalue">void</span></td>
153
153
  <td class="signal_name"><a class="link" href="GdkPixbufLoader.html#GdkPixbufLoader-size-prepared" title="The “size-prepared” signal">size-prepared</a></td>
154
- <td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
154
+ <td class="signal_flags">Run Last</td>
155
155
  </tr>
156
156
  </tbody>
157
157
  </table></div>
@@ -171,13 +171,13 @@
171
171
  </div>
172
172
  <div class="refsect1">
173
173
  <a name="GdkPixbufLoader.object-hierarchy"></a><h2>Object Hierarchy</h2>
174
- <pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
174
+ <pre class="screen"> GObject
175
175
  <span class="lineart">╰──</span> GdkPixbufLoader
176
176
  </pre>
177
177
  </div>
178
178
  <div class="refsect1">
179
179
  <a name="GdkPixbufLoader.includes"></a><h2>Includes</h2>
180
- <pre class="synopsis">#include &lt;gdk-pixbuf/gdk-pixbuf.h&gt;
180
+ <pre class="synopsis">#include &lt;gdk-pixbuf/gdk-pixdata.h&gt;
181
181
  </pre>
182
182
  </div>
183
183
  <div class="refsect1">
@@ -236,7 +236,7 @@ gdk_pixbuf_loader_new (<em class="parameter"><code><span class="type">void</span
236
236
  <a name="gdk-pixbuf-loader-new-with-type"></a><h3>gdk_pixbuf_loader_new_with_type ()</h3>
237
237
  <pre class="programlisting"><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> *
238
238
  gdk_pixbuf_loader_new_with_type (<em class="parameter"><code>const <span class="type">char</span> *image_type</code></em>,
239
- <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
239
+ <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
240
240
  <p>Creates a new pixbuf loader object that always attempts to parse
241
241
  image data as if it were an image of type <em class="parameter"><code>image_type</code></em>
242
242
  , instead of
@@ -265,7 +265,7 @@ of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" t
265
265
  </tr>
266
266
  <tr>
267
267
  <td class="parameter_name"><p>error</p></td>
268
- <td class="parameter_description"><p> return location for an allocated <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors. </p></td>
268
+ <td class="parameter_description"><p>return location for an allocated <span class="type">GError</span>, or <code class="literal">NULL</code> to ignore errors. </p></td>
269
269
  <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
270
270
  </tr>
271
271
  </tbody>
@@ -281,7 +281,7 @@ of the <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" t
281
281
  <a name="gdk-pixbuf-loader-new-with-mime-type"></a><h3>gdk_pixbuf_loader_new_with_mime_type ()</h3>
282
282
  <pre class="programlisting"><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="returnvalue">GdkPixbufLoader</span></a> *
283
283
  gdk_pixbuf_loader_new_with_mime_type (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
284
- <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
284
+ <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
285
285
  <p>Creates a new pixbuf loader object that always attempts to parse
286
286
  image data as if it were an image of mime type <em class="parameter"><code>mime_type</code></em>
287
287
  , instead of
@@ -311,7 +311,7 @@ structs returned by <a class="link" href="gdk-pixbuf-Module-Interface.html#gdk-p
311
311
  </tr>
312
312
  <tr>
313
313
  <td class="parameter_name"><p>error</p></td>
314
- <td class="parameter_description"><p> return location for an allocated <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors. </p></td>
314
+ <td class="parameter_description"><p>return location for an allocated <span class="type">GError</span>, or <code class="literal">NULL</code> to ignore errors. </p></td>
315
315
  <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
316
316
  </tr>
317
317
  </tbody>
@@ -347,8 +347,8 @@ currently loading image file.</p>
347
347
  </div>
348
348
  <div class="refsect3">
349
349
  <a name="gdk-pixbuf-loader-get-format.returns"></a><h4>Returns</h4>
350
- <p> A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> or
351
- <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The return value is owned by GdkPixbuf and should not be
350
+ <p>A <a class="link" href="gdk-pixbuf-Module-Interface.html#GdkPixbufFormat" title="struct GdkPixbufFormat"><span class="type">GdkPixbufFormat</span></a> or
351
+ <code class="literal">NULL</code>. The return value is owned by GdkPixbuf and should not be
352
352
  freed. </p>
353
353
  <p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
354
354
  </div>
@@ -357,19 +357,19 @@ freed. </p>
357
357
  <hr>
358
358
  <div class="refsect2">
359
359
  <a name="gdk-pixbuf-loader-write"></a><h3>gdk_pixbuf_loader_write ()</h3>
360
- <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
360
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
361
361
  gdk_pixbuf_loader_write (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
362
- <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buf</code></em>,
363
- <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> count</code></em>,
364
- <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
362
+ <em class="parameter"><code>const <span class="type">guchar</span> *buf</code></em>,
363
+ <em class="parameter"><code><span class="type">gsize</span> count</code></em>,
364
+ <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
365
365
  <p>This will cause a pixbuf loader to parse the next <em class="parameter"><code>count</code></em>
366
366
  bytes of
367
- an image. It will return <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the data was loaded successfully,
368
- and <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if an error occurred. In the latter case, the loader
369
- will be closed, and will not accept further writes. If <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is
367
+ an image. It will return <code class="literal">TRUE</code> if the data was loaded successfully,
368
+ and <code class="literal">FALSE</code> if an error occurred. In the latter case, the loader
369
+ will be closed, and will not accept further writes. If <code class="literal">FALSE</code> is
370
370
  returned, <em class="parameter"><code>error</code></em>
371
371
  will be set to an error from the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a>
372
- or <a href="../glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domains.</p>
372
+ or <span class="type">G_FILE_ERROR</span> domains.</p>
373
373
  <div class="refsect3">
374
374
  <a name="gdk-pixbuf-loader-write.parameters"></a><h4>Parameters</h4>
375
375
  <div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -386,7 +386,7 @@ or <a href="../glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="typ
386
386
  </tr>
387
387
  <tr>
388
388
  <td class="parameter_name"><p>buf</p></td>
389
- <td class="parameter_description"><p> Pointer to image data. </p></td>
389
+ <td class="parameter_description"><p>Pointer to image data. </p></td>
390
390
  <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count]</span></td>
391
391
  </tr>
392
392
  <tr>
@@ -405,24 +405,24 @@ buffer in bytes.</p></td>
405
405
  </div>
406
406
  <div class="refsect3">
407
407
  <a name="gdk-pixbuf-loader-write.returns"></a><h4>Returns</h4>
408
- <p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the write was successful, or <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the loader
408
+ <p> <code class="literal">TRUE</code> if the write was successful, or <code class="literal">FALSE</code> if the loader
409
409
  cannot parse the buffer.</p>
410
410
  </div>
411
411
  </div>
412
412
  <hr>
413
413
  <div class="refsect2">
414
414
  <a name="gdk-pixbuf-loader-write-bytes"></a><h3>gdk_pixbuf_loader_write_bytes ()</h3>
415
- <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
415
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
416
416
  gdk_pixbuf_loader_write_bytes (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
417
- <em class="parameter"><code><a href="../glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a> *buffer</code></em>,
418
- <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
419
- <p>This will cause a pixbuf loader to parse a buffer inside a <a href="../glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a>
420
- for an image. It will return <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the data was loaded successfully,
421
- and <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if an error occurred. In the latter case, the loader
422
- will be closed, and will not accept further writes. If <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is
417
+ <em class="parameter"><code><span class="type">GBytes</span> *buffer</code></em>,
418
+ <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
419
+ <p>This will cause a pixbuf loader to parse a buffer inside a <span class="type">GBytes</span>
420
+ for an image. It will return <code class="literal">TRUE</code> if the data was loaded successfully,
421
+ and <code class="literal">FALSE</code> if an error occurred. In the latter case, the loader
422
+ will be closed, and will not accept further writes. If <code class="literal">FALSE</code> is
423
423
  returned, <em class="parameter"><code>error</code></em>
424
424
  will be set to an error from the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a>
425
- or <a href="../glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a> domains.</p>
425
+ or <span class="type">G_FILE_ERROR</span> domains.</p>
426
426
  <p>See also: <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a></p>
427
427
  <div class="refsect3">
428
428
  <a name="gdk-pixbuf-loader-write-bytes.parameters"></a><h4>Parameters</h4>
@@ -440,7 +440,7 @@ or <a href="../glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="typ
440
440
  </tr>
441
441
  <tr>
442
442
  <td class="parameter_name"><p>buffer</p></td>
443
- <td class="parameter_description"><p>The image data as a <a href="../glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a></p></td>
443
+ <td class="parameter_description"><p>The image data as a <span class="type">GBytes</span></p></td>
444
444
  <td class="parameter_annotations"> </td>
445
445
  </tr>
446
446
  <tr>
@@ -453,7 +453,7 @@ or <a href="../glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="typ
453
453
  </div>
454
454
  <div class="refsect3">
455
455
  <a name="gdk-pixbuf-loader-write-bytes.returns"></a><h4>Returns</h4>
456
- <p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the write was successful, or <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the loader
456
+ <p> <code class="literal">TRUE</code> if the write was successful, or <code class="literal">FALSE</code> if the loader
457
457
  cannot parse the buffer.</p>
458
458
  </div>
459
459
  <p class="since">Since: <a class="link" href="api-index-2-30.html#api-index-2.30">2.30</a></p>
@@ -510,9 +510,9 @@ In general it only makes sense to call this function after the
510
510
  "area-prepared" signal has been emitted by the loader; this means
511
511
  that enough data has been read to know the size of the image that
512
512
  will be allocated. If the loader has not received enough data via
513
- <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a>, then this function returns <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The
513
+ <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a>, then this function returns <code class="literal">NULL</code>. The
514
514
  returned pixbuf will be the same in all future calls to the loader,
515
- so simply calling <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> should be sufficient to continue
515
+ so simply calling <code class="function">g_object_ref()</code> should be sufficient to continue
516
516
  using it. Additionally, if the loader is an animation, it will
517
517
  return the "static image" of the animation
518
518
  (see <a class="link" href="gdk-pixbuf-Animations.html#gdk-pixbuf-animation-get-static-image" title="gdk_pixbuf_animation_get_static_image ()"><code class="function">gdk_pixbuf_animation_get_static_image()</code></a>).</p>
@@ -533,7 +533,7 @@ return the "static image" of the animation
533
533
  </div>
534
534
  <div class="refsect3">
535
535
  <a name="gdk-pixbuf-loader-get-pixbuf.returns"></a><h4>Returns</h4>
536
- <p> The <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that the loader is creating, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not
536
+ <p>The <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> that the loader is creating, or <code class="literal">NULL</code> if not
537
537
  enough data has been read to determine how to create the image buffer. </p>
538
538
  <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
539
539
  </div>
@@ -547,7 +547,7 @@ gdk_pixbuf_loader_get_animation (<em class="parameter"><code><a class="link" hre
547
547
  In general it only makes sense to call this function after the "area-prepared"
548
548
  signal has been emitted by the loader. If the loader doesn't have enough
549
549
  bytes yet (hasn't emitted the "area-prepared" signal) this function will
550
- return <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
550
+ return <code class="literal">NULL</code>.</p>
551
551
  <div class="refsect3">
552
552
  <a name="gdk-pixbuf-loader-get-animation.parameters"></a><h4>Parameters</h4>
553
553
  <div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -565,7 +565,7 @@ return <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="litera
565
565
  </div>
566
566
  <div class="refsect3">
567
567
  <a name="gdk-pixbuf-loader-get-animation.returns"></a><h4>Returns</h4>
568
- <p> The <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> that the loader is loading, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
568
+ <p>The <a class="link" href="gdk-pixbuf-Animations.html#GdkPixbufAnimation"><span class="type">GdkPixbufAnimation</span></a> that the loader is loading, or <code class="literal">NULL</code> if
569
569
  not enough data has been read to determine the information. </p>
570
570
  <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
571
571
  </div>
@@ -573,22 +573,22 @@ not enough data has been read to determine the information. </p>
573
573
  <hr>
574
574
  <div class="refsect2">
575
575
  <a name="gdk-pixbuf-loader-close"></a><h3>gdk_pixbuf_loader_close ()</h3>
576
- <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
576
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
577
577
  gdk_pixbuf_loader_close (<em class="parameter"><code><a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader</code></em>,
578
- <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
578
+ <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
579
579
  <p>Informs a pixbuf loader that no further writes with
580
580
  <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-write" title="gdk_pixbuf_loader_write ()"><code class="function">gdk_pixbuf_loader_write()</code></a> will occur, so that it can free its
581
581
  internal loading structures. Also, tries to parse any data that
582
582
  hasn't yet been parsed; if the remaining data is partial or
583
- corrupt, an error will be returned. If <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned, <em class="parameter"><code>error</code></em>
583
+ corrupt, an error will be returned. If <code class="literal">FALSE</code> is returned, <em class="parameter"><code>error</code></em>
584
584
 
585
- will be set to an error from the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> or <a href="../glib/glib-File-Utilities.html#G-FILE-ERROR:CAPS"><span class="type">G_FILE_ERROR</span></a>
585
+ will be set to an error from the <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR:CAPS" title="GDK_PIXBUF_ERROR"><span class="type">GDK_PIXBUF_ERROR</span></a> or <span class="type">G_FILE_ERROR</span>
586
586
  domains. If you're just cancelling a load rather than expecting it
587
- to be finished, passing <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for <em class="parameter"><code>error</code></em>
587
+ to be finished, passing <code class="literal">NULL</code> for <em class="parameter"><code>error</code></em>
588
588
  to ignore it is
589
589
  reasonable.</p>
590
590
  <p>Remember that this does not unref the loader, so if you plan not to
591
- use it anymore, please <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> it.</p>
591
+ use it anymore, please <code class="function">g_object_unref()</code> it.</p>
592
592
  <div class="refsect3">
593
593
  <a name="gdk-pixbuf-loader-close.parameters"></a><h4>Parameters</h4>
594
594
  <div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -605,7 +605,7 @@ use it anymore, please <a href="../gobject/gobject-The-Base-Object-Type.html#g-o
605
605
  </tr>
606
606
  <tr>
607
607
  <td class="parameter_name"><p>error</p></td>
608
- <td class="parameter_description"><p> return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors. </p></td>
608
+ <td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code> to ignore errors. </p></td>
609
609
  <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
610
610
  </tr>
611
611
  </tbody>
@@ -613,7 +613,7 @@ use it anymore, please <a href="../gobject/gobject-The-Base-Object-Type.html#g-o
613
613
  </div>
614
614
  <div class="refsect3">
615
615
  <a name="gdk-pixbuf-loader-close.returns"></a><h4>Returns</h4>
616
- <p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if all image data written so far was successfully
616
+ <p> <code class="literal">TRUE</code> if all image data written so far was successfully
617
617
  passed out via the update_area signal</p>
618
618
  </div>
619
619
  </div>
@@ -633,7 +633,7 @@ fields.</p>
633
633
  <a name="GdkPixbufLoader-area-prepared"></a><h3>The <code class="literal">“area-prepared”</code> signal</h3>
634
634
  <pre class="programlisting"><span class="returnvalue">void</span>
635
635
  user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
636
- <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
636
+ <span class="type">gpointer</span> user_data)</pre>
637
637
  <p>This signal is emitted when the pixbuf loader has allocated the
638
638
 
639
639
  pixbuf in the desired size. After this signal is emitted,
@@ -663,18 +663,18 @@ the partially-loaded pixbuf.</p>
663
663
  </tbody>
664
664
  </table></div>
665
665
  </div>
666
- <p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
666
+ <p>Flags: Run Last</p>
667
667
  </div>
668
668
  <hr>
669
669
  <div class="refsect2">
670
670
  <a name="GdkPixbufLoader-area-updated"></a><h3>The <code class="literal">“area-updated”</code> signal</h3>
671
671
  <pre class="programlisting"><span class="returnvalue">void</span>
672
672
  user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
673
- <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x,
674
- <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y,
675
- <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width,
676
- <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height,
677
- <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
673
+ <span class="type">gint</span> x,
674
+ <span class="type">gint</span> y,
675
+ <span class="type">gint</span> width,
676
+ <span class="type">gint</span> height,
677
+ <span class="type">gpointer</span> user_data)</pre>
678
678
  <p>This signal is emitted when a significant area of the image being
679
679
  loaded has been updated. Normally it means that a complete
680
680
  scanline has been read in, but it could be a different area as
@@ -722,14 +722,14 @@ areas of an image that is being loaded.</p>
722
722
  </tbody>
723
723
  </table></div>
724
724
  </div>
725
- <p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
725
+ <p>Flags: Run Last</p>
726
726
  </div>
727
727
  <hr>
728
728
  <div class="refsect2">
729
729
  <a name="GdkPixbufLoader-closed"></a><h3>The <code class="literal">“closed”</code> signal</h3>
730
730
  <pre class="programlisting"><span class="returnvalue">void</span>
731
731
  user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
732
- <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
732
+ <span class="type">gpointer</span> user_data)</pre>
733
733
  <p>This signal is emitted when <a class="link" href="GdkPixbufLoader.html#gdk-pixbuf-loader-close" title="gdk_pixbuf_loader_close ()"><code class="function">gdk_pixbuf_loader_close()</code></a> is called.
734
734
  It can be used by different parts of an application to receive
735
735
  notification when an image loader is closed by the code that
@@ -756,16 +756,16 @@ drives it.</p>
756
756
  </tbody>
757
757
  </table></div>
758
758
  </div>
759
- <p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
759
+ <p>Flags: Run Last</p>
760
760
  </div>
761
761
  <hr>
762
762
  <div class="refsect2">
763
763
  <a name="GdkPixbufLoader-size-prepared"></a><h3>The <code class="literal">“size-prepared”</code> signal</h3>
764
764
  <pre class="programlisting"><span class="returnvalue">void</span>
765
765
  user_function (<a class="link" href="GdkPixbufLoader.html" title="GdkPixbufLoader"><span class="type">GdkPixbufLoader</span></a> *loader,
766
- <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width,
767
- <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height,
768
- <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
766
+ <span class="type">gint</span> width,
767
+ <span class="type">gint</span> height,
768
+ <span class="type">gpointer</span> user_data)</pre>
769
769
  <p>This signal is emitted when the pixbuf loader has been fed the
770
770
  initial amount of data that is required to figure out the size
771
771
  of the image that it will create. Applications can call
@@ -804,7 +804,7 @@ the desired size to which the image should be scaled.</p>
804
804
  </tbody>
805
805
  </table></div>
806
806
  </div>
807
- <p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
807
+ <p>Flags: Run Last</p>
808
808
  </div>
809
809
  </div>
810
810
  <div class="refsect1">
@@ -813,6 +813,6 @@ the desired size to which the image should be scaled.</p>
813
813
  </div>
814
814
  </div>
815
815
  <div class="footer">
816
- <hr>Generated by GTK-Doc V1.25.1</div>
816
+ <hr>Generated by GTK-Doc V1.27</div>
817
817
  </body>
818
818
  </html>