From ff8078c66110e8ea36240c47bc1f069b44d3ab99 Mon Sep 17 00:00:00 2001 From: Burt P Date: Tue, 30 Jul 2019 16:49:16 -0500 Subject: Remove old open_url() in favor or uri_open() See: https://github.com/lpereira/hardinfo/pull/417#discussion_r308512774 Signed-off-by: Burt P --- shell/callbacks.c | 4 ++-- shell/report.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'shell') diff --git a/shell/callbacks.c b/shell/callbacks.c index c6cc743f..c116c023 100644 --- a/shell/callbacks.c +++ b/shell/callbacks.c @@ -39,12 +39,12 @@ void cb_sync_manager() void cb_open_web_page() { - open_url("http://www.hardinfo.org"); + uri_open("http://www.hardinfo.org"); } void cb_report_bug() { - open_url("https://github.com/lpereira/hardinfo"); + uri_open("https://github.com/lpereira/hardinfo"); } void cb_refresh() diff --git a/shell/report.c b/shell/report.c index 4949c557..8649d2a9 100644 --- a/shell/report.c +++ b/shell/report.c @@ -910,7 +910,7 @@ static gboolean report_generate(ReportDialog * rd) gchar *temp; temp = g_strdup_printf("file://%s", file); - open_url(temp); + uri_open(temp); g_free(temp); } -- cgit v1.2.3