[rhythmbox] fix recent gtk+ deprecations a bit harder



commit 60dd8f216f1aa681a482896295d63fd6d72c2d94
Author: Jonathan Matthew <jonathan d14n org>
Date:   Tue Nov 2 19:05:08 2010 +1000

    fix recent gtk+ deprecations a bit harder

 widgets/rb-rating.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/widgets/rb-rating.c b/widgets/rb-rating.c
index fc165b9..ce0fe58 100644
--- a/widgets/rb-rating.c
+++ b/widgets/rb-rating.c
@@ -372,7 +372,7 @@ rb_rating_expose (GtkWidget *widget,
 	rating = RB_RATING (widget);
 
 	window = gtk_widget_get_window (widget);
-#if GTK_CHECK_VERSION(2, 24, 0)
+#if GTK_CHECK_VERSION(2, 23, 0)
 	width = gdk_window_get_width (window);
 	height = gdk_window_get_height (window);
 #else



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