[gnome-photos/wip/rishi/thumbnailer: 1/6] application: Use a named constant, not a magic number
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/thumbnailer: 1/6] application: Use a named constant, not a magic number
- Date: Fri, 10 Feb 2017 17:30:43 +0000 (UTC)
commit d38f6a7770245f90dddf5541b0104a5b642fe600
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Feb 10 14:29:07 2017 +0100
application: Use a named constant, not a magic number
src/photos-application.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index 86c21d3..b407e62 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -27,6 +27,8 @@
#include "config.h"
+#include <stdlib.h>
+
#include <gegl.h>
#include <gexiv2/gexiv2.h>
#include <gio/gio.h>
@@ -1586,7 +1588,7 @@ photos_application_handle_local_options (GApplication *application, GVariantDict
if (g_variant_dict_contains (options, "version"))
{
g_print ("%s %s\n", PACKAGE_TARNAME, PACKAGE_VERSION);
- ret_val = 0;
+ ret_val = EXIT_SUCCESS;
}
return ret_val;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]