summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>1998-12-03 01:07:10 +0000
committerElliot Lee <sopwith@src.gnome.org>1998-12-03 01:07:10 +0000
commit00e2371a5c144e452bd309541c1a958c80b411f5 (patch)
tree9650f3a11f8bf1fdfdd87fcb042043f0dd25acea
parent216c0e39cd44ca9c26a51d156343954a5e7c0f72 (diff)
Fix uses of gnome_execute_* to account for new return values.
Fix uses of gnome_execute_* to account for new return values.
-rw-r--r--gticker/gticker.c2
-rw-r--r--oldslashapp/slashapp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gticker/gticker.c b/gticker/gticker.c
index d3a340e23..f01207509 100644
--- a/gticker/gticker.c
+++ b/gticker/gticker.c
@@ -395,7 +395,7 @@ static void launch_url(AppData *ad, gchar *url)
argv[0] = "netscape";
argv[1] = url;
argv[2] = NULL;
- if (gnome_execute_async (NULL, 2, argv) != 0)
+ if (gnome_execute_async (NULL, 2, argv) < 0)
{
printf("failed to start browser\n");
}
diff --git a/oldslashapp/slashapp.c b/oldslashapp/slashapp.c
index e35a68a2c..d9573dc87 100644
--- a/oldslashapp/slashapp.c
+++ b/oldslashapp/slashapp.c
@@ -215,7 +215,7 @@ static void launch_url(AppData *ad, gchar *url)
argv[0] = "netscape";
argv[1] = url;
argv[2] = NULL;
- if (gnome_execute_async (NULL, 2, argv) != 0)
+ if (gnome_execute_async (NULL, 2, argv) < 0)
{
printf("failed to start browser\n");
}