diff --git a/zathura/links.c b/zathura/links.c index 47c6c38..293691c 100644 --- a/zathura/links.c +++ b/zathura/links.c @@ -114,7 +114,7 @@ zathura_link_target_t zathura_link_get_target(zathura_link_t* link) { if (link == NULL) { - zathura_link_target_t target = { 0, NULL, 0, 0, 0, 0, 0, { 0 } }; + zathura_link_target_t target = { 0, NULL, 0, 0, 0, 0, 0, 0 }; return target; } diff --git a/zathura/types.h b/zathura/types.h index e11afbe..a4542e4 100644 --- a/zathura/types.h +++ b/zathura/types.h @@ -179,10 +179,7 @@ typedef struct zathura_link_target_s double right; /**< Right coordinate */ double top; /**< Top coordinate */ double bottom; /**< Bottom coordinate */ - union { - double DEPRECATED(scale); /**< @deprecated Scale */ - double zoom; /**< Zoom */ - }; + double zoom; /**< Zoom */ } zathura_link_target_t; /**