diff options
author | Havoc Pennington <hp@redhat.com> | 2001-10-22 21:06:55 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-10-22 21:06:55 +0000 |
commit | 347da0ea5f2948f404c715acb1ba753c08c86e27 (patch) | |
tree | 9ba45d63a8b0492ef9a0a2afa897e51d0737d623 /gtk/gtktextview.c | |
parent | c33d17189fed02f67d7e8c68006dc86cd5720520 (diff) | |
download | gtk+-347da0ea5f2948f404c715acb1ba753c08c86e27.tar.gz |
fix #62436
2001-10-22 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_get_window_type): fix
#62436
Diffstat (limited to 'gtk/gtktextview.c')
-rw-r--r-- | gtk/gtktextview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 4462a45845..94869650a9 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -5833,7 +5833,7 @@ gtk_text_view_get_window_type (GtkTextView *text_view, GtkTextWindow *win; g_return_val_if_fail (GTK_IS_TEXT_VIEW (text_view), 0); - g_return_val_if_fail (GDK_IS_WINDOW (text_view), 0); + g_return_val_if_fail (GDK_IS_WINDOW (window), 0); if (window == GTK_WIDGET (text_view)->window) return GTK_TEXT_WINDOW_WIDGET; |