summaryrefslogtreecommitdiff
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
parentca644c41078d47fc5eb81a2e5b39b81ab3b60b27 (diff)
downloadgdk-pixbuf-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.
-rw-r--r--ChangeLog27
-rw-r--r--ChangeLog.pre-2-1027
-rw-r--r--ChangeLog.pre-2-427
-rw-r--r--ChangeLog.pre-2-627
-rw-r--r--ChangeLog.pre-2-827
-rw-r--r--gdk/linux-fb/gdkcolor-fb.c2
-rw-r--r--gdk/x11/gdkcursor-x11.c2
-rw-r--r--gtk/gtkfilesystem.c4
-rw-r--r--gtk/gtkfilesystemwin32.c2
-rw-r--r--gtk/gtktextiter.c4
-rw-r--r--gtk/gtktoolbar.c2
-rw-r--r--gtk/gtktreestore.c2
12 files changed, 144 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 6157bd99d..92de7c462 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,30 @@
+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.
+
2004-01-30 Not Zed <NotZed@Ximian.com>
Fixes #132929.
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 6157bd99d..92de7c462 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,30 @@
+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.
+
2004-01-30 Not Zed <NotZed@Ximian.com>
Fixes #132929.
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 6157bd99d..92de7c462 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,30 @@
+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.
+
2004-01-30 Not Zed <NotZed@Ximian.com>
Fixes #132929.
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 6157bd99d..92de7c462 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,30 @@
+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.
+
2004-01-30 Not Zed <NotZed@Ximian.com>
Fixes #132929.
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 6157bd99d..92de7c462 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,30 @@
+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.
+
2004-01-30 Not Zed <NotZed@Ximian.com>
Fixes #132929.
diff --git a/gdk/linux-fb/gdkcolor-fb.c b/gdk/linux-fb/gdkcolor-fb.c
index 179d1b750..20903d608 100644
--- a/gdk/linux-fb/gdkcolor-fb.c
+++ b/gdk/linux-fb/gdkcolor-fb.c
@@ -753,7 +753,7 @@ gdk_colors_alloc (GdkColormap *colormap,
private = GDK_COLORMAP_PRIVATE_DATA (colormap);
if (nplanes > 0)
- return 0;
+ return FALSE;
found = 0;
for (i = 1; i < colormap->size; i++)
diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c
index e69bb2823..24b5a340f 100644
--- a/gdk/x11/gdkcursor-x11.c
+++ b/gdk/x11/gdkcursor-x11.c
@@ -560,7 +560,7 @@ gdk_display_supports_cursor_color (GdkDisplay *display)
guint
gdk_display_get_default_cursor_size (GdkDisplay *display)
{
- g_return_val_if_fail (GDK_IS_DISPLAY (display), FALSE);
+ g_return_val_if_fail (GDK_IS_DISPLAY (display), 0);
/* no idea, really */
return 20;
diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c
index 31d73d3dd..de1cb6e8c 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);
}
diff --git a/gtk/gtkfilesystemwin32.c b/gtk/gtkfilesystemwin32.c
index 3ead85faa..7d21376de 100644
--- a/gtk/gtkfilesystemwin32.c
+++ b/gtk/gtkfilesystemwin32.c
@@ -528,7 +528,7 @@ gtk_file_system_win32_make_path (GtkFileSystem *file_system,
g_error_free (tmp_error);
g_free (base_filename);
- return FALSE;
+ return NULL;
}
full_filename = g_build_filename (base_filename, filename, NULL);
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c
index 823ddf253..b7ab25fa1 100644
--- a/gtk/gtktextiter.c
+++ b/gtk/gtktextiter.c
@@ -1649,7 +1649,7 @@ gtk_text_iter_get_chars_in_line (const GtkTextIter *iter)
gint count;
GtkTextLineSegment *seg;
- g_return_val_if_fail (iter != NULL, FALSE);
+ g_return_val_if_fail (iter != NULL, 0);
real = gtk_text_iter_make_surreal (iter);
@@ -1701,7 +1701,7 @@ gtk_text_iter_get_bytes_in_line (const GtkTextIter *iter)
gint count;
GtkTextLineSegment *seg;
- g_return_val_if_fail (iter != NULL, FALSE);
+ g_return_val_if_fail (iter != NULL, 0);
real = gtk_text_iter_make_surreal (iter);
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index 8a4226484..45f98d481 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -2944,7 +2944,7 @@ gtk_toolbar_get_drop_index (GtkToolbar *toolbar,
gint x,
gint y)
{
- g_return_val_if_fail (GTK_IS_TOOLBAR (toolbar), FALSE);
+ g_return_val_if_fail (GTK_IS_TOOLBAR (toolbar), -1);
if (!gtk_toolbar_check_new_api (toolbar))
return -1;
diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c
index 65f3194be..bdb5ef5d2 100644
--- a/gtk/gtktreestore.c
+++ b/gtk/gtktreestore.c
@@ -717,7 +717,7 @@ gtk_tree_store_iter_n_children (GtkTreeModel *tree_model,
gint i = 0;
g_return_val_if_fail (GTK_IS_TREE_STORE (tree_model), 0);
- g_return_val_if_fail (iter == NULL || iter->user_data != NULL, FALSE);
+ g_return_val_if_fail (iter == NULL || iter->user_data != NULL, 0);
if (iter == NULL)
node = G_NODE (GTK_TREE_STORE (tree_model)->root)->children;