diff options
author | Vincent Sanders <vince@kyllikki.org> | 2020-05-25 13:42:10 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2020-05-25 13:45:54 +0100 |
commit | 2b8501b342dc9ac7c3e886c2c93ef73c326392c7 (patch) | |
tree | 2c0fc2ef7136a0210a9ea09ad138cbcab2f4796d /frontends/amiga/dt_sound.c | |
parent | 860fbc2f8c09339213c79d815dce0f67b51f4348 (diff) | |
download | netsurf-2b8501b342dc9ac7c3e886c2c93ef73c326392c7.tar.gz netsurf-2b8501b342dc9ac7c3e886c2c93ef73c326392c7.tar.bz2 |
fix incorrect content handler function table operations return types
Diffstat (limited to 'frontends/amiga/dt_sound.c')
-rw-r--r-- | frontends/amiga/dt_sound.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/amiga/dt_sound.c b/frontends/amiga/dt_sound.c index e0081039e..8b63d6a94 100644 --- a/frontends/amiga/dt_sound.c +++ b/frontends/amiga/dt_sound.c @@ -58,7 +58,7 @@ static void amiga_dt_sound_destroy(struct content *c); static bool amiga_dt_sound_redraw(struct content *c, struct content_redraw_data *data, const struct rect *clip, const struct redraw_context *ctx); -static void amiga_dt_sound_open(struct content *c, struct browser_window *bw, +static nserror amiga_dt_sound_open(struct content *c, struct browser_window *bw, struct content *page, struct object_params *params); static nserror amiga_dt_sound_clone(const struct content *old, struct content **newc); static content_type amiga_dt_sound_content_type(void); @@ -221,7 +221,7 @@ bool amiga_dt_sound_redraw(struct content *c, } -void amiga_dt_sound_open(struct content *c, struct browser_window *bw, +nserror amiga_dt_sound_open(struct content *c, struct browser_window *bw, struct content *page, struct object_params *params) { amiga_dt_sound_content *plugin = (amiga_dt_sound_content *) c; @@ -248,7 +248,7 @@ void amiga_dt_sound_open(struct content *c, struct browser_window *bw, if(plugin->dto && (plugin->immediate == true)) amiga_dt_sound_play(plugin->dto); - return; + return NSERROR_OK; } |