[gtk+] GtkPlacesSidebar: Don't return FALSE as a pointer
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkPlacesSidebar: Don't return FALSE as a pointer
- Date: Mon, 8 Dec 2014 14:17:17 +0000 (UTC)
commit a3e37abb3873ae880b4075be202bfad58cb2bbf5
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Dec 8 09:15:07 2014 -0500
GtkPlacesSidebar: Don't return FALSE as a pointer
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741250
gtk/gtkplacessidebar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 48364d8..23903a9 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -5129,7 +5129,7 @@ gtk_places_sidebar_remove_shortcut (GtkPlacesSidebar *sidebar,
GSList *
gtk_places_sidebar_list_shortcuts (GtkPlacesSidebar *sidebar)
{
- g_return_val_if_fail (GTK_IS_PLACES_SIDEBAR (sidebar), FALSE);
+ g_return_val_if_fail (GTK_IS_PLACES_SIDEBAR (sidebar), NULL);
return g_slist_copy_deep (sidebar->shortcuts, (GCopyFunc) g_object_ref, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]