aboutsummaryrefslogtreecommitdiff
path: root/src/prompt-box.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-04-15 14:50:33 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-04-15 14:50:33 +0000
commit24d90866b4867e9490813cc5b495bf478c49d920 (patch)
tree05d1346b7b0787a30bd2beaffdff6c1f7e0ea961 /src/prompt-box.vala
parent5274b888c0d43535aa51d5a1746dccfe9dc7db31 (diff)
downloadarctica-greeter-24d90866b4867e9490813cc5b495bf478c49d920.tar.gz
arctica-greeter-24d90866b4867e9490813cc5b495bf478c49d920.tar.bz2
arctica-greeter-24d90866b4867e9490813cc5b495bf478c49d920.zip
vala: Replace all 'static const' declaration by 'const'.
Diffstat (limited to 'src/prompt-box.vala')
-rw-r--r--src/prompt-box.vala24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/prompt-box.vala b/src/prompt-box.vala
index 419f56d..db5e405 100644
--- a/src/prompt-box.vala
+++ b/src/prompt-box.vala
@@ -58,18 +58,18 @@ public class PromptBox : FadableBox
protected FadingLabel small_name_label;
private CachedImage small_message_image;
- protected static const int COL_ACTIVE = 0;
- protected static const int COL_CONTENT = 1;
- protected static const int COL_SPACER = 2;
+ protected const int COL_ACTIVE = 0;
+ protected const int COL_CONTENT = 1;
+ protected const int COL_SPACER = 2;
- protected static const int ROW_NAME = 0;
- protected static const int COL_NAME_LABEL = 0;
- protected static const int COL_NAME_MESSAGE = 1;
- protected static const int COL_NAME_OPTIONS = 2;
+ protected const int ROW_NAME = 0;
+ protected const int COL_NAME_LABEL = 0;
+ protected const int COL_NAME_MESSAGE = 1;
+ protected const int COL_NAME_OPTIONS = 2;
- protected static const int COL_ENTRIES_START = 1;
- protected static const int COL_ENTRIES_END = 1;
- protected static const int COL_ENTRIES_WIDTH = 1;
+ protected const int COL_ENTRIES_START = 1;
+ protected const int COL_ENTRIES_END = 1;
+ protected const int COL_ENTRIES_WIDTH = 1;
protected int start_row;
protected int last_row;
@@ -619,8 +619,8 @@ public class PromptBox : FadableBox
private class ActiveIndicator : Gtk.Image
{
public bool active { get; set; }
- public static const int WIDTH = 8;
- public static const int HEIGHT = 7;
+ public const int WIDTH = 8;
+ public const int HEIGHT = 7;
construct
{