summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystem.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2004-01-30 19:49:40 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2004-01-30 19:49:40 +0000
commita9fbfc99f522be13c5963a5bd102ccbad07a5bd5 (patch)
tree14f1f134fdc436e1c6963a44dc28e729404d47f7 /gtk/gtkfilesystem.c
parentca644c41078d47fc5eb81a2e5b39b81ab3b60b27 (diff)
downloadgtk+-a9fbfc99f522be13c5963a5bd102ccbad07a5bd5.tar.gz
Fixes #132975.
2004-01-30 Federico Mena Quintero <federico@ximian.com> Fixes #132975. * gtk/gtkfilesystem.c (gtk_file_system_make_path): Return NULL, not FALSE. (gtk_file_system_volume_render_icon): Likewise. * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path): Likewise. * gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Return 0, not FALSE. * gtk/gtktoolbar.c (gtk_toolbar_get_drop_index): Return -1, not FALSE. * gtk/gtktextiter.c (gtk_text_iter_get_chars_in_line): Return 0, not FALSE. (gtk_text_iter_get_bytes_in_line): Likewise. * gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size): Likewise. * gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Return FALSE, not 0.
Diffstat (limited to 'gtk/gtkfilesystem.c')
-rw-r--r--gtk/gtkfilesystem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c
index 31d73d3ddc..de1cb6e8c4 100644
--- a/gtk/gtkfilesystem.c
+++ b/gtk/gtkfilesystem.c
@@ -480,7 +480,7 @@ gtk_file_system_volume_render_icon (GtkFileSystem *file_system,
g_return_val_if_fail (volume != NULL, NULL);
g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
g_return_val_if_fail (pixel_size > 0, NULL);
- g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
+ g_return_val_if_fail (error == NULL || *error == NULL, NULL);
return GTK_FILE_SYSTEM_GET_IFACE (file_system)->volume_render_icon (file_system,
volume,
@@ -536,7 +536,7 @@ gtk_file_system_make_path (GtkFileSystem *file_system,
g_return_val_if_fail (GTK_IS_FILE_SYSTEM (file_system), NULL);
g_return_val_if_fail (base_path != NULL, NULL);
g_return_val_if_fail (display_name != NULL, NULL);
- g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
+ g_return_val_if_fail (error == NULL || *error == NULL, NULL);
return GTK_FILE_SYSTEM_GET_IFACE (file_system)->make_path (file_system, base_path, display_name, error);
}