Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/42bf8a713d8ba06785407671cf5753694289c6b8
...commit
http://git.netsurf-browser.org/netsurf.git/commit/42bf8a713d8ba06785407671cf5753694289c6b8
...tree
http://git.netsurf-browser.org/netsurf.git/tree/42bf8a713d8ba06785407671cf5753694289c6b8
The branch, svenw/cocoa has been updated
via 42bf8a713d8ba06785407671cf5753694289c6b8 (commit)
from ef7b8258405761d44731cb4967c923a99bf72e37 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=42bf8a713d8ba06785407671cf5753694289c6b8
commit 42bf8a713d8ba06785407671cf5753694289c6b8
Author: Sven Weidauer <[email protected]>
Commit: Sven Weidauer <[email protected]>
Fix nserror return values.
diff --git a/frontends/cocoa/bitmap.m b/frontends/cocoa/bitmap.m
index 554d5e0..089870e 100644
--- a/frontends/cocoa/bitmap.m
+++ b/frontends/cocoa/bitmap.m
@@ -242,7 +242,7 @@ static nserror bitmap_render(struct bitmap *bitmap, struct
hlcache_handle *conte
cocoa_bitmap_modified(bitmap);
- return true;
+ return NSERROR_OK;
}
static struct gui_bitmap_table bitmap_table = {
diff --git a/frontends/cocoa/gui.m b/frontends/cocoa/gui.m
index 9c0ccac..f564563 100644
--- a/frontends/cocoa/gui.m
+++ b/frontends/cocoa/gui.m
@@ -129,7 +129,7 @@ static bool gui_window_get_scroll(struct gui_window *g, int
*sx, int *sy)
static nserror gui_window_set_scroll(struct gui_window *g, const struct rect
*rect)
{
[[(__bridge BrowserViewController *)g browserView]
scrollPoint:cocoa_point(rect->x0, rect->y0)];
- return 0;
+ return NSERROR_OK;
}
/**
diff --git a/frontends/cocoa/plotter.m b/frontends/cocoa/plotter.m
index f02f772..1e01a47 100644
--- a/frontends/cocoa/plotter.m
+++ b/frontends/cocoa/plotter.m
@@ -74,7 +74,7 @@ static void cocoa_plot_path_set_stroke_pattern(NSBezierPath
*path, const plot_st
static nserror plot_line(const struct redraw_context *ctx, const plot_style_t
*pstyle, const struct rect *line)
{
if (pstyle->stroke_type == PLOT_OP_TYPE_NONE)
- return true;
+ return NSERROR_OK;
[NSGraphicsContext saveGraphicsState];
[NSBezierPath clipRect:cocoa_plot_clip_rect];
-----------------------------------------------------------------------
Summary of changes:
frontends/cocoa/bitmap.m | 2 +-
frontends/cocoa/gui.m | 2 +-
frontends/cocoa/plotter.m | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/frontends/cocoa/bitmap.m b/frontends/cocoa/bitmap.m
index 554d5e0..089870e 100644
--- a/frontends/cocoa/bitmap.m
+++ b/frontends/cocoa/bitmap.m
@@ -242,7 +242,7 @@ static nserror bitmap_render(struct bitmap *bitmap, struct
hlcache_handle *conte
cocoa_bitmap_modified(bitmap);
- return true;
+ return NSERROR_OK;
}
static struct gui_bitmap_table bitmap_table = {
diff --git a/frontends/cocoa/gui.m b/frontends/cocoa/gui.m
index 9c0ccac..f564563 100644
--- a/frontends/cocoa/gui.m
+++ b/frontends/cocoa/gui.m
@@ -129,7 +129,7 @@ static bool gui_window_get_scroll(struct gui_window *g, int
*sx, int *sy)
static nserror gui_window_set_scroll(struct gui_window *g, const struct rect
*rect)
{
[[(__bridge BrowserViewController *)g browserView]
scrollPoint:cocoa_point(rect->x0, rect->y0)];
- return 0;
+ return NSERROR_OK;
}
/**
diff --git a/frontends/cocoa/plotter.m b/frontends/cocoa/plotter.m
index f02f772..1e01a47 100644
--- a/frontends/cocoa/plotter.m
+++ b/frontends/cocoa/plotter.m
@@ -74,7 +74,7 @@ static void cocoa_plot_path_set_stroke_pattern(NSBezierPath
*path, const plot_st
static nserror plot_line(const struct redraw_context *ctx, const plot_style_t
*pstyle, const struct rect *line)
{
if (pstyle->stroke_type == PLOT_OP_TYPE_NONE)
- return true;
+ return NSERROR_OK;
[NSGraphicsContext saveGraphicsState];
[NSBezierPath clipRect:cocoa_plot_clip_rect];
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org