[gtk+/gtk-3-14] GtkPlacesSidebar: Don't return FALSE as a pointer
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] GtkPlacesSidebar: Don't return FALSE as a pointer
- Date: Thu, 11 Dec 2014 14:31:02 +0000 (UTC)
commit 1d17891eaacdabe5a0019788fb7d7330eb247513
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 0f3780d..94ed70e 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -5123,7 +5123,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]