[gtk+] GtkToolbar: remove deprecated call



commit f4cc2c6f17bfd2372064fd5b8a71ed4316aa1bb0
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Jan 4 02:07:06 2011 +0100

    GtkToolbar: remove deprecated call

 gtk/gtktoolbar.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index 7d08d1d..1f7ab59 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -3614,9 +3614,7 @@ 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,
                         NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]