Commit 84a53675 authored by Umang Jain's avatar Umang Jain
Browse files

print-operation: Use G_DECLARE_FINAL_TYPE

https://bugzilla.gnome.org/show_bug.cgi?id=763712
parent 59ee63b2
......@@ -46,11 +46,6 @@ struct _PhotosPrintOperation
gdouble scale_factor;
};
struct _PhotosPrintOperationClass
{
GtkPrintOperationClass parent_class;
};
enum
{
......
......@@ -33,19 +33,7 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_PRINT_OPERATION (photos_print_operation_get_type ())
#define PHOTOS_PRINT_OPERATION(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
PHOTOS_TYPE_PRINT_OPERATION, PhotosPrintOperation))
#define PHOTOS_IS_PRINT_OPERATION(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
PHOTOS_TYPE_PRINT_OPERATION))
typedef struct _PhotosPrintOperation PhotosPrintOperation;
typedef struct _PhotosPrintOperationClass PhotosPrintOperationClass;
GType photos_print_operation_get_type (void) G_GNUC_CONST;
G_DECLARE_FINAL_TYPE (PhotosPrintOperation, photos_print_operation, PHOTOS, PRINT_OPERATION, GtkPrintOperation);
GtkPrintOperation *photos_print_operation_new (PhotosBaseItem *item, GeglNode *node);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment