diff options
author | Rafal Luzynski <digitalfreak@lingonborough.com> | 2017-03-31 01:52:33 +0200 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2017-04-28 06:30:11 -0400 |
commit | 643c722f1e5c021aeec7ba758d5fbf5a83e0069f (patch) | |
tree | 7b27d2e886615057d8c2a1e0e5eea9eabd36d62e | |
parent | 0c4dd4a8020044fc7ba8196e0fccdd66e287fb97 (diff) | |
download | glib-643c722f1e5c021aeec7ba758d5fbf5a83e0069f.tar.gz |
gosxappinfo: fix typo in g_osx_app_info_launch_internal
Correct error domain is G_IO_ERROR.
https://bugzilla.gnome.org/show_bug.cgi?id=734946
-rw-r--r-- | gio/gosxappinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gio/gosxappinfo.c b/gio/gosxappinfo.c index 58c669752..ce7081701 100644 --- a/gio/gosxappinfo.c +++ b/gio/gosxappinfo.c @@ -24,6 +24,7 @@ #include "gcontenttype.h" #include "gfile.h" #include "gfileicon.h" +#include "gioerror.h" #import <CoreFoundation/CoreFoundation.h> #import <Foundation/Foundation.h> @@ -452,7 +453,7 @@ g_osx_app_info_launch_internal (GAppInfo *appinfo, if ((ret = LSOpenFromURLSpec (urlspec, NULL))) { /* TODO: Better error codes */ - g_set_error (error, G_IO_ERR, G_IO_ERROR_FAILED, + g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "Opening application failed with code %d", ret); success = FALSE; } |