[gnote] Replace gtk_show_uri with gtk_show_uri_on_window
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Replace gtk_show_uri with gtk_show_uri_on_window
- Date: Sat, 22 Jul 2017 19:39:06 +0000 (UTC)
commit 6f3746bdfdbeb9e13102feeea0d3d6ca8aa65f22
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sat Jul 22 22:38:10 2017 +0300
Replace gtk_show_uri with gtk_show_uri_on_window
src/utils.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/utils.cpp b/src/utils.cpp
index 3165e33..b89af67 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -164,7 +164,7 @@ namespace gnote {
}
GError *error = NULL;
- if(!gtk_show_uri (screen, uri.c_str(), gtk_get_current_event_time (), &error)) {
+ if(!gtk_show_uri_on_window(parent->gobj(), uri.c_str(), gtk_get_current_event_time (), &error)) {
Glib::ustring message = _("The \"Gnote Manual\" could "
"not be found. Please verify "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]