summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: