minor buglet

This commit is contained in:
Tim Janik 1998-11-23 02:41:18 +00:00
parent 97fd98099c
commit f46ffebbc8
8 changed files with 16 additions and 1 deletions

View File

@ -2,6 +2,8 @@ Mon Nov 23 03:21:17 1998 Tim Janik <timj@gtk.org>
* gtk/gtktext.c (gtk_text_destroy): disconnect hadj & vadj, not
2 * hadj.
(gtk_text_finalize): only unref the current_font if we have
been realized.
Sat Nov 21 18:41:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>

View File

@ -2,6 +2,8 @@ Mon Nov 23 03:21:17 1998 Tim Janik <timj@gtk.org>
* gtk/gtktext.c (gtk_text_destroy): disconnect hadj & vadj, not
2 * hadj.
(gtk_text_finalize): only unref the current_font if we have
been realized.
Sat Nov 21 18:41:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>

View File

@ -2,6 +2,8 @@ Mon Nov 23 03:21:17 1998 Tim Janik <timj@gtk.org>
* gtk/gtktext.c (gtk_text_destroy): disconnect hadj & vadj, not
2 * hadj.
(gtk_text_finalize): only unref the current_font if we have
been realized.
Sat Nov 21 18:41:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>

View File

@ -2,6 +2,8 @@ Mon Nov 23 03:21:17 1998 Tim Janik <timj@gtk.org>
* gtk/gtktext.c (gtk_text_destroy): disconnect hadj & vadj, not
2 * hadj.
(gtk_text_finalize): only unref the current_font if we have
been realized.
Sat Nov 21 18:41:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>

View File

@ -2,6 +2,8 @@ Mon Nov 23 03:21:17 1998 Tim Janik <timj@gtk.org>
* gtk/gtktext.c (gtk_text_destroy): disconnect hadj & vadj, not
2 * hadj.
(gtk_text_finalize): only unref the current_font if we have
been realized.
Sat Nov 21 18:41:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>

View File

@ -2,6 +2,8 @@ Mon Nov 23 03:21:17 1998 Tim Janik <timj@gtk.org>
* gtk/gtktext.c (gtk_text_destroy): disconnect hadj & vadj, not
2 * hadj.
(gtk_text_finalize): only unref the current_font if we have
been realized.
Sat Nov 21 18:41:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>

View File

@ -2,6 +2,8 @@ Mon Nov 23 03:21:17 1998 Tim Janik <timj@gtk.org>
* gtk/gtktext.c (gtk_text_destroy): disconnect hadj & vadj, not
2 * hadj.
(gtk_text_finalize): only unref the current_font if we have
been realized.
Sat Nov 21 18:41:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>

View File

@ -1178,7 +1178,8 @@ gtk_text_finalize (GtkObject *object)
tmp_list = tmp_list->next;
}
text_font_unref (text->current_font);
if (text->current_font)
text_font_unref (text->current_font);
g_list_free (text->text_properties);