summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/backend/bacon-video-widget-gst-missing-plugins.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 911249804..b46326c5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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
+
2008-09-29 Bastien Nocera <hadess@hadess.net>
* src/totem-playlist.c (totem_playlist_add_one_mrl):
diff --git a/src/backend/bacon-video-widget-gst-missing-plugins.c b/src/backend/bacon-video-widget-gst-missing-plugins.c
index faac6be54..0772fbdfd 100644
--- a/src/backend/bacon-video-widget-gst-missing-plugins.c
+++ b/src/backend/bacon-video-widget-gst-missing-plugins.c
@@ -99,7 +99,7 @@ bacon_video_widget_gst_get_toplevel (GtkWidget *widget)
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