totem r5738 - in trunk: . src/backend



Author: hadess
Date: Wed Oct  1 13:58:05 2008
New Revision: 5738
URL: http://svn.gnome.org/viewvc/totem?rev=5738&view=rev

Log:
2008-10-01  Bastien Nocera  <hadess hadess net>

	* src/backend/bacon-video-widget-gst-missing-plugins.c
	(bacon_video_widget_gst_get_toplevel): Fix getting the
	top-level window when the video widget isn't inside a
	GtkPlug



Modified:
   trunk/ChangeLog
   trunk/src/backend/bacon-video-widget-gst-missing-plugins.c

Modified: trunk/src/backend/bacon-video-widget-gst-missing-plugins.c
==============================================================================
--- trunk/src/backend/bacon-video-widget-gst-missing-plugins.c	(original)
+++ trunk/src/backend/bacon-video-widget-gst-missing-plugins.c	Wed Oct  1 13:58:05 2008
@@ -99,7 +99,7 @@
 	if (GTK_IS_PLUG (parent))
 		return bacon_video_widget_gtk_plug_get_toplevel (GTK_PLUG (parent));
 	else
-		return GDK_WINDOW_XID(widget->window);
+		return GDK_WINDOW_XID(parent->window);
 }
 #endif
 



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