From 7ace528729c37d665e269c8a76991739c9437088 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 29 Oct 2014 00:17:11 +0000 Subject: Update url setting API to return nserror code instead of calling warn_user --- monkey/browser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'monkey') diff --git a/monkey/browser.c b/monkey/browser.c index 06517e023..1ebdaecf9 100644 --- a/monkey/browser.c +++ b/monkey/browser.c @@ -251,10 +251,11 @@ gui_window_set_pointer(struct gui_window *g, gui_pointer_shape shape) fprintf(stdout, "WINDOW SET_POINTER WIN %u POINTER %s\n", g->win_num, ptr_name); } -static void +static nserror gui_window_set_url(struct gui_window *g, const char *url) { fprintf(stdout, "WINDOW SET_URL WIN %u URL %s\n", g->win_num, url); + return NSERROR_OK; } static bool -- cgit v1.2.3