]> Pileus Git - ~andy/gtk/commitdiff
Call text_window_realize() with the correct parameters. (#393813, Yevgen
authorMatthias Clasen <mclasen@redhat.com>
Sun, 7 Jan 2007 07:19:07 +0000 (07:19 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 7 Jan 2007 07:19:07 +0000 (07:19 +0000)
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=/trunk/; revision=17101

ChangeLog
gtk/gtktextview.c

index 32fb18761ce919ae54f6f259f7ead0acd70aa84e..0b3178f2e170a9c9ac4bcb554e2d9390d9329466 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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-07  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkstatusbar.c: Move docs inline, and expand them 
index 910125dbdcbf04048a81b9180fa499cc2fbb9d18..2e82d2445e752c39b47bf4aa764863d2910b6655 100644 (file)
@@ -8182,7 +8182,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
         {
@@ -8222,7 +8222,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
         {