[Xfce4-commits] [apps/xfce4-dict] 22/43: Replace gdk_spawn_on_screen by g_spawn_async

noreply at xfce.org noreply at xfce.org
Tue Nov 1 00:31:35 CET 2016


This is an automated email from the git hooks/post-receive script.

andre pushed a commit to branch master
in repository apps/xfce4-dict.

commit 52f2960b42152d235173c519ca1abb51136c26ab
Author: Andre Miranda <andre42m at gmail.com>
Date:   Wed Jul 20 23:17:04 2016 -0300

    Replace gdk_spawn_on_screen by g_spawn_async
---
 lib/common.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/common.c b/lib/common.c
index 259202e..03a5a2b 100644
--- a/lib/common.c
+++ b/lib/common.c
@@ -144,8 +144,7 @@ static gboolean open_browser(DictData *dd, const gchar *uri)
 	argv[1] = (gchar*) uri;
 	argv[2] = NULL;
 
-	result = gdk_spawn_on_screen(gtk_widget_get_screen(dd->window), NULL, argv, NULL,
-				G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL);
+	result = g_spawn_async(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL);
 
 	g_free(browser_path);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list