[Swfdec-commits] src/plugin.c
Benjamin Otte
company at kemper.freedesktop.org
Fri Apr 11 07:03:54 PDT 2008
src/plugin.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
New commits:
commit e8aa00534325812c06e7667cdd9933c5485323e9
Author: Benjamin Otte <otte at gnome.org>
Date: Fri Apr 11 16:02:56 2008 +0200
backgrounds are handled by the browser
and it's an update to the API
diff --git a/src/plugin.c b/src/plugin.c
index ef63b80..6b0b351 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -1,7 +1,7 @@
/* Swfdec Mozilla Plugin
* Copyright (C) 2003-2006 David Schleef <ds at schleef.org>
* 2005-2006 Eric Anholt <eric at anholt.net>
- * 2006-2007 Benjamin Otte <otte at gnome.org>
+ * 2006-2008 Benjamin Otte <otte at gnome.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -213,12 +213,6 @@ plugin_new (NPMIMEType mime_type, NPP instance,
if (argv[i])
swfdec_player_set_variables (player, argv[i]);
} else if (g_ascii_strcasecmp (argn[i], "bgcolor") == 0) {
- GdkColor color;
- if (gdk_color_parse (argv[i], &color)) {
- swfdec_player_set_background_color (player,
- 0xFF000000 | (color.red / 0x101 << 16) |
- (color.green / 0x101 << 8) | (color.blue / 0x101));
- }
} else if (g_ascii_strcasecmp (argn[i], "src") == 0) {
} else if (g_ascii_strcasecmp (argn[i], "type") == 0) {
} else if (g_ascii_strcasecmp (argn[i], "width") == 0) {
More information about the Swfdec-commits
mailing list