summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-08-08 16:19:27 +0200
committerZenWalker <[email protected]>2020-08-16 04:34:23 +0200
commit1558f84366a4ecc37d31ab75ca6ec363d86fa667 (patch)
treedc0839f8b1ea70e03e6ab3027b954217b86b7b71 /libview
parent0d0c4aad2ed8ee9bcd8cd95a0e7ae57f4cd47e86 (diff)
downloadatril-1558f84366a4ecc37d31ab75ca6ec363d86fa667.tar.bz2
atril-1558f84366a4ecc37d31ab75ca6ec363d86fa667.tar.xz
Remove unused macros
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-print-operation.c4
-rw-r--r--libview/ev-view.c4
-rw-r--r--libview/ev-web-view.c3
3 files changed, 0 insertions, 11 deletions
diff --git a/libview/ev-print-operation.c b/libview/ev-print-operation.c
index be258b76..baccc179 100644
--- a/libview/ev-print-operation.c
+++ b/libview/ev-print-operation.c
@@ -361,8 +361,6 @@ ev_print_operation_update_status (EvPrintOperation *op,
/* Export interface */
#define EV_TYPE_PRINT_OPERATION_EXPORT (ev_print_operation_export_get_type())
#define EV_PRINT_OPERATION_EXPORT(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_PRINT_OPERATION_EXPORT, EvPrintOperationExport))
-#define EV_PRINT_OPERATION_EXPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_PRINT_OPERATION_EXPORT, EvPrintOperationExportClass))
-#define EV_IS_PRINT_OPERATION_EXPORT(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_PRINT_OPERATION_EXPORT))
typedef struct _EvPrintOperationExport EvPrintOperationExport;
typedef struct _EvPrintOperationExportClass EvPrintOperationExportClass;
@@ -1508,8 +1506,6 @@ ev_print_operation_export_class_init (EvPrintOperationExportClass *klass)
/* Print to cairo interface */
#define EV_TYPE_PRINT_OPERATION_PRINT (ev_print_operation_print_get_type())
#define EV_PRINT_OPERATION_PRINT(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_PRINT_OPERATION_PRINT, EvPrintOperationPrint))
-#define EV_PRINT_OPERATION_PRINT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_PRINT_OPERATION_PRINT, EvPrintOperationPrintClass))
-#define EV_IS_PRINT_OPERATION_PRINT(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_PRINT_OPERATION_PRINT))
typedef struct _EvPrintOperationPrint EvPrintOperationPrint;
typedef struct _EvPrintOperationPrintClass EvPrintOperationPrintClass;
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 29b06fbe..2e01035e 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -46,10 +46,6 @@
#include "ev-view-private.h"
#include "ev-view-type-builtins.h"
-#define EV_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_VIEW, EvViewClass))
-#define EV_IS_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_VIEW))
-#define EV_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_VIEW, EvViewClass))
-
enum {
SIGNAL_SCROLL,
SIGNAL_HANDLE_LINK,
diff --git a/libview/ev-web-view.c b/libview/ev-web-view.c
index 3fa532f4..ecd7a02b 100644
--- a/libview/ev-web-view.c
+++ b/libview/ev-web-view.c
@@ -31,9 +31,6 @@
#include "ev-document-model.h"
#include "ev-jobs.h"
-#define EV_WEB_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_WEB_VIEW, EvWebViewClass))
-#define EV_IS_WEB_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_WEB_VIEW))
-#define EV_WEB_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_WEB_VIEW, EvWebViewClass))
typedef enum {
EV_WEB_VIEW_FIND_NEXT,