Commit 13bcd2c0 authored by Behdad Esfahbod's avatar Behdad Esfahbod Committed by Behdad Esfahbod

Return NULL instead of FALSE in g_return_val_if_fail in a

2006-03-31  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkfilesystem.c (gtk_file_system_get_bookmark_label):
        * gtk/gtklinkbutton.c (gtk_link_button_new_with_label): Return NULL
        instead of FALSE in g_return_val_if_fail in a pointer-returning
        function. (#336764, Morten Welinder)
parent 67e5f53e
2006-03-31 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkfilesystem.c (gtk_file_system_get_bookmark_label):
* gtk/gtklinkbutton.c (gtk_link_button_new_with_label): Return NULL
instead of FALSE in g_return_val_if_fail in a pointer-returning
function. (#336764, Morten Welinder)
2006-04-01 Gora Mohanty <gmohanty@cvs.gnome.org>
* configure.in: Added 'or' (Oriya) to ALL_LINGUAS.
* configure.in: Added 'or' (Oriya) to ALL_LINGUAS.
2006-03-31 Matthias Clasen <mclasen@redhat.com>
......
2006-03-31 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkfilesystem.c (gtk_file_system_get_bookmark_label):
* gtk/gtklinkbutton.c (gtk_link_button_new_with_label): Return NULL
instead of FALSE in g_return_val_if_fail in a pointer-returning
function. (#336764, Morten Welinder)
2006-04-01 Gora Mohanty <gmohanty@cvs.gnome.org>
* configure.in: Added 'or' (Oriya) to ALL_LINGUAS.
* configure.in: Added 'or' (Oriya) to ALL_LINGUAS.
2006-03-31 Matthias Clasen <mclasen@redhat.com>
......
......@@ -793,7 +793,7 @@ gtk_file_system_get_bookmark_label (GtkFileSystem *file_system,
GtkFileSystemIface *iface;
g_return_val_if_fail (GTK_IS_FILE_SYSTEM (file_system), NULL);
g_return_val_if_fail (path != NULL, FALSE);
g_return_val_if_fail (path != NULL, NULL);
iface = GTK_FILE_SYSTEM_GET_IFACE (file_system);
if (iface->get_bookmark_label)
......
......@@ -563,7 +563,7 @@ gtk_link_button_new_with_label (const gchar *uri,
{
GtkWidget *retval;
g_return_val_if_fail (uri != NULL, FALSE);
g_return_val_if_fail (uri != NULL, NULL);
if (!label)
return gtk_link_button_new (uri);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment