Call text_window_realize() with the correct parameters. (#393813, Yevgen

2007-01-07  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
        Call text_window_realize() with the correct parameters.
        (#393813, Yevgen Muntyan)



svn path=/branches/gtk-2-10/; revision=17102
This commit is contained in:
Matthias Clasen
2007-01-07 07:21:02 +00:00
committed by Matthias Clasen
parent 6185460f07
commit 14c5ed07c0
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2007-01-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_set_border_window_size):
Call text_window_realize() with the correct parameters.
(#393813, Yevgen Muntyan)
2007-01-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align

View File

@@ -8071,7 +8071,7 @@ set_window_width (GtkTextView *text_view,
width, 0);
/* if the widget is already realized we need to realize the child manually */
if (GTK_WIDGET_REALIZED (text_view))
text_window_realize (*winp, GTK_WIDGET (text_view)->window);
text_window_realize (*winp, GTK_WIDGET (text_view));
}
else
{
@@ -8111,7 +8111,7 @@ set_window_height (GtkTextView *text_view,
/* if the widget is already realized we need to realize the child manually */
if (GTK_WIDGET_REALIZED (text_view))
text_window_realize (*winp, GTK_WIDGET (text_view)->window);
text_window_realize (*winp, GTK_WIDGET (text_view));
}
else
{