Initialize label->label_wc. (We allocate labels from a memchunk)

Mon Jan 18 15:46:14 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c (gtk_label_init): Initialize
	label->label_wc. (We allocate labels from
	a memchunk)
This commit is contained in:
Owen Taylor 1999-01-18 20:46:51 +00:00 committed by Owen Taylor
parent 4ee10fdefa
commit 03f25c7ade
8 changed files with 46 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Mon Jan 18 15:46:14 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_init): Initialize
label->label_wc. (We allocate labels from
a memchunk)
Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org> Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org>
* gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a * gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a

View File

@ -1,3 +1,9 @@
Mon Jan 18 15:46:14 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_init): Initialize
label->label_wc. (We allocate labels from
a memchunk)
Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org> Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org>
* gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a * gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a

View File

@ -1,3 +1,9 @@
Mon Jan 18 15:46:14 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_init): Initialize
label->label_wc. (We allocate labels from
a memchunk)
Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org> Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org>
* gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a * gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a

View File

@ -1,3 +1,9 @@
Mon Jan 18 15:46:14 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_init): Initialize
label->label_wc. (We allocate labels from
a memchunk)
Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org> Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org>
* gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a * gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a

View File

@ -1,3 +1,9 @@
Mon Jan 18 15:46:14 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_init): Initialize
label->label_wc. (We allocate labels from
a memchunk)
Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org> Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org>
* gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a * gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a

View File

@ -1,3 +1,9 @@
Mon Jan 18 15:46:14 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_init): Initialize
label->label_wc. (We allocate labels from
a memchunk)
Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org> Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org>
* gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a * gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a

View File

@ -1,3 +1,9 @@
Mon Jan 18 15:46:14 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_init): Initialize
label->label_wc. (We allocate labels from
a memchunk)
Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org> Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org>
* gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a * gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a

View File

@ -192,10 +192,13 @@ gtk_label_init (GtkLabel *label)
GTK_WIDGET_SET_FLAGS (label, GTK_NO_WINDOW); GTK_WIDGET_SET_FLAGS (label, GTK_NO_WINDOW);
label->label = NULL; label->label = NULL;
label->label_wc = NULL;
label->pattern = NULL;
label->words = NULL; label->words = NULL;
label->max_width = 0; label->max_width = 0;
label->jtype = GTK_JUSTIFY_CENTER; label->jtype = GTK_JUSTIFY_CENTER;
label->pattern = NULL;
label->wrap = FALSE; label->wrap = FALSE;
gtk_label_set_text (label, ""); gtk_label_set_text (label, "");