summaryrefslogtreecommitdiff
path: root/gtk/gtkprogress.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2004-10-28 15:00:05 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-10-28 15:00:05 +0000
commitd5f92150d4b8bffb78cd5110cbb2c28bfdf81136 (patch)
tree0d79978a95c24dcbdb2d9fd577dedf0da2795ece /gtk/gtkprogress.c
parentdbba41045ecb383810fb8962ee9b83998a89c37d (diff)
downloadgdk-pixbuf-d5f92150d4b8bffb78cd5110cbb2c28bfdf81136.tar.gz
Fix many sparse warnings.
Diffstat (limited to 'gtk/gtkprogress.c')
-rw-r--r--gtk/gtkprogress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkprogress.c b/gtk/gtkprogress.c
index b32b8a697..368eead79 100644
--- a/gtk/gtkprogress.c
+++ b/gtk/gtkprogress.c
@@ -713,7 +713,7 @@ gtk_progress_set_format_string (GtkProgress *progress,
gchar *
gtk_progress_get_current_text (GtkProgress *progress)
{
- g_return_val_if_fail (GTK_IS_PROGRESS (progress), 0);
+ g_return_val_if_fail (GTK_IS_PROGRESS (progress), NULL);
if (!progress->adjustment)
gtk_progress_set_adjustment (progress, NULL);
@@ -726,7 +726,7 @@ gchar *
gtk_progress_get_text_from_value (GtkProgress *progress,
gdouble value)
{
- g_return_val_if_fail (GTK_IS_PROGRESS (progress), 0);
+ g_return_val_if_fail (GTK_IS_PROGRESS (progress), NULL);
if (!progress->adjustment)
gtk_progress_set_adjustment (progress, NULL);