mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
ea84e974e6
This makes GdkSnapshot the base class for GtkSnapshot and hopefully stops confusing bindings. C code should see no difference to before.
24 lines
615 B
C
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__ */
|