|
Packit |
a4058c |
/* GdkPixbuf library - Autocleanup definitions
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* Copyright (C) 2015 Kalev Lember <kalevlember@gmail.com>
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* This library is free software; you can redistribute it and/or
|
|
Packit |
a4058c |
* modify it under the terms of the GNU Lesser General Public
|
|
Packit |
a4058c |
* License as published by the Free Software Foundation; either
|
|
Packit |
a4058c |
* version 2 of the License, or (at your option) any later version.
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* This library is distributed in the hope that it will be useful,
|
|
Packit |
a4058c |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
a4058c |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
a4058c |
* Lesser General Public License for more details.
|
|
Packit |
a4058c |
*
|
|
Packit |
a4058c |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit |
a4058c |
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
a4058c |
*/
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
#ifndef GDK_PIXBUF_AUTOCLEANUPS_H
|
|
Packit |
a4058c |
#define GDK_PIXBUF_AUTOCLEANUPS_H
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
/* We need all the types, so don't try to include this directly */
|
|
Packit |
a4058c |
#if defined(GDK_PIXBUF_DISABLE_SINGLE_INCLUDES) && !defined (GDK_PIXBUF_H_INSIDE) && !defined (GDK_PIXBUF_COMPILATION)
|
|
Packit |
a4058c |
#error "Only <gdk-pixbuf/gdk-pixbuf.h> can be included directly."
|
|
Packit |
a4058c |
#endif
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkPixbuf, g_object_unref)
|
|
Packit |
a4058c |
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkPixbufAnimation, g_object_unref)
|
|
Packit |
a4058c |
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkPixbufAnimationIter, g_object_unref)
|
|
Packit |
a4058c |
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkPixbufLoader, g_object_unref)
|
|
Packit |
a4058c |
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkPixbufSimpleAnim, g_object_unref)
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
#endif
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
#endif /* GDK_PIXBUF_AUTOCLEANUPS_H */
|