[gitg] limit scope for application options
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] limit scope for application options
- Date: Thu, 29 Nov 2018 21:15:14 +0000 (UTC)
commit 960c9bed5a41a5c6b635ea561cbce57c284ecaf4
Author: Alberto Fanjul <albertofanjul gmail com>
Date: Thu Nov 29 22:14:20 2018 +0100
limit scope for application options
gitg/gitg-application.vala | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gitg/gitg-application.vala b/gitg/gitg-application.vala
index 08889370..ffe0ee37 100644
--- a/gitg/gitg-application.vala
+++ b/gitg/gitg-application.vala
@@ -27,13 +27,13 @@ public class Application : Gtk.Application
private Settings d_state_settings;
- public static bool app_quit = false;
- public static string activity;
- public static bool no_wd = false;
- public static bool standalone = false;
- public static ApplicationCommandLine app_command_line;
+ private static bool app_quit = false;
+ private static string activity;
+ private static bool no_wd = false;
+ private static bool standalone = false;
+ private static ApplicationCommandLine app_command_line;
- public const OptionEntry[] entries = {
+ private const OptionEntry[] entries = {
{"version", 'v', OptionFlags.NO_ARG, OptionArg.CALLBACK,
(void *)show_version_and_quit, N_("Show the application’s version"), null},
{"activity", '\0', 0, OptionArg.STRING,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]