summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-loader.h
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2000-06-24 22:32:05 +0000
committerTim Janik <timj@src.gnome.org>2000-06-24 22:32:05 +0000
commit100c9594d6005918249eb4fceb442ae406cb92a6 (patch)
treecf4bccf7eb047e544f3f2c1d16b815c6c703aac0 /gdk-pixbuf/gdk-pixbuf-loader.h
parent3ef478ecd78cccf43e2078c5e168487912e065ad (diff)
downloadgtk+-100c9594d6005918249eb4fceb442ae406cb92a6.tar.gz
make the current version number 1.3.1 (binary age 0, interface age 0).
Fri Jun 23 17:54:23 2000 Tim Janik <timj@gtk.org> * configure.in: make the current version number 1.3.1 (binary age 0, interface age 0). * gtkfeatures.h, gtkfeatures.h.in: dejavue, get rid of these *again*, gtkcompat.h is all we want. * gtk/gtktypeutils.[hc]: define most of the primitive types in terms of GLib primitive types. fixed g_type_register_fundamental() argument ordering. * gtk-config.in (lib_gtk): add -lgdk_pixbuf so third party code compiles. * gdk-pixbuf-loader.[hc]: get rid of unistd.h include. object code cleanup, comment trigraph fixes, etc...
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-loader.h')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-loader.h57
1 files changed, 28 insertions, 29 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-loader.h b/gdk-pixbuf/gdk-pixbuf-loader.h
index 9f9a79dc25..1b06ff74fb 100644
--- a/gdk-pixbuf/gdk-pixbuf-loader.h
+++ b/gdk-pixbuf/gdk-pixbuf-loader.h
@@ -26,7 +26,6 @@
#ifndef GDK_PIXBUF_LOADER_H
#define GDK_PIXBUF_LOADER_H
-#include <unistd.h>
#include <gtk/gtkobject.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
@@ -34,52 +33,52 @@
extern "C" {
#endif
-
+
#define GDK_TYPE_PIXBUF_LOADER (gdk_pixbuf_loader_get_type ())
#define GDK_PIXBUF_LOADER(obj) (GTK_CHECK_CAST ((obj), GDK_TYPE_PIXBUF_LOADER, GdkPixbufLoader))
#define GDK_PIXBUF_LOADER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GDK_TYPE_PIXBUF_LOADER, GdkPixbufLoaderClass))
#define GDK_IS_PIXBUF_LOADER(obj) (GTK_CHECK_TYPE ((obj), GDK_TYPE_PIXBUF_LOADER))
#define GDK_IS_PIXBUF_LOADER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GDK_TYPE_PIXBUF_LOADER))
+#define GDK_PIXBUF_LOADER_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GDK_TYPE_PIXBUF_LOADER, GdkPixbufLoaderClass))
typedef struct _GdkPixbufLoader GdkPixbufLoader;
struct _GdkPixbufLoader
{
- GtkObject object;
-
- /* < Private > */
- gpointer private;
+ GtkObject object;
+
+ /*< private >*/
+ gpointer private;
};
typedef struct _GdkPixbufLoaderClass GdkPixbufLoaderClass;
-struct _GdkPixbufLoaderClass {
- GtkObjectClass parent_class;
-
- void (* area_prepared) (GdkPixbufLoader *loader);
-
- void (* area_updated) (GdkPixbufLoader *loader,
- guint x, guint y, guint width, guint height);
-
- void (* frame_done) (GdkPixbufLoader *loader, GdkPixbufFrame *frame);
-
- void (* animation_done) (GdkPixbufLoader *loader);
-
- void (* closed) (GdkPixbufLoader *loader);
+struct _GdkPixbufLoaderClass
+{
+ GtkObjectClass parent_class;
+
+ void (*area_prepared) (GdkPixbufLoader *loader);
+ void (*area_updated) (GdkPixbufLoader *loader,
+ guint x,
+ guint y,
+ guint width,
+ guint height);
+ void (*frame_done) (GdkPixbufLoader *loader,
+ GdkPixbufFrame *frame);
+ void (*animation_done) (GdkPixbufLoader *loader);
+ void (*closed) (GdkPixbufLoader *loader);
};
-
-GtkType gdk_pixbuf_loader_get_type (void);
-GdkPixbufLoader *gdk_pixbuf_loader_new (void);
-gboolean gdk_pixbuf_loader_write (GdkPixbufLoader *loader,
- const guchar *buf,
- size_t count);
-GdkPixbuf *gdk_pixbuf_loader_get_pixbuf (GdkPixbufLoader *loader);
-GdkPixbufAnimation *gdk_pixbuf_loader_get_animation (GdkPixbufLoader *loader);
-void gdk_pixbuf_loader_close (GdkPixbufLoader *loader);
+GtkType gdk_pixbuf_loader_get_type (void);
+GdkPixbufLoader * gdk_pixbuf_loader_new (void);
+gboolean gdk_pixbuf_loader_write (GdkPixbufLoader *loader,
+ const guchar *buf,
+ gsize count);
+GdkPixbuf * gdk_pixbuf_loader_get_pixbuf (GdkPixbufLoader *loader);
+GdkPixbufAnimation * gdk_pixbuf_loader_get_animation (GdkPixbufLoader *loader);
+void gdk_pixbuf_loader_close (GdkPixbufLoader *loader);
-
#ifdef __cplusplus
}