diff options
author | rbuj <[email protected]> | 2020-12-31 15:00:39 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-01-28 21:11:52 +0100 |
commit | 4ebdb7cb4fde2b05186c8ee8a832b9c242bee302 (patch) | |
tree | bd79209ba6e9bfef58e1717530338babad96b66e /image-converter/caja-image-rotator.h | |
parent | 1150637b1f8ce17ea11a5fadcf3086ea1da320ba (diff) | |
download | caja-extensions-4ebdb7cb4fde2b05186c8ee8a832b9c242bee302.tar.bz2 caja-extensions-4ebdb7cb4fde2b05186c8ee8a832b9c242bee302.tar.xz |
caja-image-rotator: promote to final class
Diffstat (limited to 'image-converter/caja-image-rotator.h')
-rw-r--r-- | image-converter/caja-image-rotator.h | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/image-converter/caja-image-rotator.h b/image-converter/caja-image-rotator.h index 55222d3..e8b59b7 100644 --- a/image-converter/caja-image-rotator.h +++ b/image-converter/caja-image-rotator.h @@ -21,36 +21,19 @@ * */ -#ifndef CAJA_IMAGE_ROTATOR_H -#define CAJA_IMAGE_ROTATOR_H +#ifndef __CAJA_IMAGE_ROTATOR_H__ +#define __CAJA_IMAGE_ROTATOR_H__ #include <glib-object.h> G_BEGIN_DECLS #define CAJA_TYPE_IMAGE_ROTATOR (caja_image_rotator_get_type ()) -#define CAJA_IMAGE_ROTATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CAJA_TYPE_IMAGE_ROTATOR, CajaImageRotator)) -#define CAJA_IMAGE_ROTATOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), CAJA_TYPE_IMAGE_ROTATOR, CajaImageRotatorClass)) -#define CAJA_IS_IMAGE_ROTATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CAJA_TYPE_IMAGE_ROTATOR)) -#define CAJA_IS_IMAGE_ROTATOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CAJA_TYPE_IMAGE_ROTATOR)) -#define CAJA_IMAGE_ROTATOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CAJA_TYPE_IMAGE_ROTATOR, CajaImageRotatorClass)) +G_DECLARE_FINAL_TYPE (CajaImageRotator, caja_image_rotator, CAJA, IMAGE_ROTATOR, GObject) -typedef struct _CajaImageRotator CajaImageRotator; -typedef struct _CajaImageRotatorClass CajaImageRotatorClass; - -struct _CajaImageRotator { - GObject parent; -}; - -struct _CajaImageRotatorClass { - GObjectClass parent_class; - /* Add Signal Functions Here */ -}; - -GType caja_image_rotator_get_type (void); CajaImageRotator *caja_image_rotator_new (GList *files); void caja_image_rotator_show_dialog (CajaImageRotator *dialog); G_END_DECLS -#endif /* CAJA_IMAGE_ROTATOR_H */ +#endif /* __CAJA_IMAGE_ROTATOR_H__ */ |