diff options
author | Havoc Pennington <hp@pobox.com> | 2001-12-03 05:21:53 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-12-03 05:21:53 +0000 |
commit | 35fcacbf8cdc93f83e289c6fdc82abf663e8e878 (patch) | |
tree | 205e22c5a63fcec0c6a65f379d5c987567181237 /gtk | |
parent | b15bf68d9ec8318e0a2637dc70b0e2f9412d6866 (diff) | |
download | gtk+-35fcacbf8cdc93f83e289c6fdc82abf663e8e878.tar.gz |
Hmm, setter functions normally assign the new value to the object field.
2001-12-03 Havoc Pennington <hp@pobox.com>
* gtk/gtktextview.c (set_window_height):
(set_window_width): Hmm, setter functions normally assign the new
value to the object field. Reported by Chris Phelps.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtktextview.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index f5595ecee1..046553c1a0 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -6457,6 +6457,8 @@ set_window_width (GtkTextView *text_view, { if ((*winp)->requisition.width == width) return; + + (*winp)->requisition.width = width; } gtk_widget_queue_resize (GTK_WIDGET (text_view)); @@ -6495,6 +6497,8 @@ set_window_height (GtkTextView *text_view, { if ((*winp)->requisition.height == height) return; + + (*winp)->requisition.height = height; } gtk_widget_queue_resize (GTK_WIDGET (text_view)); |