gdk_pixbuf2 3.0.9-x64-mingw32 → 3.1.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +4 -2
  3. data/lib/gdk_pixbuf2/loader.rb +0 -6
  4. data/lib/gdk_pixbuf2/pixbuf.rb +13 -0
  5. data/test/run-test.rb +2 -0
  6. data/test/test-pixbuf.rb +3 -0
  7. data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
  8. data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
  9. data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
  10. data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
  11. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +23 -4
  12. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +83 -5
  13. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +7 -0
  14. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +8 -4
  15. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +24 -10
  16. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +11 -0
  17. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h +662 -0
  18. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +6 -0
  19. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +7 -0
  20. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +1 -0
  21. data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +5 -5
  22. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +71 -71
  23. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
  24. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
  25. data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
  26. data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
  27. data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
  28. data/vendor/local/lib/libgdk_pixbuf-2.0.la +2 -2
  29. data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
  30. data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +201 -3
  31. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +78 -78
  32. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +3 -3
  33. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +3 -3
  34. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +3 -3
  35. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +3 -3
  36. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +3 -3
  37. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +3 -3
  38. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +3 -3
  39. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-32.html +5 -5
  40. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-36.html +146 -0
  41. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +3 -3
  42. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +3 -3
  43. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +3 -3
  44. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +3 -3
  45. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +107 -3
  46. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +90 -90
  47. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +106 -106
  48. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +257 -99
  49. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +36 -35
  50. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +49 -49
  51. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +128 -73
  52. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +17 -17
  53. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +28 -28
  54. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +164 -75
  55. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +19 -19
  56. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +295 -6
  57. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +8 -8
  58. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +8 -8
  59. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +27 -27
  60. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +3 -3
  61. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +6 -6
  62. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +3 -3
  63. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +3 -3
  64. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +3 -3
  65. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +28 -0
  66. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +5 -4
  67. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +5 -5
  68. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +3 -3
  69. data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +3 -3
  70. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  71. data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  72. data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  73. data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  74. data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  75. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  76. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  77. data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  78. data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  79. data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  80. data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  81. data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  82. data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  83. data/vendor/local/share/locale/kk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  84. data/vendor/local/share/locale/km/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  85. data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  86. data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  87. data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  88. data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  89. data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  90. data/vendor/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  91. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  92. data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  93. data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  94. data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  95. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  96. data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  97. data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  98. data/vendor/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  99. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo +0 -0
  100. data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +2 -2
  101. data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +2 -2
  102. metadata +8 -7
  103. data/vendor/local/lib/gdk_pixbuf-2.0.def +0 -134
@@ -10,19 +10,26 @@
10
10
 
11
11
  #include <glib-object.h>
12
12
 
13
+ #include <gdk-pixbuf/gdk-pixbuf-macros.h>
14
+
13
15
  G_BEGIN_DECLS
14
16
 
15
17
  /* enumerations from "gdk-pixbuf-core.h" */
18
+ GDK_PIXBUF_AVAILABLE_IN_ALL
16
19
  GType gdk_pixbuf_alpha_mode_get_type (void) G_GNUC_CONST;
17
20
  #define GDK_TYPE_PIXBUF_ALPHA_MODE (gdk_pixbuf_alpha_mode_get_type ())
21
+ GDK_PIXBUF_AVAILABLE_IN_ALL
18
22
  GType gdk_colorspace_get_type (void) G_GNUC_CONST;
19
23
  #define GDK_TYPE_COLORSPACE (gdk_colorspace_get_type ())
24
+ GDK_PIXBUF_AVAILABLE_IN_ALL
20
25
  GType gdk_pixbuf_error_get_type (void) G_GNUC_CONST;
21
26
  #define GDK_TYPE_PIXBUF_ERROR (gdk_pixbuf_error_get_type ())
22
27
 
23
28
  /* enumerations from "gdk-pixbuf-transform.h" */
29
+ GDK_PIXBUF_AVAILABLE_IN_ALL
24
30
  GType gdk_interp_type_get_type (void) G_GNUC_CONST;
25
31
  #define GDK_TYPE_INTERP_TYPE (gdk_interp_type_get_type ())
32
+ GDK_PIXBUF_AVAILABLE_IN_ALL
26
33
  GType gdk_pixbuf_rotation_get_type (void) G_GNUC_CONST;
27
34
  #define GDK_TYPE_PIXBUF_ROTATION (gdk_pixbuf_rotation_get_type ())
28
35
  G_END_DECLS
@@ -44,9 +44,13 @@ Library version numbers.
44
44
  */
45
45
 
46
46
  #define GDK_PIXBUF_MAJOR (2)
47
- #define GDK_PIXBUF_MINOR (34)
47
+ #define GDK_PIXBUF_MINOR (36)
48
48
  #define GDK_PIXBUF_MICRO (0)
49
- #define GDK_PIXBUF_VERSION "2.34.0"
49
+ #define GDK_PIXBUF_VERSION "2.36.0"
50
+
51
+ #ifndef _GDK_PIXBUF_EXTERN
52
+ #define _GDK_PIXBUF_EXTERN extern
53
+ #endif
50
54
 
51
55
  /* We prefix variable declarations so they can
52
56
  * properly get exported/imported from Windows DLLs.
@@ -57,7 +61,7 @@ Library version numbers.
57
61
  # else /* !GDK_PIXBUF_STATIC_COMPILATION */
58
62
  # ifdef GDK_PIXBUF_C_COMPILATION
59
63
  # ifdef DLL_EXPORT
60
- # define GDK_PIXBUF_VAR __declspec(dllexport)
64
+ # define GDK_PIXBUF_VAR _GDK_PIXBUF_EXTERN
61
65
  # else /* !DLL_EXPORT */
62
66
  # define GDK_PIXBUF_VAR extern
63
67
  # endif /* !DLL_EXPORT */
@@ -66,7 +70,7 @@ Library version numbers.
66
70
  # endif /* !GDK_PIXBUF_C_COMPILATION */
67
71
  # endif /* !GDK_PIXBUF_STATIC_COMPILATION */
68
72
  #else /* !G_PLATFORM_WIN32 */
69
- # define GDK_PIXBUF_VAR extern
73
+ # define GDK_PIXBUF_VAR _GDK_PIXBUF_EXTERN
70
74
  #endif /* !G_PLATFORM_WIN32 */
71
75
 
