totem r5737 - in branches/gnome-2-24: . src/backend



Author: hadess
Date: Wed Oct  1 13:57:07 2008
New Revision: 5737
URL: http://svn.gnome.org/viewvc/totem?rev=5737&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:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/src/backend/bacon-video-widget-gst-missing-plugins.c

Modified: branches/gnome-2-24/src/backend/bacon-video-widget-gst-missing-plugins.c
==============================================================================
--- branches/gnome-2-24/src/backend/bacon-video-widget-gst-missing-plugins.c	(original)
+++ branches/gnome-2-24/src/backend/bacon-video-widget-gst-missing-plugins.c	Wed Oct  1 13:57:07 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]