[beast/devel: 3/26] SFI: provide just sfi_url_show() without other variants
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/devel: 3/26] SFI: provide just sfi_url_show() without other variants
- Date: Mon, 13 Oct 2014 02:26:21 +0000 (UTC)
commit 9172edced7eac262e3fe9d796e2f2cb28465cdd6
Author: Tim Janik <timj gnu org>
Date: Sat Oct 11 05:14:42 2014 +0200
SFI: provide just sfi_url_show() without other variants
sfi/sfiwrapper.cc | 23 ++---------------------
sfi/sfiwrapper.hh | 7 -------
2 files changed, 2 insertions(+), 28 deletions(-)
---
diff --git a/sfi/sfiwrapper.cc b/sfi/sfiwrapper.cc
index 7338f31..cc401cb 100644
--- a/sfi/sfiwrapper.cc
+++ b/sfi/sfiwrapper.cc
@@ -81,25 +81,6 @@ birnet_file_equals (const char *file1,
void
sfi_url_show (const char *url)
{
- return Rapicorn::url_show (url);
-}
-
-void
-sfi_url_show_with_cookie (const char *url,
- const char *url_title,
- const char *cookie)
-{
- return Rapicorn::url_show_with_cookie (url, url_title, cookie);
-}
-bool
-sfi_url_test_show (const char *url)
-{
- return Rapicorn::url_test_show (url);
-}
-bool
-sfi_url_test_show_with_cookie (const char *url,
- const char *url_title,
- const char *cookie)
-{
- return Rapicorn::url_test_show_with_cookie (url, url_title, cookie);
+ if (!Rapicorn::url_show (url))
+ g_warning ("Failed to start browser for URL: %s", url);
}
diff --git a/sfi/sfiwrapper.hh b/sfi/sfiwrapper.hh
index 4f16be5..cb6bec5 100644
--- a/sfi/sfiwrapper.hh
+++ b/sfi/sfiwrapper.hh
@@ -63,13 +63,6 @@ bool birnet_file_equals (const char *file1,
/* --- url handling --- */
void sfi_url_show (const char *url);
-void sfi_url_show_with_cookie (const char *url,
- const char *url_title,
- const char *cookie);
-bool sfi_url_test_show (const char *url);
-bool sfi_url_test_show_with_cookie (const char *url,
- const char *url_title,
- const char *cookie);
} // "C"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]