Commit 75b7ce0b authored by Sebastian Ramacher's avatar Sebastian Ramacher

Mark zathura->global.page_padding as deprecated.

parent 9fe03f72
......@@ -147,7 +147,7 @@ endif
install-headers: ${PROJECT}.pc
$(ECHO) installing header files
$(QUIET)mkdir -p ${DESTDIR}${INCLUDEDIR}/${PROJECT}
$(QUIET)install -m 644 zathura.h document.h version.h ${DESTDIR}${INCLUDEDIR}/${PROJECT}
$(QUIET)install -m 644 zathura.h document.h version.h macros.h ${DESTDIR}${INCLUDEDIR}/${PROJECT}
$(ECHO) installing pkgconfig file
$(QUIET)mkdir -p ${DESTDIR}${LIBDIR}/pkgconfig
$(QUIET)install -m 644 ${PROJECT}.pc ${DESTDIR}${LIBDIR}/pkgconfig
......
/* See LICENSE file for license and copyright information */
#ifndef ZATHURA_MACROS_H
#define ZATHURA_MACROS_H
#include <girara/macros.h>
#define UNUSED(x) GIRARA_UNUSED(x)
#define DEPRECATED(x) GIRARA_DEPRECATED(x)
#endif
......@@ -5,10 +5,8 @@
#include <stdbool.h>
#include <girara/types.h>
#include <girara/macros.h>
#include <gtk/gtk.h>
#define UNUSED(x) GIRARA_UNUSED(x)
#include "macros.h"
enum { NEXT, PREVIOUS, LEFT, RIGHT, UP, DOWN, BOTTOM, TOP, HIDE, HIGHLIGHT,
DELETE_LAST_WORD, DELETE_LAST_CHAR, DEFAULT, ERROR, WARNING, NEXT_GROUP,
......@@ -84,7 +82,7 @@ typedef struct zathura_s
struct
{
unsigned int page_padding; /**< Padding between the pages */
unsigned int DEPRECATED(page_padding); /**< Padding between the pages */
bool recolor; /**< Recoloring mode switch */
bool update_page_number; /**< Update current page number */
} global;
......
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