From d428ba3c7766b9ba01903ee9dd468b15936219e9 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sun, 24 Apr 2016 17:43:12 +0200 Subject: [PATCH] Fix a macro --- zathura/page-widget.h | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/zathura/page-widget.h b/zathura/page-widget.h index d18c63f..79057dc 100644 --- a/zathura/page-widget.h +++ b/zathura/page-widget.h @@ -25,18 +25,17 @@ struct zathura_page_widget_class_s GtkDrawingAreaClass parent_class; }; -#define ZATHURA_TYPE_PAGE \ - (zathura_page_widget_get_type ()) -#define ZATHURA_PAGE(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST ((obj), ZATHURA_TYPE_PAGE, ZathuraPage)) -#define ZATHURA_PAGE_CLASS(obj) \ - (G_TYPE_CHECK_CLASS_CAST ((obj), ZATHURA_TYPE_PAGE, ZathuraPageClass)) -#define ZATHURA_IS_PAGE(obj) \ - (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ZATHURA_TYPE_PAGE)) -#define ZATHURA_IS_PAGE_CLASS(obj) \ - (G_TYPE_CHECK_CLASS_TYPE ((obj), ZATHURA_TYPE_PAGE)) -#define ZATHURA_PAGE_GET_CLASS \ - (G_TYPE_INSTANCE_GET_CLASS ((obj), ZATHURA_TYPE_PAGE, ZathuraPageClass)) +#define ZATHURA_TYPE_PAGE (zathura_page_widget_get_type()) +#define ZATHURA_PAGE(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj), ZATHURA_TYPE_PAGE, ZathuraPage)) +#define ZATHURA_PAGE_CLASS(obj) \ + (G_TYPE_CHECK_CLASS_CAST((obj), ZATHURA_TYPE_PAGE, ZathuraPageClass)) +#define ZATHURA_IS_PAGE(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj), ZATHURA_TYPE_PAGE)) +#define ZATHURA_IS_PAGE_CLASS(obj) \ + (G_TYPE_CHECK_CLASS_TYPE((obj), ZATHURA_TYPE_PAGE)) +#define ZATHURA_PAGE_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS((obj), ZATHURA_TYPE_PAGE, ZathuraPageClass)) /** * Returns the type of the page view widget.