From 9b673dc98bad10137e91b08bf83f5ff9e409feb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Thu, 21 Nov 2019 17:19:27 +0700 Subject: [PATCH] st/icon: Use existing method for getting gicon property We have an existing method for this, let's use it instead of accessing the private property here. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/888 --- src/st/st-icon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st/st-icon.c b/src/st/st-icon.c index 0f9aa43d2..4a92e9e5c 100644 --- a/src/st/st-icon.c +++ b/src/st/st-icon.c @@ -115,7 +115,7 @@ st_icon_get_property (GObject *gobject, switch (prop_id) { case PROP_GICON: - g_value_set_object (value, icon->priv->gicon); + g_value_set_object (value, st_icon_get_gicon (icon)); break; case PROP_ICON_NAME: