diff options
author | Benjamin Otte <otte@gnome.org> | 2008-02-18 13:56:01 +0100 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2008-02-19 21:15:51 +0100 |
commit | 83edc93596c57ab924cee9b1e549823142e3af0b (patch) | |
tree | e405ceefb6b416063f4e3789dc24a42071fc33ee | |
parent | 499c4547b12a80c745a0789751706e764a37b1f5 (diff) |
we're a plugin, not a stand-alone player
-rw-r--r-- | src/swfmoz_player.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/swfmoz_player.c b/src/swfmoz_player.c index 9b2d16a..b8e1c67 100644 --- a/src/swfmoz_player.c +++ b/src/swfmoz_player.c @@ -392,9 +392,13 @@ SwfdecPlayer * swfmoz_player_new (NPP instance, gboolean windowless) { SwfmozPlayer *ret; + SwfdecSystem *system; + system = swfdec_gtk_system_new (NULL); + g_object_set (system, "player-type", "PlugIn", NULL); ret = g_object_new (SWFMOZ_TYPE_PLAYER, "loader-type", SWFMOZ_TYPE_LOADER, "socket-type", SWFDEC_TYPE_SOCKET, //SWFDEC_TYPE_GTK_SOCKET, + "system", system, NULL); ret->instance = instance; ret->windowless = windowless; |