summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-04-13 17:35:03 +0300
committermonsta <[email protected]>2017-04-13 17:35:03 +0300
commit48d44402e8920ec9df7c34930e703f246687c83e (patch)
tree97bed86f6b8828de47239d4a6ef1553bf7075584
parentb7014646028f90d2336fcce9da1a063f001e4775 (diff)
downloadmate-control-center-48d44402e8920ec9df7c34930e703f246687c83e.tar.bz2
mate-control-center-48d44402e8920ec9df7c34930e703f246687c83e.tar.xz
use g_object_unref instead of deprecated rsvg_handle_free
it's deprecated since 2006: https://git.gnome.org/browse/librsvg/commit/?id=2b7c95c7a102351ccc903375c35a17b05b6c24e7
-rw-r--r--libslab/search-entry.c2
1 files changed, 1 insertions, 1 deletions
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