[tracker/gtk3: 7/7] tracker-needle: Fix crash when showing stats



commit 6bd5a03766be52a94d36be7c631450f415cb1b6d
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu May 5 14:41:16 2011 +0200

    tracker-needle: Fix crash when showing stats
    
    GtkDialog's content area is a GtkBox in 3.0, not a GtkVBox

 src/tracker-needle/tracker-stats.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-needle/tracker-stats.vala b/src/tracker-needle/tracker-stats.vala
index 9cbc433..5743216 100644
--- a/src/tracker-needle/tracker-stats.vala
+++ b/src/tracker-needle/tracker-stats.vala
@@ -63,7 +63,7 @@ public class Tracker.Stats : Dialog {
 		debug ("Setting up statistics UI");
 
 		// Spacing between major units
-		var vbox = this.get_content_area() as VBox;
+		var vbox = this.get_content_area() as Box;
 		vbox.set_spacing (18);
 		vbox.set_border_width (0);
 



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