[brasero/gnome-2-30] Removed use of deprecated flags



commit c0d173163228b10e85713384f82743af7f0f0c36
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Tue May 11 18:57:42 2010 +0200

    Removed use of deprecated flags

 libbrasero-utils/brasero-jacket-view.c |    3 ++-
 src/brasero-player-bacon.c             |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libbrasero-utils/brasero-jacket-view.c b/libbrasero-utils/brasero-jacket-view.c
index b3ed30d..2a08b37 100644
--- a/libbrasero-utils/brasero-jacket-view.c
+++ b/libbrasero-utils/brasero-jacket-view.c
@@ -1406,7 +1406,8 @@ brasero_jacket_view_realize (GtkWidget *widget)
 						       attributes_mask));
 	window = gtk_widget_get_window (widget);
 	gdk_window_set_user_data (window, widget);
-	GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
+
+	gtk_widget_set_realized (widget, TRUE);
 
 	gtk_widget_style_attach (widget);
 
diff --git a/src/brasero-player-bacon.c b/src/brasero-player-bacon.c
index 6b29b66..758334a 100644
--- a/src/brasero-player-bacon.c
+++ b/src/brasero-player-bacon.c
@@ -145,7 +145,7 @@ brasero_player_bacon_realize (GtkWidget *widget)
 	gtk_widget_style_attach (widget);
 	//gtk_style_set_background (widget->style, widget->window, GTK_STATE_NORMAL);
 
-	GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
+	gtk_widget_set_realized (widget, TRUE);
 }
 
 static gboolean



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