gtk/gdk/gdksnapshotprivate.h
Benjamin Otte ea84e974e6 snapshot: Turn into GObject
This makes GdkSnapshot the base class for GtkSnapshot and hopefully
stops confusing bindings.

C code should see no difference to before.
2018-03-18 19:21:33 +01:00

24 lines
615 B
C

#ifndef __GDK_SNAPSHOT_PRIVATE_H__
#define __GDK_SNAPSHOT_PRIVATE_H__
#include "gdksnapshot.h"
G_BEGIN_DECLS
#define GDK_SNAPSHOT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_SNAPSHOT, GdkSnapshotClass))
#define GDK_IS_SNAPSHOT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_SNAPSHOT))
#define GDK_SNAPSHOT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_SNAPSHOT, GdkSnapshotClass))
struct _GdkSnapshot
{
GObject parent_instance;
};
struct _GdkSnapshotClass {
GObjectClass parent_class;
};
G_END_DECLS
#endif /* __GDK_SNAPSHOT_PRIVATE_H__ */