diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-02-13 13:21:10 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-02-13 13:21:10 +0000 |
commit | 634850fdf9978beda07f5e341876ba541c50158b (patch) | |
tree | 32b8f58cfd9d9295ced48a9f0a47e136e3d84844 /gtk/gtkscale.c | |
parent | 7054daac80b26caf71bee4543b3303c3a36a3d93 (diff) | |
download | gtk+-634850fdf9978beda07f5e341876ba541c50158b.tar.gz |
Fix various compilation problems (#134312, David Hawthorne)
Fri Feb 13 08:17:43 2004 Owen Taylor <otaylor@redhat.com>
Fix various compilation problems (#134312, David
Hawthorne)
* gtk/gtkscale.c (gtk_scale_get_layout_offsets): Use
g_return_if_fail(), not g_return_val_if_fail().
* gtk/gtkvscale.c (gtk_vscale_get_layout_offsets):
* gtk/gtkhscale.c (gtk_hscale_get_layout_offsets): Use
g_return_if_reached(), not g_return_val_if_reached().
* gtk/gtkvscale.c (gtk_vscale_expose): Fix the types
of some parameters.
* gtk/gtkhscale.c (gtk_hscale_get_layout_offsets): Remove
extra 'scale' parameter.
Diffstat (limited to 'gtk/gtkscale.c')
-rw-r--r-- | gtk/gtkscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c index 003d56461d..3fdab558eb 100644 --- a/gtk/gtkscale.c +++ b/gtk/gtkscale.c @@ -721,7 +721,7 @@ gtk_scale_get_layout_offsets (GtkScale *scale, { gint local_x, local_y; - g_return_val_if_fail (GTK_IS_SCALE (scale), NULL); + g_return_if_fail (GTK_IS_SCALE (scale)); if (GTK_SCALE_GET_CLASS (scale)->get_layout_offsets) (GTK_SCALE_GET_CLASS (scale)->get_layout_offsets) (scale, &local_x, &local_y); |