mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-19 11:35:12 +00:00
rsvg_handle_get_intrinsic_size_in_pixels only available on librsvg 2.52
or newer.
This commit is contained in:
parent
12452f8896
commit
d3d804ef0f
@ -44,6 +44,7 @@
|
||||
|
||||
$#include <glib.h>
|
||||
$#include <librsvg/rsvg.h>
|
||||
$#include <librsvg/rsvg-version.h>
|
||||
$#include "librsvg-helper.h"
|
||||
|
||||
typedef struct _RsvgHandle RsvgHandle;
|
||||
@ -87,8 +88,10 @@ typedef struct _RsvgRectangle {
|
||||
const char *rsvg_handle_get_base_uri (RsvgHandle * handle);
|
||||
void rsvg_handle_set_base_uri (RsvgHandle * handle, const char *base_uri);
|
||||
|
||||
#if LIBRSVG_MAJOR_VERSION >= 2 && LIBRSVG_MINOR_VERSION >= 52
|
||||
gboolean rsvg_handle_get_intrinsic_size_in_pixels (RsvgHandle *handle,
|
||||
gdouble *out_width,
|
||||
#endif /* LIBRSVG_MAJOR_VERSION >= 2 && LIBRSVG_MINOR_VERSION >= 52 */
|
||||
gdouble *out_height);
|
||||
|
||||
gboolean rsvg_handle_get_geometry_for_layer(RsvgHandle *handle,
|
||||
|
Loading…
Reference in New Issue
Block a user