From 209d22cb986f4906dd39d045203e1dae1c93bc80 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Mon, 5 Mar 2001 16:38:01 +0000 Subject: [PATCH] Made the "parent_class" pointer static. The pixbuf-engine coincidentially 2001-03-05 Michael Natterer * gtk/gtklabel.c: Made the "parent_class" pointer static. The pixbuf-engine coincidentially also failed to make one of it's parent_class pointers static, causing overwriting of GtkLabel's parent_class pointer in pixbuf_style_class_init(). (Will commit the fix to the pixbuf-engine too). --- ChangeLog | 8 ++++++++ ChangeLog.pre-2-0 | 8 ++++++++ ChangeLog.pre-2-10 | 8 ++++++++ ChangeLog.pre-2-2 | 8 ++++++++ ChangeLog.pre-2-4 | 8 ++++++++ ChangeLog.pre-2-6 | 8 ++++++++ ChangeLog.pre-2-8 | 8 ++++++++ gtk/gtklabel.c | 3 ++- 8 files changed, 58 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bbc1d02b3d..95af1e2d17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2001-03-05 Michael Natterer + + * gtk/gtklabel.c: Made the "parent_class" pointer static. The + pixbuf-engine coincidentially also failed to make one of it's + parent_class pointers static, causing overwriting of GtkLabel's + parent_class pointer in pixbuf_style_class_init(). + (Will commit the fix to the pixbuf-engine too). + 2001-03-05 Alexander Larsson * gdk/gdkwindow.h: diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index bbc1d02b3d..95af1e2d17 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,11 @@ +2001-03-05 Michael Natterer + + * gtk/gtklabel.c: Made the "parent_class" pointer static. The + pixbuf-engine coincidentially also failed to make one of it's + parent_class pointers static, causing overwriting of GtkLabel's + parent_class pointer in pixbuf_style_class_init(). + (Will commit the fix to the pixbuf-engine too). + 2001-03-05 Alexander Larsson * gdk/gdkwindow.h: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index bbc1d02b3d..95af1e2d17 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,11 @@ +2001-03-05 Michael Natterer + + * gtk/gtklabel.c: Made the "parent_class" pointer static. The + pixbuf-engine coincidentially also failed to make one of it's + parent_class pointers static, causing overwriting of GtkLabel's + parent_class pointer in pixbuf_style_class_init(). + (Will commit the fix to the pixbuf-engine too). + 2001-03-05 Alexander Larsson * gdk/gdkwindow.h: diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index bbc1d02b3d..95af1e2d17 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,11 @@ +2001-03-05 Michael Natterer + + * gtk/gtklabel.c: Made the "parent_class" pointer static. The + pixbuf-engine coincidentially also failed to make one of it's + parent_class pointers static, causing overwriting of GtkLabel's + parent_class pointer in pixbuf_style_class_init(). + (Will commit the fix to the pixbuf-engine too). + 2001-03-05 Alexander Larsson * gdk/gdkwindow.h: diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index bbc1d02b3d..95af1e2d17 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,11 @@ +2001-03-05 Michael Natterer + + * gtk/gtklabel.c: Made the "parent_class" pointer static. The + pixbuf-engine coincidentially also failed to make one of it's + parent_class pointers static, causing overwriting of GtkLabel's + parent_class pointer in pixbuf_style_class_init(). + (Will commit the fix to the pixbuf-engine too). + 2001-03-05 Alexander Larsson * gdk/gdkwindow.h: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index bbc1d02b3d..95af1e2d17 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,11 @@ +2001-03-05 Michael Natterer + + * gtk/gtklabel.c: Made the "parent_class" pointer static. The + pixbuf-engine coincidentially also failed to make one of it's + parent_class pointers static, causing overwriting of GtkLabel's + parent_class pointer in pixbuf_style_class_init(). + (Will commit the fix to the pixbuf-engine too). + 2001-03-05 Alexander Larsson * gdk/gdkwindow.h: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index bbc1d02b3d..95af1e2d17 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,11 @@ +2001-03-05 Michael Natterer + + * gtk/gtklabel.c: Made the "parent_class" pointer static. The + pixbuf-engine coincidentially also failed to make one of it's + parent_class pointers static, causing overwriting of GtkLabel's + parent_class pointer in pixbuf_style_class_init(). + (Will commit the fix to the pixbuf-engine too). + 2001-03-05 Alexander Larsson * gdk/gdkwindow.h: diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 1b7410acd9..a2ec4c2a36 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -118,7 +118,8 @@ static void gtk_label_select_region_index (GtkLabel *label, gint end_index); -GtkMiscClass *parent_class = NULL; +static GtkMiscClass *parent_class = NULL; + GtkType gtk_label_get_type (void)