diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-07-18 23:39:26 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-07-18 23:39:26 +0000 |
commit | 4e2b60ac4d32c5bef5b192a12a59f8c2a3124f81 (patch) | |
tree | 63b0cecda2350e250c3a1de4a53f43befab1b076 /gtk/gtkscale.c | |
parent | b613a74cb20a480f9d95579243278660af300cee (diff) | |
download | gtk+-4e2b60ac4d32c5bef5b192a12a59f8c2a3124f81.tar.gz |
Patch from Matthias Clasen to remove remove all instances of
Wed Jul 18 19:28:46 2001 Owen Taylor <otaylor@redhat.com>
* gtk/*.c: Patch from Matthias Clasen to remove remove
all instances of g_return_if_fail (foo != NULL); that are
immediately before a g_return_if_fail (GTK_IS_FOO (foo));
since the second check catches the NULL anyways.
Diffstat (limited to 'gtk/gtkscale.c')
-rw-r--r-- | gtk/gtkscale.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c index d3fc24d989..10cf85ea6b 100644 --- a/gtk/gtkscale.c +++ b/gtk/gtkscale.c @@ -416,7 +416,6 @@ void gtk_scale_set_draw_value (GtkScale *scale, gboolean draw_value) { - g_return_if_fail (scale != NULL); g_return_if_fail (GTK_IS_SCALE (scale)); draw_value = draw_value != FALSE; @@ -513,7 +512,6 @@ _gtk_scale_get_value_size (GtkScale *scale, { GtkRange *range; - g_return_if_fail (scale != NULL); g_return_if_fail (GTK_IS_SCALE (scale)); if (scale->draw_value) |