GtkPlacesSidebar: Don't return FALSE as a pointer

Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741250
This commit is contained in:
Matthias Clasen
2014-12-08 09:15:07 -05:00
parent a3fbf29f17
commit a3e37abb38

View File

@ -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);
}