1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-19 11:35:12 +00:00

Remove librsvg deprecated definitins.

This commit is contained in:
Brenden Matthews 2021-02-27 10:01:03 -06:00
parent 87daec7a0d
commit 05fff02e70
No known key found for this signature in database
GPG Key ID: B49ABB7270D9D4FD

View File

@ -80,18 +80,17 @@ typedef struct _RsvgPositionData {
tolua_outside void rsvgPositionDataGet @ get(int * x, int * y); tolua_outside void rsvgPositionDataGet @ get(int * x, int * y);
} RsvgPositionData; } RsvgPositionData;
RsvgHandle *rsvg_handle_new (void);
int rsvg_handle_write (RsvgHandle * handle, const unsigned char * buf,
unsigned long count, GError ** error);
int rsvg_handle_close (RsvgHandle * handle, GError ** error);
const char *rsvg_handle_get_base_uri (RsvgHandle * handle); const char *rsvg_handle_get_base_uri (RsvgHandle * handle);
void rsvg_handle_set_base_uri (RsvgHandle * handle, const char *base_uri); void rsvg_handle_set_base_uri (RsvgHandle * handle, const char *base_uri);
void rsvg_handle_get_dimensions (RsvgHandle * handle, RsvgDimensionData * dimension_data); void rsvg_handle_get_dimensions (RsvgHandle * handle, RsvgDimensionData * dimension_data);
int rsvg_handle_get_dimensions_sub (RsvgHandle * handle, RsvgDimensionData * dimension_data, const char *id); gboolean rsvg_handle_get_geometry_for_layer(RsvgHandle *handle,
int rsvg_handle_get_position_sub (RsvgHandle * handle, RsvgPositionData * position_data, const char *id); const char *id,
const RsvgRectangle *viewport,
RsvgRectangle *out_ink_rect,
RsvgRectangle *out_logical_rect,
GError **error);
int rsvg_handle_has_sub (RsvgHandle * handle, const char *id); int rsvg_handle_has_sub (RsvgHandle * handle, const char *id);