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.
This commit is contained in:
Havoc Pennington 2001-12-03 05:21:53 +00:00 committed by Havoc Pennington
parent b15bf68d9e
commit 35fcacbf8c
8 changed files with 46 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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.
2001-11-30 jacob berkman <jacob@ximian.com>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the

View File

@ -1,3 +1,9 @@
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.
2001-11-30 jacob berkman <jacob@ximian.com>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the

View File

@ -1,3 +1,9 @@
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.
2001-11-30 jacob berkman <jacob@ximian.com>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the

View File

@ -1,3 +1,9 @@
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.
2001-11-30 jacob berkman <jacob@ximian.com>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the

View File

@ -1,3 +1,9 @@
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.
2001-11-30 jacob berkman <jacob@ximian.com>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the

View File

@ -1,3 +1,9 @@
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.
2001-11-30 jacob berkman <jacob@ximian.com>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the

View File

@ -1,3 +1,9 @@
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.
2001-11-30 jacob berkman <jacob@ximian.com>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the

View File

@ -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));