72
76
  /**
@@ -40,34 +40,53 @@
40
40
  G_BEGIN_DECLS
41
41
 
42
42
  typedef struct _GdkPixbufFormat GdkPixbufFormat;
43
-
43
+
44
+ GDK_PIXBUF_AVAILABLE_IN_ALL
44
45
  GType gdk_pixbuf_format_get_type (void) G_GNUC_CONST;
45
46
 
47
+ GDK_PIXBUF_AVAILABLE_IN_ALL
46
48
  GSList *gdk_pixbuf_get_formats (void);
49
+ GDK_PIXBUF_AVAILABLE_IN_2_2
47
50
  gchar *gdk_pixbuf_format_get_name (GdkPixbufFormat *format);
51
+ GDK_PIXBUF_AVAILABLE_IN_2_2
48
52
  gchar *gdk_pixbuf_format_get_description (GdkPixbufFormat *format);
53
+ GDK_PIXBUF_AVAILABLE_IN_2_2
49
54
  gchar **gdk_pixbuf_format_get_mime_types (GdkPixbufFormat *format);
55
+ GDK_PIXBUF_AVAILABLE_IN_2_2
50
56
  gchar **gdk_pixbuf_format_get_extensions (GdkPixbufFormat *format);
57
+ GDK_PIXBUF_AVAILABLE_IN_2_36
58
+ gboolean gdk_pixbuf_format_is_save_option_supported (GdkPixbufFormat *format,
59
+ const gchar *option_key);
60
+ GDK_PIXBUF_AVAILABLE_IN_2_2
51
61
  gboolean gdk_pixbuf_format_is_writable (GdkPixbufFormat *format);
62
+ GDK_PIXBUF_AVAILABLE_IN_2_6
52
63
  gboolean gdk_pixbuf_format_is_scalable (GdkPixbufFormat *format);
64
+ GDK_PIXBUF_AVAILABLE_IN_2_6
53
65
  gboolean gdk_pixbuf_format_is_disabled (GdkPixbufFormat *format);
66
+ GDK_PIXBUF_AVAILABLE_IN_2_6
54
67
  void gdk_pixbuf_format_set_disabled (GdkPixbufFormat *format,
55
68
  gboolean disabled);
69
+ GDK_PIXBUF_AVAILABLE_IN_2_6
56
70
  gchar *gdk_pixbuf_format_get_license (GdkPixbufFormat *format);
57
71
 
72
+ GDK_PIXBUF_AVAILABLE_IN_2_4
58
73
  GdkPixbufFormat *gdk_pixbuf_get_file_info (const gchar *filename,
59
74
  gint *width,
60
75
  gint *height);
76
+ GDK_PIXBUF_AVAILABLE_IN_2_32
61
77
  void gdk_pixbuf_get_file_info_async (const gchar *filename,
62
78
  GCancellable *cancellable,
63
79
  GAsyncReadyCallback callback,
64
80
  gpointer user_data);
81
+ GDK_PIXBUF_AVAILABLE_IN_2_32
65
82
  GdkPixbufFormat *gdk_pixbuf_get_file_info_finish (GAsyncResult *async_result,
66
83
  gint *width,
67
84
  gint *height,
68
85
  GError **error);
69
86
 
87
+ GDK_PIXBUF_AVAILABLE_IN_ALL
70
88
  GdkPixbufFormat *gdk_pixbuf_format_copy (const GdkPixbufFormat *format);
89
+ GDK_PIXBUF_AVAILABLE_IN_ALL
71
90
  void gdk_pixbuf_format_free (GdkPixbufFormat *format);
72
91
 
73
92
  #ifdef GDK_PIXBUF_ENABLE_BACKEND
@@ -203,6 +222,7 @@ struct _GdkPixbufModulePattern {
203
222
  * @load_animation: loads an animation from a file.
204
223
  * @save: saves a #GdkPixbuf to a file.
205
224
  * @save_to_callback: saves a #GdkPixbuf by calling the given #GdkPixbufSaveFunc.
225
+ * @is_save_option_supported: returns whether a save option key is supported by the module
206
226
  *
207
227
  * A #GdkPixbufModule contains the necessary functions to load and save
208
228
  * images in a certain file format.
@@ -255,13 +275,13 @@ struct _GdkPixbufModule {
255
275
  gchar **option_values,
256
276
  GError **error);
257
277
 
278
+ gboolean (* is_save_option_supported) (const gchar *option_key);
279
+
258
280
  /*< private >*/
259
281
  void (*_reserved1) (void);
260
282
  void (*_reserved2) (void);
261
283
  void (*_reserved3) (void);
262
- void (*_reserved4) (void);
263
- void (*_reserved5) (void);
264
-
284
+ void (*_reserved4) (void);
265
285
  };
266
286
 
267
287
  /**
@@ -287,12 +307,6 @@ typedef void (* GdkPixbufModuleFillVtableFunc) (GdkPixbufModule *module);
287
307
  */
288
308
  typedef void (* GdkPixbufModuleFillInfoFunc) (GdkPixbufFormat *info);
289
309
 
