diff options
author | infirit <[email protected]> | 2015-07-06 20:37:37 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-06 20:37:37 +0200 |
commit | b1a9157125af03750b8bf9ba92972ae0988bc7bb (patch) | |
tree | e4e70b4458f141423ba98705ee383aed91cae5a9 | |
parent | 3aaa999053462f255aca40300042c209b47aca65 (diff) | |
download | mate-sensors-applet-b1a9157125af03750b8bf9ba92972ae0988bc7bb.tar.bz2 mate-sensors-applet-b1a9157125af03750b8bf9ba92972ae0988bc7bb.tar.xz |
Replace deprecated gtk_rc_style_unref with g_object_unref
-rw-r--r-- | sensors-applet/sensors-applet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sensors-applet/sensors-applet.c b/sensors-applet/sensors-applet.c index bc62f35..c047a1d 100644 --- a/sensors-applet/sensors-applet.c +++ b/sensors-applet/sensors-applet.c @@ -138,7 +138,7 @@ static void change_background_cb(MatePanelApplet *applet, gtk_widget_set_style(GTK_WIDGET(applet), NULL); rc_style = gtk_rc_style_new(); gtk_widget_modify_style(GTK_WIDGET(applet), rc_style); - gtk_rc_style_unref(rc_style); + g_object_unref(rc_style); switch(type) { case PANEL_COLOR_BACKGROUND: |