[gtk/gtk-4-6] Apply 1 suggestion(s) to 1 file(s)
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-4-6] Apply 1 suggestion(s) to 1 file(s)
- Date: Wed, 16 Mar 2022 02:20:18 +0000 (UTC)
commit ba885e2ace2b950f5e680e813ba96b8f12ffe99e
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Mar 15 14:35:09 2022 +0000
Apply 1 suggestion(s) to 1 file(s)
gtk/gtkplacessidebar.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 60f07e4558..89f5b69ff1 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -921,9 +921,7 @@ create_cloud_provider_account_row (GtkPlacesSidebar *sidebar,
g_free (tooltip);
g_free (mount_uri);
- if (end_icon) {
- g_object_unref (end_icon);
- }
+ g_clear_object (&end_icon);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]