diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-06-08 15:34:30 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-06-08 15:34:30 +0000 |
commit | 16400b3a1a896f0708c77b76473eaea2e3232e11 (patch) | |
tree | f80f97cbd23480e195d70913f6aa06c3a23a7067 /gtk/gtkviewport.c | |
parent | d3ba9631d0b6f0d118d04729fd0bdf9c5a6d42cf (diff) | |
download | gdk-pixbuf-16400b3a1a896f0708c77b76473eaea2e3232e11.tar.gz |
Fix bug with set_adjustment (viewport, NULL);
Sun Jun 8 11:27:29 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkviewport.c (viewport_set_adjustment): Fix bug with
set_adjustment (viewport, NULL);
Diffstat (limited to 'gtk/gtkviewport.c')
-rw-r--r-- | gtk/gtkviewport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c index e32b2bac6..2a63f4e11 100644 --- a/gtk/gtkviewport.c +++ b/gtk/gtkviewport.c @@ -441,7 +441,7 @@ viewport_set_adjustment (GtkViewport *viewport, GtkAdjustment **adjustmentp = ADJUSTMENT_POINTER (viewport, orientation); gboolean value_changed; - if (adjustment == *adjustmentp) + if (adjustment && adjustment == *adjustmentp) return; if (!adjustment) |