forked from AuroraMiddleware/gtk
free the tab array for custom tabs, reported by Paolo Maggi #72980
2002-02-28 Havoc Pennington <hp@pobox.com> * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array for custom tabs, reported by Paolo Maggi #72980
This commit is contained in:
parent
fce84d0535
commit
8836674aec
@ -1,3 +1,8 @@
|
||||
2002-02-28 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* 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 <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkkeys.c: include gdkkeysysms.h if
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-02-28 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* 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 <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkkeys.c: include gdkkeysysms.h if
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-02-28 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* 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 <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkkeys.c: include gdkkeysysms.h if
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-02-28 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* 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 <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkkeys.c: include gdkkeysysms.h if
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-02-28 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* 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 <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkkeys.c: include gdkkeysysms.h if
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-02-28 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* 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 <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkkeys.c: include gdkkeysysms.h if
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-02-28 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* 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 <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkkeys.c: include gdkkeysysms.h if
|
||||
|
@ -2408,6 +2408,9 @@ gtk_text_view_finalize (GObject *object)
|
||||
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));
|
||||
if (text_view->vadjustment)
|
||||
|
Loading…
Reference in New Issue
Block a user