summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-07-06 20:37:37 +0200
committerinfirit <[email protected]>2015-07-06 20:37:37 +0200
commitb1a9157125af03750b8bf9ba92972ae0988bc7bb (patch)
treee4e70b4458f141423ba98705ee383aed91cae5a9
parent3aaa999053462f255aca40300042c209b47aca65 (diff)
downloadmate-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.c2
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: