[totem] backend: Fix warnings in the browser plugin
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] backend: Fix warnings in the browser plugin
- Date: Sun, 4 Dec 2011 11:39:19 +0000 (UTC)
commit 2b28ef471e48b83712e2f448c21b029d526e65fc
Author: Bastien Nocera <hadess hadess net>
Date: Sun Dec 4 12:29:53 2011 +0100
backend: Fix warnings in the browser plugin
src/backend/bacon-video-widget-gst-0.10.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index 2f246f2..32d2bd0 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -77,6 +77,7 @@
/* gtk+/gnome */
#include <gdk/gdkx.h>
#include <gtk/gtk.h>
+#include <gtk/gtkx.h>
#include <glib/gi18n-lib.h>
#include <gio/gio.h>
@@ -581,7 +582,8 @@ bacon_video_widget_realize (GtkWidget * widget)
/* setup the toplevel, ready to be resized */
toplevel = gtk_widget_get_toplevel (widget);
if (gtk_widget_is_toplevel (toplevel) &&
- gtk_widget_get_parent (widget) != toplevel)
+ gtk_widget_get_parent (widget) != toplevel &&
+ !GTK_IS_PLUG(toplevel))
gtk_window_set_geometry_hints (GTK_WINDOW (toplevel), widget, NULL, 0);
bacon_video_widget_gst_missing_plugins_setup (bvw);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]