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
This commit is contained in:
parent
c0fcf2d3a8
commit
9b673dc98b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user