[totem] browser-plugin: Fix warning when running in Chromium
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] browser-plugin: Fix warning when running in Chromium
- Date: Fri, 11 Apr 2014 08:49:38 +0000 (UTC)
commit d04d4804d31a59b4c13571871714f61c689f16c7
Author: Bastien Nocera <hadess hadess net>
Date: Fri Apr 11 10:22:06 2014 +0200
browser-plugin: Fix warning when running in Chromium
Work around Chromium setting GDK_NATIVE_WINDOWS. It's not used
for GTK+ 3.x, so unset it.
https://bugzilla.gnome.org/show_bug.cgi?id=693092
browser-plugin/totem-plugin-viewer.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/browser-plugin/totem-plugin-viewer.c b/browser-plugin/totem-plugin-viewer.c
index 3defc06..5126ef5 100644
--- a/browser-plugin/totem-plugin-viewer.c
+++ b/browser-plugin/totem-plugin-viewer.c
@@ -2222,6 +2222,9 @@ int main (int argc, char **argv)
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
+ /* Work around Chromium setting GDK_NATIVE_WINDOWS */
+ g_unsetenv ("GDK_NATIVE_WINDOWS");
+
g_set_application_name (_("Movie browser plugin"));
gtk_window_set_default_icon_name ("totem");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]