summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>1998-11-23 02:41:18 +0000
committerTim Janik <timj@src.gnome.org>1998-11-23 02:41:18 +0000
commitf46ffebbc833a9475590b99bccc409be4c4725eb (patch)
treed6ee882f0407a6ed43e901bd2b1d7cc401c1ed81
parent97fd98099c77fbd7785ddbc1e83d86035488e9ca (diff)
downloadgdk-pixbuf-f46ffebbc833a9475590b99bccc409be4c4725eb.tar.gz
minor buglet
-rw-r--r--ChangeLog2
-rw-r--r--ChangeLog.pre-2-02
-rw-r--r--ChangeLog.pre-2-102
-rw-r--r--ChangeLog.pre-2-22
-rw-r--r--ChangeLog.pre-2-42
-rw-r--r--ChangeLog.pre-2-62
-rw-r--r--ChangeLog.pre-2-82
-rw-r--r--gtk/gtktext.c3
8 files changed, 16 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b3e573e77..0538dab3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index b3e573e77..0538dab3c 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -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>
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index b3e573e77..0538dab3c 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -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>
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index b3e573e77..0538dab3c 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -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>
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index b3e573e77..0538dab3c 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -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>
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index b3e573e77..0538dab3c 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -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>
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index b3e573e77..0538dab3c 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -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>
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index 195b74daf..132f9266a 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -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);