mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 21:40:19 +00:00
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)
This commit is contained in:
parent
67e5f53e1e
commit
13bcd2c002
@ -1,6 +1,13 @@
|
|||||||
|
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>
|
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 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
@ -1,6 +1,13 @@
|
|||||||
|
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>
|
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 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
@ -793,7 +793,7 @@ gtk_file_system_get_bookmark_label (GtkFileSystem *file_system,
|
|||||||
GtkFileSystemIface *iface;
|
GtkFileSystemIface *iface;
|
||||||
|
|
||||||
g_return_val_if_fail (GTK_IS_FILE_SYSTEM (file_system), NULL);
|
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);
|
iface = GTK_FILE_SYSTEM_GET_IFACE (file_system);
|
||||||
if (iface->get_bookmark_label)
|
if (iface->get_bookmark_label)
|
||||||
|
@ -563,7 +563,7 @@ gtk_link_button_new_with_label (const gchar *uri,
|
|||||||
{
|
{
|
||||||
GtkWidget *retval;
|
GtkWidget *retval;
|
||||||
|
|
||||||
g_return_val_if_fail (uri != NULL, FALSE);
|
g_return_val_if_fail (uri != NULL, NULL);
|
||||||
|
|
||||||
if (!label)
|
if (!label)
|
||||||
return gtk_link_button_new (uri);
|
return gtk_link_button_new (uri);
|
||||||
|
Loading…
Reference in New Issue
Block a user