From b1a9157125af03750b8bf9ba92972ae0988bc7bb Mon Sep 17 00:00:00 2001 From: infirit Date: Mon, 6 Jul 2015 20:37:37 +0200 Subject: Replace deprecated gtk_rc_style_unref with g_object_unref --- sensors-applet/sensors-applet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.1