diff --git a/ChangeLog b/ChangeLog index 76fc386901..329c052ba4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-02-28 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array + for custom tabs, reported by Paolo Maggi #72980 + Thu Feb 28 19:55:01 2002 Owen Taylor * gdk/gdkkeys.c: include gdkkeysysms.h if diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 76fc386901..329c052ba4 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +2002-02-28 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array + for custom tabs, reported by Paolo Maggi #72980 + Thu Feb 28 19:55:01 2002 Owen Taylor * gdk/gdkkeys.c: include gdkkeysysms.h if diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 76fc386901..329c052ba4 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2002-02-28 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array + for custom tabs, reported by Paolo Maggi #72980 + Thu Feb 28 19:55:01 2002 Owen Taylor * gdk/gdkkeys.c: include gdkkeysysms.h if diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 76fc386901..329c052ba4 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2002-02-28 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array + for custom tabs, reported by Paolo Maggi #72980 + Thu Feb 28 19:55:01 2002 Owen Taylor * gdk/gdkkeys.c: include gdkkeysysms.h if diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 76fc386901..329c052ba4 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2002-02-28 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array + for custom tabs, reported by Paolo Maggi #72980 + Thu Feb 28 19:55:01 2002 Owen Taylor * gdk/gdkkeys.c: include gdkkeysysms.h if diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 76fc386901..329c052ba4 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2002-02-28 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array + for custom tabs, reported by Paolo Maggi #72980 + Thu Feb 28 19:55:01 2002 Owen Taylor * gdk/gdkkeys.c: include gdkkeysysms.h if diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 76fc386901..329c052ba4 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2002-02-28 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array + for custom tabs, reported by Paolo Maggi #72980 + Thu Feb 28 19:55:01 2002 Owen Taylor * gdk/gdkkeys.c: include gdkkeysysms.h if diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index fc50cd8471..a8f7f35d4a 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -2407,6 +2407,9 @@ gtk_text_view_finalize (GObject *object) free_pending_scroll (text_view->pending_scroll); text_view->pending_scroll = NULL; } + + if (text_view->tabs) + pango_tab_array_free (text_view->tabs); if (text_view->hadjustment) g_object_unref (G_OBJECT (text_view->hadjustment));