aboutsummaryrefslogtreecommitdiff
path: root/src/prompt-box.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-03-01 14:28:38 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-03-01 14:28:38 +0100
commitea1692f872f8075ef0b26ffafb3ab7ff075e9066 (patch)
treeeba8cd78b176e4429d2ab5c797711c14a17cc786 /src/prompt-box.vala
parent03b4ed0f9cd9bb90bf00f24057c82538cb6f6076 (diff)
downloadarctica-greeter-ea1692f872f8075ef0b26ffafb3ab7ff075e9066.tar.gz
arctica-greeter-ea1692f872f8075ef0b26ffafb3ab7ff075e9066.tar.bz2
arctica-greeter-ea1692f872f8075ef0b26ffafb3ab7ff075e9066.zip
src/: Get rid of various vala interpreter warnings.
Diffstat (limited to 'src/prompt-box.vala')
-rw-r--r--src/prompt-box.vala2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/prompt-box.vala b/src/prompt-box.vala
index a5d44bb..ffce61c 100644
--- a/src/prompt-box.vala
+++ b/src/prompt-box.vala
@@ -208,7 +208,6 @@ public class PromptBox : FadableBox
debug ("Internal error loading font style (%s, %dpt): %s", font_family, font_size+2, e.message);
}
- var agsettings = new AGSettings ();
try
{
var color_provider = new Gtk.CssProvider ();
@@ -917,7 +916,6 @@ private class ActiveIndicator : Gtk.Image
var rowstride = this.pixbuf_inverted_.get_rowstride ();
var col_bytes = (((channels * sample_size) + 7) / 8);
- var row_bytes = (this.pixbuf_inverted_.width * col_bytes);
unowned var pixels = this.pixbuf_inverted_.get_pixels ();
assert (pixels != null);
size_t color_bits = channels;