[rhythmbox] rb-podcast-properties-dialog: Use computed variable



commit 5c9732fc858c6547a03bbd43e554a51d206d8a17
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Feb 5 03:45:34 2011 +0000

    rb-podcast-properties-dialog: Use computed variable

 podcast/rb-podcast-properties-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/podcast/rb-podcast-properties-dialog.c b/podcast/rb-podcast-properties-dialog.c
index 139d8e5..5c3cb1c 100644
--- a/podcast/rb-podcast-properties-dialog.c
+++ b/podcast/rb-podcast-properties-dialog.c
@@ -224,7 +224,7 @@ set_webkit_font_from_gtk_style (WebKitWebView *view)
 	style = gtk_widget_get_style_context (GTK_WIDGET (view));
 	settings = webkit_web_view_get_settings (view);
 
-	font_desc = gtk_style_context_get_font (gtk_widget_get_style_context (GTK_WIDGET (view)),
+	font_desc = gtk_style_context_get_font (style,
 						GTK_STATE_FLAG_ACTIVE);
 	font_size = pango_font_description_get_size (font_desc);
 	if (pango_font_description_get_size_is_absolute (font_desc) == FALSE)



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