]> Pileus Git - ~andy/gtk/blobdiff - gdk-pixbuf/gdk-pixbuf-private.h
remove unecessary rules for win32-specific config-substituted targets. If
[~andy/gtk] / gdk-pixbuf / gdk-pixbuf-private.h
index 278298c23b49805e3903690074401748b0d94079..e8eb7248a46f6ee75eaf87beab236d0dd5c5c9e3 100644 (file)
@@ -8,16 +8,16 @@
  *          Havoc Pennington <hp@redhat.com>
  *
  * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
+ * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
  * version 2 of the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
+ * Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU Library General Public
+ * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
 
 \f
 
+typedef struct _GdkPixbufClass GdkPixbufClass;
+
+#define GDK_PIXBUF_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_PIXBUF, GdkPixbufClass))
+#define GDK_IS_PIXBUF_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_PIXBUF))
+#define GDK_PIXBUF_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_PIXBUF, GdkPixbufClass))
+
 /* Private part of the GdkPixbuf structure */
 struct _GdkPixbuf {
-       /* Reference count */
-       int ref_count;
+        GObject parent_instance;
 
        /* Color space */
        GdkColorspace colorspace;
@@ -63,6 +68,11 @@ struct _GdkPixbuf {
        guint has_alpha : 1;
 };
 
+struct _GdkPixbufClass {
+        GObjectClass parent_class;
+
+};
+
 /* Private part of the GdkPixbufFrame structure */
 struct _GdkPixbufFrame {
        /* The pixbuf with this frame's image data */
@@ -79,10 +89,15 @@ struct _GdkPixbufFrame {
        GdkPixbufFrameAction action;
 };
 
+typedef struct _GdkPixbufAnimationClass GdkPixbufAnimationClass;
+
+#define GDK_PIXBUF_ANIMATION_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_PIXBUF_ANIMATION, GdkPixbufAnimationClass))
+#define GDK_IS_PIXBUF_ANIMATION_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_PIXBUF_ANIMATION))
+#define GDK_PIXBUF_ANIMATION_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_PIXBUF_ANIMATION, GdkPixbufAnimationClass))
+
 /* Private part of the GdkPixbufAnimation structure */
 struct _GdkPixbufAnimation {
-       /* Reference count */
-       int ref_count;
+        GObject parent_instance;
 
        /* Number of frames */
         int n_frames;
@@ -94,6 +109,22 @@ struct _GdkPixbufAnimation {
        int width, height;
 };
 
+struct _GdkPixbufAnimationClass {
+        GObjectClass parent_class;
+
+
+};
+
 \f
 
+#define GDK_PIXBUF_INLINE_MAGIC_NUMBER 0x47646B50 /* 'GdkP' */
+
+typedef enum
+{
+  GDK_PIXBUF_INLINE_RAW = 0,
+  GDK_PIXBUF_INLINE_RLE = 1
+} GdkPixbufInlineFormat;
+
+
+
 #endif