From 48d44402e8920ec9df7c34930e703f246687c83e Mon Sep 17 00:00:00 2001 From: monsta Date: Thu, 13 Apr 2017 17:35:03 +0300 Subject: use g_object_unref instead of deprecated rsvg_handle_free it's deprecated since 2006: https://git.gnome.org/browse/librsvg/commit/?id=2b7c95c7a102351ccc903375c35a17b05b6c24e7 --- libslab/search-entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libslab') diff --git a/libslab/search-entry.c b/libslab/search-entry.c index 26a54665..2fd3ae64 100644 --- a/libslab/search-entry.c +++ b/libslab/search-entry.c @@ -112,7 +112,7 @@ nld_search_entry_realize (GtkWidget * widget) if (priv->watermark) g_object_unref (priv->watermark); priv->watermark = rsvg_handle_get_pixbuf (rsvg); - rsvg_handle_free (rsvg); + g_object_unref (rsvg); } static gboolean -- cgit v1.2.1