summaryrefslogtreecommitdiff
path: root/src/nautilus-sidebar-title.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-sidebar-title.c')
-rw-r--r--src/nautilus-sidebar-title.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nautilus-sidebar-title.c b/src/nautilus-sidebar-title.c
index 819873129..bd90a824a 100644
--- a/src/nautilus-sidebar-title.c
+++ b/src/nautilus-sidebar-title.c
@@ -161,8 +161,8 @@ smooth_font_changed_callback (gpointer callback_data)
eel_label_set_smooth_font (EEL_LABEL (sidebar_title->details->title_label), new_bold_font);
eel_label_set_smooth_font (EEL_LABEL (sidebar_title->details->more_info_label), new_font);
- g_object_unref (G_OBJECT (new_font));
- g_object_unref (G_OBJECT (new_bold_font));
+ g_object_unref (new_font);
+ g_object_unref (new_bold_font);
#endif
}
@@ -576,7 +576,7 @@ update_title_font (NautilusSidebarTitle *sidebar_title)
eel_label_set_smooth_font_size (EEL_LABEL (sidebar_title->details->title_label),
largest_fitting_smooth_font_size);
- g_object_unref (G_OBJECT (smooth_font));
+ g_object_unref (smooth_font);
/* Update the regular font */
template_font = get_non_smooth_font (MAX_TITLE_FONT_SIZE);
@@ -764,7 +764,7 @@ update_emblems (NautilusSidebarTitle *sidebar_title)
FALSE, NULL, FALSE);
if (pixbuf != NULL) {
add_emblem (sidebar_title, pixbuf);
- g_object_unref (G_OBJECT (pixbuf));
+ g_object_unref (pixbuf);
}
}