[totem] brasero: Fixes for latest GTK+ 3.x changes



commit 74adcc6e1d350ff6e74d6031e0ae709aca52d3fd
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Dec 6 13:28:38 2010 +0000

    brasero: Fixes for latest GTK+ 3.x changes

 .../brasero-disc-recorder/totem-disc-recorder.c    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/brasero-disc-recorder/totem-disc-recorder.c b/src/plugins/brasero-disc-recorder/totem-disc-recorder.c
index bae55e0..aa0875b 100644
--- a/src/plugins/brasero-disc-recorder/totem-disc-recorder.c
+++ b/src/plugins/brasero-disc-recorder/totem-disc-recorder.c
@@ -96,7 +96,7 @@ totem_disc_recorder_plugin_start_burning (TotemDiscRecorderPlugin *pi,
 
 	main_window = totem_get_main_window (pi->priv->totem);
 	screen = gtk_widget_get_screen (GTK_WIDGET (main_window));
-	xid = gdk_x11_drawable_get_xid (GDK_DRAWABLE (gtk_widget_get_window (GTK_WIDGET (main_window))));
+	xid = gdk_x11_window_get_xid (gtk_widget_get_window (GTK_WIDGET (main_window)));
 	xid_str = g_strdup_printf ("%d", xid);
 	g_ptr_array_add (array, (gpointer) "-x");
 	g_ptr_array_add (array, xid_str);



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