290
- /* key/value pairs that can be attached by the pixbuf loader */
291
-
292
- gboolean gdk_pixbuf_set_option (GdkPixbuf *pixbuf,
293
- const gchar *key,
294
- const gchar *value);
295
-
296
310
  /**
297
311
  * GdkPixbufFormatFlags:
298
312
  * @GDK_PIXBUF_FORMAT_WRITABLE: the module can write out images in the format.
@@ -79,26 +79,37 @@ struct _GdkPixbufLoaderClass
79
79
  void (*closed) (GdkPixbufLoader *loader);
80
80
  };
81
81
 
82
+ GDK_PIXBUF_AVAILABLE_IN_ALL
82
83
  GType gdk_pixbuf_loader_get_type (void) G_GNUC_CONST;
84
+ GDK_PIXBUF_AVAILABLE_IN_ALL
83
85
  GdkPixbufLoader * gdk_pixbuf_loader_new (void);
86
+ GDK_PIXBUF_AVAILABLE_IN_ALL
84
87
  GdkPixbufLoader * gdk_pixbuf_loader_new_with_type (const char *image_type,
85
88
  GError **error);
89
+ GDK_PIXBUF_AVAILABLE_IN_2_4
86
90
  GdkPixbufLoader * gdk_pixbuf_loader_new_with_mime_type (const char *mime_type,
87
91
  GError **error);
92
+ GDK_PIXBUF_AVAILABLE_IN_2_2
88
93
  void gdk_pixbuf_loader_set_size (GdkPixbufLoader *loader,
89
94
  int width,
90
95
  int height);
96
+ GDK_PIXBUF_AVAILABLE_IN_ALL
91
97
  gboolean gdk_pixbuf_loader_write (GdkPixbufLoader *loader,
92
98
  const guchar *buf,
93
99
  gsize count,
94
100
  GError **error);
101
+ GDK_PIXBUF_AVAILABLE_IN_2_30
95
102
  gboolean gdk_pixbuf_loader_write_bytes (GdkPixbufLoader *loader,
96
103
  GBytes *buffer,
97
104
  GError **error);
105
+ GDK_PIXBUF_AVAILABLE_IN_ALL
98
106
  GdkPixbuf * gdk_pixbuf_loader_get_pixbuf (GdkPixbufLoader *loader);
107
+ GDK_PIXBUF_AVAILABLE_IN_ALL
99
108
  GdkPixbufAnimation * gdk_pixbuf_loader_get_animation (GdkPixbufLoader *loader);
109
+ GDK_PIXBUF_AVAILABLE_IN_ALL
100
110
  gboolean gdk_pixbuf_loader_close (GdkPixbufLoader *loader,
101
111
  GError **error);
112
+ GDK_PIXBUF_AVAILABLE_IN_2_2
102
113
  GdkPixbufFormat *gdk_pixbuf_loader_get_format (GdkPixbufLoader *loader);
103
114
 
104
115
  G_END_DECLS
@@ -0,0 +1,662 @@
1
+ /* GdkPixbuf library - GdkPixbuf Macros
2
+ *
3
+ * Copyright (C) 2016 Chun-wei Fan
4
+ *
5
+ * Authors: Chun-wei Fan <fanc999@yahoo.com.tw>
6
+ *
7
+ * This library is free software; you can redistribute it and/or
8
+ * modify it under the terms of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation; either
10
+ * version 2 of the License, or (at your option) any later version.
11
+ *
12
+ * This library is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
+ * Lesser General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Lesser General Public
18
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
19
+ */
20
+
21
+ #if defined(GDK_PIXBUF_DISABLE_SINGLE_INCLUDES) && !defined (GDK_PIXBUF_H_INSIDE) && !defined (GDK_PIXBUF_COMPILATION)
22
+ #error "Only <gdk-pixbuf/gdk-pixbuf.h> can be included directly."
23
+ #endif
24
+
25
+ #ifndef GDK_PIXBUF_MACROS_H
26
+ #define GDK_PIXBUF_MACROS_H
27
+
28
+ #include <glib.h>
29
+
30
+ #include <gdk-pixbuf/gdk-pixbuf-features.h>
31
+
32
+ /**
33
+ * GDK_PIXBUF_CHECK_VERSION:
34
+ * @major: major version (e.g. 2 for version 2.34.0)
35
+ * @minor: minor version (e.g. 34 for version 2.34.0)
36
+ * @micro: micro version (e.g. 0 for version 2.34.0)
37
+ *
38
+ * Macro to test the version of GdkPixbuf being compiled against.
39
+ *
40
+ * Returns: %TRUE if the version of the GdkPixbuf header files
41
+ * is the same as or newer than the passed-in version.
42
+ *
43
+ * Since: 2.36
44
+ */
45
+ #define GDK_PIXBUF_CHECK_VERSION(major, minor, micro) \
46
+ (GDK_PIXBUF_MAJOR > (major) || \
47
+ (GDK_PIXBUF_MAJOR == (major) && GDK_PIXBUF_MINOR > (minor)) || \
48
+ (GDK_PIXBUF_MAJOR == (major) && GDK_PIXBUF_MINOR == (minor) && \
49
+ GDK_PIXBUF_MICRO >= (micro)))
50
+
51
+ /**
52
+ * GDK_PIXBUF_VERSION_2_0:
53
+ *
54
+ * A macro that evaluates to the 2.0 version of GdkPixbuf,
55
+ * in a format that can be used by the C pre-processor.
56
+ *
57
+ * Since: 2.36
58
+ */
59
+ #define GDK_PIXBUF_VERSION_2_0 (G_ENCODE_VERSION (2, 0))
60
+
61
+ /**
62
+ * GDK_PIXBUF_VERSION_2_2:
63
+ *
64
+ * A macro that evaluates to the 2.2 version of GdkPixbuf,
65
+ * in a format that can be used by the C pre-processor.
66
+ *
67
+ * Since: 2.36
68
+ */
69
+ #define GDK_PIXBUF_VERSION_2_2 (G_ENCODE_VERSION (2, 2))
70
+
71
+ /**
72
+ * GDK_PIXBUF_VERSION_2_4:
73
+ *
74
+ * A macro that evaluates to the 2.4 version of GdkPixbuf,
75
+ * in a format that can be used by the C pre-processor.
76
+ *
77
+ * Since: 2.36
78
+ */
79
+ #define GDK_PIXBUF_VERSION_2_4 (G_ENCODE_VERSION (2, 4))
80
+
81
+ /**
82
+ * GDK_PIXBUF_VERSION_2_6:
83
+ *
84
+ * A macro that evaluates to the 2.6 version of GdkPixbuf,
85
+ * in a format that can be used by the C pre-processor.
86
+ *
87
+ * Since: 2.36
88
+ */
89
+ #define GDK_PIXBUF_VERSION_2_6 (G_ENCODE_VERSION (2, 6))
90
+
91
+ /**
92
+ * GDK_PIXBUF_VERSION_2_8:
93
+ *
94
+ * A macro that evaluates to the 2.8 version of GdkPixbuf,
95
+ * in a format that can be used by the C pre-processor.
96
+ *
97
+ * Since: 2.36
98
+ */
99
+ #define GDK_PIXBUF_VERSION_2_8 (G_ENCODE_VERSION (2, 8))
100
+
101
+ /**
102
+ * GDK_PIXBUF_VERSION_2_10:
103
+ *
104
+ * A macro that evaluates to the 2.10 version of GdkPixbuf,
105
+ * in a format that can be used by the C pre-processor.
106
+ *
107
+ * Since: 2.36
108
+ */
109
+ #define GDK_PIXBUF_VERSION_2_10 (G_ENCODE_VERSION (2, 10))
110
+
111
+ /**
112
+ * GDK_PIXBUF_VERSION_2_12:
113
+ *
114
+ * A macro that evaluates to the 2.12 version of GdkPixbuf,
115
+ * in a format that can be used by the C pre-processor.
116
+ *
117
+ * Since: 2.36
118
+ */
119
+ #define GDK_PIXBUF_VERSION_2_12 (G_ENCODE_VERSION (2, 12))
120
+
121
+ /**
122
+ * GDK_PIXBUF_VERSION_2_14:
123
+ *
124
+ * A macro that evaluates to the 2.14 version of GdkPixbuf,
125
+ * in a format that can be used by the C pre-processor.
126
+ *
127
+ * Since: 2.36
128
+ */
129
+ #define GDK_PIXBUF_VERSION_2_14 (G_ENCODE_VERSION (2, 14))
130
+
131
+ /**
132
+ * GDK_PIXBUF_VERSION_2_16:
133
+ *
134
+ * A macro that evaluates to the 2.16 version of GdkPixbuf,
135
+ * in a format that can be used by the C pre-processor.
136
+ *
137
+ * Since: 2.36
138
+ */
139
+ #define GDK_PIXBUF_VERSION_2_16 (G_ENCODE_VERSION (2, 16))
140
+
141
+ /**
142
+ * GDK_PIXBUF_VERSION_2_18:
143
+ *
144
+ * A macro that evaluates to the 2.18 version of GdkPixbuf,
145
+ * in a format that can be used by the C pre-processor.
146
+ *
147
+ * Since: 2.36
148
+ */
149
+ #define GDK_PIXBUF_VERSION_2_18 (G_ENCODE_VERSION (2, 18))
150
+
151
+ /**
152
+ * GDK_PIXBUF_VERSION_2_20:
153
+ *
154
+ * A macro that evaluates to the 2.20 version of GdkPixbuf,
155
+ * in a format that can be used by the C pre-processor.
156
+ *
157
+ * Since: 2.36
158
+ */
159
+ #define GDK_PIXBUF_VERSION_2_20 (G_ENCODE_VERSION (2, 20))
160
+
161
+ /**
162
+ * GDK_PIXBUF_VERSION_2_22:
163
+ *
164
+ * A macro that evaluates to the 2.22 version of GdkPixbuf,
165
+ * in a format that can be used by the C pre-processor.
166
+ *
167
+ * Since: 2.36
168
+ */
169
+ #define GDK_PIXBUF_VERSION_2_22 (G_ENCODE_VERSION (2, 22))
170
+
171
+ /**
172
+ * GDK_PIXBUF_VERSION_2_24:
173
+ *
174
+ * A macro that evaluates to the 2.24 version of GdkPixbuf,
175
+ * in a format that can be used by the C pre-processor.
176
+ *
177
+ * Since: 2.36
178
+ */
179
+ #define GDK_PIXBUF_VERSION_2_24 (G_ENCODE_VERSION (2, 24))
180
+
181
+ /**
182
+ * GDK_PIXBUF_VERSION_2_26:
183
+ *
184
+ * A macro that evaluates to the 2.26 version of GdkPixbuf,
185
+ * in a format that can be used by the C pre-processor.
186
+ *
187
+ * Since: 2.36
188
+ */
189
+ #define GDK_PIXBUF_VERSION_2_26 (G_ENCODE_VERSION (2, 26))
190
+
191
+ /**
192
+ * GDK_PIXBUF_VERSION_2_28:
193
+ *
194
+ * A macro that evaluates to the 2.28 version of GdkPixbuf,
195
+ * in a format that can be used by the C pre-processor.
196
+ *
197
+ * Since: 2.36
198
+ */
199
+ #define GDK_PIXBUF_VERSION_2_28 (G_ENCODE_VERSION (2, 28))
200
+
201
+ /**
202
+ * GDK_PIXBUF_VERSION_2_30:
203
+ *
204
+ * A macro that evaluates to the 2.30 version of GdkPixbuf,
205
+ * in a format that can be used by the C pre-processor.
206
+ *
207
+ * Since: 2.36
208
+ */
209
+ #define GDK_PIXBUF_VERSION_2_30 (G_ENCODE_VERSION (2, 30))
210
+
211
+ /**
212
+ * GDK_PIXBUF_VERSION_2_32:
213
+ *
214
+ * A macro that evaluates to the 2.32 version of GdkPixbuf,
215
+ * in a format that can be used by the C pre-processor.
216
+ *
217
+ * Since: 2.36
218
+ */
219
+ #define GDK_PIXBUF_VERSION_2_32 (G_ENCODE_VERSION (2, 32))
220
+
221
+ /**
222
+ * GDK_PIXBUF_VERSION_2_34:
223
+ *
224
+ * A macro that evaluates to the 2.34 version of GdkPixbuf,
225
+ * in a format that can be used by the C pre-processor.
226
+ *
227
+ * Since: 2.36
228
+ */
229
+ #define GDK_PIXBUF_VERSION_2_34 (G_ENCODE_VERSION (2, 34))
230
+
231
+ /**
232
+ * GDK_PIXBUF_VERSION_2_36:
233
+ *
234
+ * A macro that evaluates to the 2.36 version of GdkPixbuf,
235
+ * in a format that can be used by the C pre-processor.
236
+ *
237
+ * Since: 2.36
238
+ */
239
+ #define GDK_PIXBUF_VERSION_2_36 (G_ENCODE_VERSION (2, 36))
240
+
241
+ #ifndef __GTK_DOC_IGNORE__
242
+ #if (GDK_PIXBUF_MINOR % 2)
243
+ #define GDK_PIXBUF_VERSION_CUR_STABLE (G_ENCODE_VERSION (GDK_PIXBUF_MAJOR, GDK_PIXBUF_MINOR + 1))
244
+ #else
245
+ #define GDK_PIXBUF_VERSION_CUR_STABLE (G_ENCODE_VERSION (GDK_PIXBUF_MAJOR, GDK_PIXBUF_MINOR))
246
+ #endif
247
+ #endif /* __GTK_DOC_IGNORE__ */
248
+
249
+ #ifndef __GTK_DOC_IGNORE__
250
+ #if (GDK_PIXBUF_MINOR % 2)
251
+ #define GDK_PIXBUF_VERSION_PREV_STABLE (G_ENCODE_VERSION (GDK_PIXBUF_MAJOR, GDK_PIXBUF_MINOR - 1))
252
+ #else
253
+ #define GDK_PIXBUF_VERSION_PREV_STABLE (G_ENCODE_VERSION (GDK_PIXBUF_MAJOR, GDK_PIXBUF_MINOR - 2))
254
+ #endif
255
+ #endif /* __GTK_DOC_IGNORE__ */
256
+
257
+ /**
258
+ * GDK_PIXBUF_VERSION_MIN_REQUIRED:
259
+ *
260
+ * A macro that should be defined by the user prior to including
261
+ * the gdk-pixbuf.h header.
262
+ * The definition should be one of the predefined version
263
+ * macros: %GDK_PIXBUF_VERSION_2_0, %GDK_PIXBUF_VERSION_2_2, ...
264
+ *
265
+ * This macro defines the lower bound for the GdkPixbuf API to use.
266
+ *
267
+ * If a function has been deprecated in a newer version of GdkPixbuf,
268
+ * defining this symbol hides the compiler warnings for those functions
269
+ * without disabling warnings for the other deprecated functions.
270
+ *
271
+ * <warning>
272
+ * Warning: if you define this macro, do not forget to update it! Especially
273
+ * when writing new code. Otherwise you can miss the new deprecations.
274
+ * </warning>
275
+ *
276
+ * Since: 2.36
277
+ */
278
+ #ifndef GDK_PIXBUF_VERSION_MIN_REQUIRED
279
+ #define GDK_PIXBUF_VERSION_MIN_REQUIRED (GDK_PIXBUF_VERSION_CUR_STABLE)
280
+ #endif
281
+
282
+ /**
283
+ * GDK_PIXBUF_VERSION_MAX_ALLOWED:
284
+ *
285
+ * A macro that should be defined by the user prior to including
286
+ * the gdk-pixbuf.h header.
287
+ * The definition should be one of the predefined version
288
+ * macros: %GDK_PIXBUF_VERSION_2_0, %GDK_PIXBUF_VERSION_2_2, ...
289
+ *
290
+ * This macro defines the upper bound for the GdkPixbuf API to use.
291
+ *
292
+ * If a function has been introduced in a newer version of GdkPixbuf,
293
+ * it is possible to use this symbol to get compiler warnings when
294
+ * trying to use that function.
295
+ *
296
+ * Since: 2.36
297
+ */
298
+ #ifndef GDK_PIXBUF_VERSION_MAX_ALLOWED
299
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED > GDK_PIXBUF_VERSION_PREV_STABLE
300
+ #define GDK_PIXBUF_VERSION_MAX_ALLOWED GDK_PIXBUF_VERSION_MIN_REQUIRED
301
+ #else
302
+ #define GDK_PIXBUF_VERSION_MAX_ALLOWED GDK_PIXBUF_VERSION_CUR_STABLE
303
+ #endif
304
+ #endif
305
+
306
+ /* sanity checks */
307
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_MIN_REQUIRED
308
+ #error "GDK_PIXBUF_VERSION_MAX_ALLOWED must be >= GDK_PIXBUF_VERSION_MIN_REQUIRED"
309
+ #endif
310
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED < GDK_PIXBUF_VERSION_2_0
311
+ #error "GDK_PIXBUF_VERSION_MIN_REQUIRED must be >= GDK_PIXBUF_VERSION_2_0"
312
+ #endif
313
+
314
+ #ifndef __GTK_DOC_IGNORE__
315
+ #define GDK_PIXBUF_AVAILABLE_IN_ALL _GDK_PIXBUF_EXTERN
316
+ #endif
317
+
318
+ /* Every new stable minor release should add a set of macros here */
319
+
320
+ #ifndef __GTK_DOC_IGNORE__
321
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_0
322
+ #define GDK_PIXBUF_DEPRECATED_IN_2_0 G_DEPRECATED _GDK_PIXBUF_EXTERN
323
+ #define GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
324
+ #else
325
+ #define GDK_PIXBUF_DEPRECATED_IN_2_0 _GDK_PIXBUF_EXTERN
326
+ #define GDK_PIXBUF_DEPRECATED_IN_2_0_FOR(f) _GDK_PIXBUF_EXTERN
327
+ #endif
328
+ #endif /* __GTK_DOC_IGNORE__ */
329
+
330
+ #ifndef __GTK_DOC_IGNORE__
331
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_0
332
+ #define GDK_PIXBUF_AVAILABLE_IN_2_0 G_UNAVAILABLE(2, 0) _GDK_PIXBUF_EXTERN
333
+ #else
334
+ #define GDK_PIXBUF_AVAILABLE_IN_2_0 _GDK_PIXBUF_EXTERN
335
+ #endif
336
+ #endif /* __GTK_DOC_IGNORE__ */
337
+
338
+ #ifndef __GTK_DOC_IGNORE__
339
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_2
340
+ #define GDK_PIXBUF_DEPRECATED_IN_2_2 G_DEPRECATED _GDK_PIXBUF_EXTERN
341
+ #define GDK_PIXBUF_DEPRECATED_IN_2_2_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
342
+ #else
343
+ #define GDK_PIXBUF_DEPRECATED_IN_2_2 _GDK_PIXBUF_EXTERN
344
+ #define GDK_PIXBUF_DEPRECATED_IN_2_2_FOR(f) _GDK_PIXBUF_EXTERN
345
+ #endif
346
+ #endif /* __GTK_DOC_IGNORE__ */
347
+
348
+ #ifndef __GTK_DOC_IGNORE__
349
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_2
350
+ #define GDK_PIXBUF_AVAILABLE_IN_2_2 G_UNAVAILABLE(2, 2) _GDK_PIXBUF_EXTERN
351
+ #else
352
+ #define GDK_PIXBUF_AVAILABLE_IN_2_2 _GDK_PIXBUF_EXTERN
353
+ #endif
354
+ #endif /* __GTK_DOC_IGNORE__ */
355
+
356
+ #ifndef __GTK_DOC_IGNORE__
357
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_4
358
+ #define GDK_PIXBUF_DEPRECATED_IN_2_4 G_DEPRECATED _GDK_PIXBUF_EXTERN
359
+ #define GDK_PIXBUF_DEPRECATED_IN_2_4_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
360
+ #else
361
+ #define GDK_PIXBUF_DEPRECATED_IN_2_4 _GDK_PIXBUF_EXTERN
362
+ #define GDK_PIXBUF_DEPRECATED_IN_2_4_FOR(f) _GDK_PIXBUF_EXTERN
363
+ #endif
364
+ #endif /* __GTK_DOC_IGNORE__ */
365
+
366
+ #ifndef __GTK_DOC_IGNORE__
367
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_4
368
+ #define GDK_PIXBUF_AVAILABLE_IN_2_4 G_UNAVAILABLE(2, 4) _GDK_PIXBUF_EXTERN
369
+ #else
370
+ #define GDK_PIXBUF_AVAILABLE_IN_2_4 _GDK_PIXBUF_EXTERN
371
+ #endif
372
+ #endif /* __GTK_DOC_IGNORE__ */
373
+
374
+ #ifndef __GTK_DOC_IGNORE__
375
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_6
376
+ #define GDK_PIXBUF_DEPRECATED_IN_2_6 G_DEPRECATED _GDK_PIXBUF_EXTERN
377
+ #define GDK_PIXBUF_DEPRECATED_IN_2_6_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
378
+ #else
379
+ #define GDK_PIXBUF_DEPRECATED_IN_2_6 _GDK_PIXBUF_EXTERN
380
+ #define GDK_PIXBUF_DEPRECATED_IN_2_6_FOR(f) _GDK_PIXBUF_EXTERN
381
+ #endif
382
+ #endif /* __GTK_DOC_IGNORE__ */
383
+
384
+ #ifndef __GTK_DOC_IGNORE__
385
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_6
386
+ #define GDK_PIXBUF_AVAILABLE_IN_2_6 G_UNAVAILABLE(2, 6) _GDK_PIXBUF_EXTERN
387
+ #else
388
+ #define GDK_PIXBUF_AVAILABLE_IN_2_6 _GDK_PIXBUF_EXTERN
389
+ #endif
390
+ #endif /* __GTK_DOC_IGNORE__ */
391
+
392
+ #ifndef __GTK_DOC_IGNORE__
393
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_8
394
+ #define GDK_PIXBUF_DEPRECATED_IN_2_8 G_DEPRECATED _GDK_PIXBUF_EXTERN
395
+ #define GDK_PIXBUF_DEPRECATED_IN_2_8_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
396
+ #else
397
+ #define GDK_PIXBUF_DEPRECATED_IN_2_8 _GDK_PIXBUF_EXTERN
398
+ #define GDK_PIXBUF_DEPRECATED_IN_2_8_FOR(f) _GDK_PIXBUF_EXTERN
399
+ #endif
400
+ #endif /* __GTK_DOC_IGNORE__ */
401
+
402
+ #ifndef __GTK_DOC_IGNORE__
403
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_8
404
+ #define GDK_PIXBUF_AVAILABLE_IN_2_8 G_UNAVAILABLE(2, 8) _GDK_PIXBUF_EXTERN
405
+ #else
406
+ #define GDK_PIXBUF_AVAILABLE_IN_2_8 _GDK_PIXBUF_EXTERN
407
+ #endif
408
+ #endif /* __GTK_DOC_IGNORE__ */
409
+
410
+ #ifndef __GTK_DOC_IGNORE__
411
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_10
412
+ #define GDK_PIXBUF_DEPRECATED_IN_2_10 G_DEPRECATED _GDK_PIXBUF_EXTERN
413
+ #define GDK_PIXBUF_DEPRECATED_IN_2_10_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
414
+ #else
415
+ #define GDK_PIXBUF_DEPRECATED_IN_2_10 _GDK_PIXBUF_EXTERN
416
+ #define GDK_PIXBUF_DEPRECATED_IN_2_10_FOR(f) _GDK_PIXBUF_EXTERN
417
+ #endif
418
+ #endif /* __GTK_DOC_IGNORE__ */
419
+
420
+ #ifndef __GTK_DOC_IGNORE__
421
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_10
422
+ #define GDK_PIXBUF_AVAILABLE_IN_2_10 G_UNAVAILABLE(2, 10) _GDK_PIXBUF_EXTERN
423
+ #else
424
+ #define GDK_PIXBUF_AVAILABLE_IN_2_10 _GDK_PIXBUF_EXTERN
425
+ #endif
426
+ #endif /* __GTK_DOC_IGNORE__ */
427
+
428
+ #ifndef __GTK_DOC_IGNORE__
429
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_12
430
+ #define GDK_PIXBUF_DEPRECATED_IN_2_12 G_DEPRECATED _GDK_PIXBUF_EXTERN
431
+ #define GDK_PIXBUF_DEPRECATED_IN_2_12_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
432
+ #else
433
+ #define GDK_PIXBUF_DEPRECATED_IN_2_12 _GDK_PIXBUF_EXTERN
434
+ #define GDK_PIXBUF_DEPRECATED_IN_2_12_FOR(f) _GDK_PIXBUF_EXTERN
435
+ #endif
436
+ #endif /* __GTK_DOC_IGNORE__ */
437
+
438
+ #ifndef __GTK_DOC_IGNORE__
439
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_12
440
+ #define GDK_PIXBUF_AVAILABLE_IN_2_12 G_UNAVAILABLE(2, 12) _GDK_PIXBUF_EXTERN
441
+ #else
442
+ #define GDK_PIXBUF_AVAILABLE_IN_2_12 _GDK_PIXBUF_EXTERN
443
+ #endif
444
+ #endif /* __GTK_DOC_IGNORE__ */
445
+
446
+ #ifndef __GTK_DOC_IGNORE__
447
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_14
448
+ #define GDK_PIXBUF_DEPRECATED_IN_2_14 G_DEPRECATED _GDK_PIXBUF_EXTERN
449
+ #define GDK_PIXBUF_DEPRECATED_IN_2_14_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
450
+ #else
451
+ #define GDK_PIXBUF_DEPRECATED_IN_2_14 _GDK_PIXBUF_EXTERN
452
+ #define GDK_PIXBUF_DEPRECATED_IN_2_14_FOR(f) _GDK_PIXBUF_EXTERN
453
+ #endif
454
+ #endif /* __GTK_DOC_IGNORE__ */
455
+
456
+ #ifndef __GTK_DOC_IGNORE__
457
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_14
458
+ #define GDK_PIXBUF_AVAILABLE_IN_2_14 G_UNAVAILABLE(2, 14) _GDK_PIXBUF_EXTERN
459
+ #else
460
+ #define GDK_PIXBUF_AVAILABLE_IN_2_14 _GDK_PIXBUF_EXTERN
461
+ #endif
462
+ #endif /* __GTK_DOC_IGNORE__ */
463
+
464
+ #ifndef __GTK_DOC_IGNORE__
465
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_16
466
+ #define GDK_PIXBUF_DEPRECATED_IN_2_16 G_DEPRECATED _GDK_PIXBUF_EXTERN
467
+ #define GDK_PIXBUF_DEPRECATED_IN_2_16_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
468
+ #else
469
+ #define GDK_PIXBUF_DEPRECATED_IN_2_16 _GDK_PIXBUF_EXTERN
470
+ #define GDK_PIXBUF_DEPRECATED_IN_2_16_FOR(f) _GDK_PIXBUF_EXTERN
471
+ #endif
472
+ #endif /* __GTK_DOC_IGNORE__ */
473
+
474
+ #ifndef __GTK_DOC_IGNORE__
475
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_16
476
+ #define GDK_PIXBUF_AVAILABLE_IN_2_16 G_UNAVAILABLE(2, 16) _GDK_PIXBUF_EXTERN
477
+ #else
478
+ #define GDK_PIXBUF_AVAILABLE_IN_2_16 _GDK_PIXBUF_EXTERN
479
+ #endif
480
+ #endif /* __GTK_DOC_IGNORE__ */
481
+
482
+ #ifndef __GTK_DOC_IGNORE__
483
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_18
484
+ #define GDK_PIXBUF_DEPRECATED_IN_2_18 G_DEPRECATED _GDK_PIXBUF_EXTERN
485
+ #define GDK_PIXBUF_DEPRECATED_IN_2_18_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
486
+ #else
487
+ #define GDK_PIXBUF_DEPRECATED_IN_2_18 _GDK_PIXBUF_EXTERN
488
+ #define GDK_PIXBUF_DEPRECATED_IN_2_18_FOR(f) _GDK_PIXBUF_EXTERN
489
+ #endif
490
+ #endif /* __GTK_DOC_IGNORE__ */
491
+
492
+ #ifndef __GTK_DOC_IGNORE__
493
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_18
494
+ #define GDK_PIXBUF_AVAILABLE_IN_2_18 G_UNAVAILABLE(2, 18) _GDK_PIXBUF_EXTERN
495
+ #else
496
+ #define GDK_PIXBUF_AVAILABLE_IN_2_18 _GDK_PIXBUF_EXTERN
497
+ #endif
498
+ #endif /* __GTK_DOC_IGNORE__ */
499
+
500
+ #ifndef __GTK_DOC_IGNORE__
501
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_20
502
+ #define GDK_PIXBUF_DEPRECATED_IN_2_20 G_DEPRECATED _GDK_PIXBUF_EXTERN
503
+ #define GDK_PIXBUF_DEPRECATED_IN_2_20_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
504
+ #else
505
+ #define GDK_PIXBUF_DEPRECATED_IN_2_20 _GDK_PIXBUF_EXTERN
506
+ #define GDK_PIXBUF_DEPRECATED_IN_2_20_FOR(f) _GDK_PIXBUF_EXTERN
507
+ #endif
508
+ #endif /* __GTK_DOC_IGNORE__ */
509
+
510
+ #ifndef __GTK_DOC_IGNORE__
511
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_20
512
+ #define GDK_PIXBUF_AVAILABLE_IN_2_20 G_UNAVAILABLE(2, 20) _GDK_PIXBUF_EXTERN
513
+ #else
514
+ #define GDK_PIXBUF_AVAILABLE_IN_2_20 _GDK_PIXBUF_EXTERN
515
+ #endif
516
+ #endif /* __GTK_DOC_IGNORE__ */
517
+
518
+ #ifndef __GTK_DOC_IGNORE__
519
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_22
520
+ #define GDK_PIXBUF_DEPRECATED_IN_2_22 G_DEPRECATED _GDK_PIXBUF_EXTERN
521
+ #define GDK_PIXBUF_DEPRECATED_IN_2_22_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
522
+ #else
523
+ #define GDK_PIXBUF_DEPRECATED_IN_2_22 _GDK_PIXBUF_EXTERN
524
+ #define GDK_PIXBUF_DEPRECATED_IN_2_22_FOR(f) _GDK_PIXBUF_EXTERN
525
+ #endif
526
+ #endif /* __GTK_DOC_IGNORE__ */
527
+
528
+ #ifndef __GTK_DOC_IGNORE__
529
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_22
530
+ #define GDK_PIXBUF_AVAILABLE_IN_2_22 G_UNAVAILABLE(2, 22) _GDK_PIXBUF_EXTERN
531
+ #else
532
+ #define GDK_PIXBUF_AVAILABLE_IN_2_22 _GDK_PIXBUF_EXTERN
533
+ #endif
534
+ #endif /* __GTK_DOC_IGNORE__ */
535
+
536
+ #ifndef __GTK_DOC_IGNORE__
537
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_24
538
+ #define GDK_PIXBUF_DEPRECATED_IN_2_24 G_DEPRECATED _GDK_PIXBUF_EXTERN
539
+ #define GDK_PIXBUF_DEPRECATED_IN_2_24_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
540
+ #else
541
+ #define GDK_PIXBUF_DEPRECATED_IN_2_24 _GDK_PIXBUF_EXTERN
542
+ #define GDK_PIXBUF_DEPRECATED_IN_2_24_FOR(f) _GDK_PIXBUF_EXTERN
543
+ #endif
544
+ #endif /* __GTK_DOC_IGNORE__ */
545
+
546
+ #ifndef __GTK_DOC_IGNORE__
547
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_24
548
+ #define GDK_PIXBUF_AVAILABLE_IN_2_24 G_UNAVAILABLE(2, 22) _GDK_PIXBUF_EXTERN
549
+ #else
550
+ #define GDK_PIXBUF_AVAILABLE_IN_2_24 _GDK_PIXBUF_EXTERN
551
+ #endif
552
+ #endif /* __GTK_DOC_IGNORE__ */
553
+
554
+ #ifndef __GTK_DOC_IGNORE__
555
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_26
556
+ #define GDK_PIXBUF_DEPRECATED_IN_2_26 G_DEPRECATED _GDK_PIXBUF_EXTERN
557
+ #define GDK_PIXBUF_DEPRECATED_IN_2_26_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
558
+ #else
559
+ #define GDK_PIXBUF_DEPRECATED_IN_2_26 _GDK_PIXBUF_EXTERN
560
+ #define GDK_PIXBUF_DEPRECATED_IN_2_26_FOR(f) _GDK_PIXBUF_EXTERN
561
+ #endif
562
+ #endif /* __GTK_DOC_IGNORE__ */
563
+
564
+ #ifndef __GTK_DOC_IGNORE__
565
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_26
566
+ #define GDK_PIXBUF_AVAILABLE_IN_2_26 G_UNAVAILABLE(2, 22) _GDK_PIXBUF_EXTERN
567
+ #else
568
+ #define GDK_PIXBUF_AVAILABLE_IN_2_26 _GDK_PIXBUF_EXTERN
569
+ #endif
570
+ #endif /* __GTK_DOC_IGNORE__ */
571
+
572
+ #ifndef __GTK_DOC_IGNORE__
573
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_28
574
+ #define GDK_PIXBUF_DEPRECATED_IN_2_28 G_DEPRECATED _GDK_PIXBUF_EXTERN
575
+ #define GDK_PIXBUF_DEPRECATED_IN_2_28_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
576
+ #else
577
+ #define GDK_PIXBUF_DEPRECATED_IN_2_28 _GDK_PIXBUF_EXTERN
578
+ #define GDK_PIXBUF_DEPRECATED_IN_2_28_FOR(f) _GDK_PIXBUF_EXTERN
579
+ #endif
580
+ #endif /* __GTK_DOC_IGNORE__ */
581
+
582
+ #ifndef __GTK_DOC_IGNORE__
583
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_28
584
+ #define GDK_PIXBUF_AVAILABLE_IN_2_28 G_UNAVAILABLE(2, 22) _GDK_PIXBUF_EXTERN
585
+ #else
586
+ #define GDK_PIXBUF_AVAILABLE_IN_2_28 _GDK_PIXBUF_EXTERN
587
+ #endif
588
+ #endif /* __GTK_DOC_IGNORE__ */
589
+
590
+ #ifndef __GTK_DOC_IGNORE__
591
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_30
592
+ #define GDK_PIXBUF_DEPRECATED_IN_2_30 G_DEPRECATED _GDK_PIXBUF_EXTERN
593
+ #define GDK_PIXBUF_DEPRECATED_IN_2_30_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
594
+ #else
595
+ #define GDK_PIXBUF_DEPRECATED_IN_2_30 _GDK_PIXBUF_EXTERN
596
+ #define GDK_PIXBUF_DEPRECATED_IN_2_30_FOR(f) _GDK_PIXBUF_EXTERN
597
+ #endif
598
+ #endif /* __GTK_DOC_IGNORE__ */
599
+
600
+ #ifndef __GTK_DOC_IGNORE__
601
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_30
602
+ #define GDK_PIXBUF_AVAILABLE_IN_2_30 G_UNAVAILABLE(2, 22) _GDK_PIXBUF_EXTERN
603
+ #else
604
+ #define GDK_PIXBUF_AVAILABLE_IN_2_30 _GDK_PIXBUF_EXTERN
605
+ #endif
606
+ #endif /* __GTK_DOC_IGNORE__ */
607
+
608
+ #ifndef __GTK_DOC_IGNORE__
609
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_32
610
+ #define GDK_PIXBUF_DEPRECATED_IN_2_32 G_DEPRECATED _GDK_PIXBUF_EXTERN
611
+ #define GDK_PIXBUF_DEPRECATED_IN_2_32_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
612
+ #else
613
+ #define GDK_PIXBUF_DEPRECATED_IN_2_32 _GDK_PIXBUF_EXTERN
614
+ #define GDK_PIXBUF_DEPRECATED_IN_2_32_FOR(f) _GDK_PIXBUF_EXTERN
615
+ #endif
616
+ #endif /* __GTK_DOC_IGNORE__ */
617
+
618
+ #ifndef __GTK_DOC_IGNORE__
619
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_32
620
+ #define GDK_PIXBUF_AVAILABLE_IN_2_32 G_UNAVAILABLE(2, 22) _GDK_PIXBUF_EXTERN
621
+ #else
622
+ #define GDK_PIXBUF_AVAILABLE_IN_2_32 _GDK_PIXBUF_EXTERN
623
+ #endif
624
+ #endif /* __GTK_DOC_IGNORE__ */
625
+
626
+ #ifndef __GTK_DOC_IGNORE__
627
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_34
628
+ #define GDK_PIXBUF_DEPRECATED_IN_2_34 G_DEPRECATED _GDK_PIXBUF_EXTERN
629
+ #define GDK_PIXBUF_DEPRECATED_IN_2_34_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
630
+ #else
631
+ #define GDK_PIXBUF_DEPRECATED_IN_2_34 _GDK_PIXBUF_EXTERN
632
+ #define GDK_PIXBUF_DEPRECATED_IN_2_34_FOR(f) _GDK_PIXBUF_EXTERN
633
+ #endif
634
+ #endif /* __GTK_DOC_IGNORE__ */
635
+
636
+ #ifndef __GTK_DOC_IGNORE__
637
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_34
638
+ #define GDK_PIXBUF_AVAILABLE_IN_2_34 G_UNAVAILABLE(2, 22) _GDK_PIXBUF_EXTERN
639
+ #else
640
+ #define GDK_PIXBUF_AVAILABLE_IN_2_34 _GDK_PIXBUF_EXTERN
641
+ #endif
642
+ #endif /* __GTK_DOC_IGNORE__ */
643
+
644
+ #ifndef __GTK_DOC_IGNORE__
645
+ #if GDK_PIXBUF_VERSION_MIN_REQUIRED >= GDK_PIXBUF_VERSION_2_36
646
+ #define GDK_PIXBUF_DEPRECATED_IN_2_36 G_DEPRECATED _GDK_PIXBUF_EXTERN
647
+ #define GDK_PIXBUF_DEPRECATED_IN_2_36_FOR(f) G_DEPRECATED_FOR(f) _GDK_PIXBUF_EXTERN
648
+ #else
649
+ #define GDK_PIXBUF_DEPRECATED_IN_2_36 _GDK_PIXBUF_EXTERN
650
+ #define GDK_PIXBUF_DEPRECATED_IN_2_36_FOR(f) _GDK_PIXBUF_EXTERN
651
+ #endif
652
+ #endif /* __GTK_DOC_IGNORE__ */
653
+
654
+ #ifndef __GTK_DOC_IGNORE__
655
+ #if GDK_PIXBUF_VERSION_MAX_ALLOWED < GDK_PIXBUF_VERSION_2_36
656
+ #define GDK_PIXBUF_AVAILABLE_IN_2_36 G_UNAVAILABLE(2, 22) _GDK_PIXBUF_EXTERN
657
+ #else
658
+ #define GDK_PIXBUF_AVAILABLE_IN_2_36 _GDK_PIXBUF_EXTERN
659
+ #endif
660
+ #endif /* __GTK_DOC_IGNORE__ */
661
+
662
+ #endif /* GDK_PIXBUF_MACROS_H */