[brasero] Quiet a runtime warning



commit ff93b51da05643df58452792f19acabcdd307e14
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Mon Jun 7 21:17:11 2010 +0200

    Quiet a runtime warning

 src/brasero-player-bacon.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/brasero-player-bacon.c b/src/brasero-player-bacon.c
index 758334a..f77495d 100644
--- a/src/brasero-player-bacon.c
+++ b/src/brasero-player-bacon.c
@@ -142,10 +142,10 @@ brasero_player_bacon_realize (GtkWidget *widget)
 	window = gtk_widget_get_window (widget);
 	gdk_window_set_user_data (window, widget);
 	gdk_window_show (gtk_widget_get_window (widget));
+	gtk_widget_set_realized (widget, TRUE);
+
 	gtk_widget_style_attach (widget);
 	//gtk_style_set_background (widget->style, widget->window, GTK_STATE_NORMAL);
-
-	gtk_widget_set_realized (widget, TRUE);
 }
 
 static gboolean



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