summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2019-07-30 16:49:16 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2019-07-31 17:13:07 -0700
commitff8078c66110e8ea36240c47bc1f069b44d3ab99 (patch)
treea0857b9f6b253dae1e6c8bc3f5cde386e6bc7da3 /shell
parentb4337288f40bcc8fdadb8807647f0e0409ebf5af (diff)
Remove old open_url() in favor or uri_open()
See: https://github.com/lpereira/hardinfo/pull/417#discussion_r308512774 Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/callbacks.c4
-rw-r--r--shell/report.c2
2 files changed, 3 insertions, 3 deletions
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);
}