call gtk_widget_ensure_style() before reading "button_relief". Fixes

Sat Sep  7 21:24:55 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbar.c (get_button_relief): call
	gtk_widget_ensure_style() before reading "button_relief". Fixes
	(#92741).
This commit is contained in:
Soeren Sandmann
2002-09-07 20:44:26 +00:00
committed by Søren Sandmann Pedersen
parent f824f0390c
commit fd303c56b9
9 changed files with 41 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Sat Sep 7 21:24:55 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (get_button_relief): call
gtk_widget_ensure_style() before reading "button_relief". Fixes
(#92741).
2002-09-06 Matthias Clasen <maclas@gmx.de>
* configure.in: Add ani to all_loaders.

View File

@ -1,3 +1,9 @@
Sat Sep 7 21:24:55 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (get_button_relief): call
gtk_widget_ensure_style() before reading "button_relief". Fixes
(#92741).
2002-09-06 Matthias Clasen <maclas@gmx.de>
* configure.in: Add ani to all_loaders.

View File

@ -1,3 +1,9 @@
Sat Sep 7 21:24:55 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (get_button_relief): call
gtk_widget_ensure_style() before reading "button_relief". Fixes
(#92741).
2002-09-06 Matthias Clasen <maclas@gmx.de>
* configure.in: Add ani to all_loaders.

View File

@ -1,3 +1,9 @@
Sat Sep 7 21:24:55 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (get_button_relief): call
gtk_widget_ensure_style() before reading "button_relief". Fixes
(#92741).
2002-09-06 Matthias Clasen <maclas@gmx.de>
* configure.in: Add ani to all_loaders.

View File

@ -1,3 +1,9 @@
Sat Sep 7 21:24:55 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (get_button_relief): call
gtk_widget_ensure_style() before reading "button_relief". Fixes
(#92741).
2002-09-06 Matthias Clasen <maclas@gmx.de>
* configure.in: Add ani to all_loaders.

View File

@ -1,3 +1,9 @@
Sat Sep 7 21:24:55 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (get_button_relief): call
gtk_widget_ensure_style() before reading "button_relief". Fixes
(#92741).
2002-09-06 Matthias Clasen <maclas@gmx.de>
* configure.in: Add ani to all_loaders.

View File

@ -50,6 +50,7 @@ gtk_button_box_set_layout().
GtkHButtonBox does not contain any public fields.
</para>
<!-- ##### FUNCTION gtk_hbutton_box_new ##### -->
<para>
Creates a new horizontal button box.

View File

@ -50,6 +50,7 @@ gtk_button_box_set_layout().
GtkVButtonBox does not contain any public fields.
</para>
<!-- ##### FUNCTION gtk_vbutton_box_new ##### -->
<para>
Creates a new vertical button box.

View File

@ -1779,9 +1779,10 @@ static GtkReliefStyle
get_button_relief (GtkToolbar *toolbar)
{
GtkReliefStyle button_relief = GTK_RELIEF_NORMAL;
gtk_widget_ensure_style (GTK_WIDGET (toolbar));
gtk_widget_style_get (GTK_WIDGET (toolbar),
"button_relief", &button_relief,
"button_relief", &button_relief,
NULL);
return button_relief;