Blame gdk-pixbuf/gdk-pixbuf-autocleanups.h

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