summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkotontrion <[email protected]>2024-05-23 14:56:54 +0200
committerkotontrion <[email protected]>2024-05-23 14:56:54 +0200
commitfc09b269240ed2716c7949b1f73133a9c01ae107 (patch)
treeb59304a0831ffc548c34436fb2b6c6761b869266
parentcabaf247b3d7e93415ab09a0fe619f8df51be327 (diff)
clean up small things
-rw-r--r--src/meson.build2
-rw-r--r--src/tray.vala1
-rw-r--r--src/trayItem.vala1
3 files changed, 1 insertions, 3 deletions
diff --git a/src/meson.build b/src/meson.build
index 9110030..56042aa 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -42,7 +42,7 @@ sources = files(
libtray = library(
meson.project_name(),
sources,
- dependencies: deps + meson.get_compiler('vala').find_library('posix'),
+ dependencies: deps
vala_header: meson.project_name() + '.h',
vala_vapi: meson.project_name() + '.vapi',
vala_gir: tray_gir,
diff --git a/src/tray.vala b/src/tray.vala
index 502e387..942d230 100644
--- a/src/tray.vala
+++ b/src/tray.vala
@@ -75,7 +75,6 @@ public class Tray : Object {
proxy.notify["g-name-owner"].connect(
() => {
_items.foreach((service, _) => {
- print("%s\n", service);
item_removed(service);
});
_items.remove_all();
diff --git a/src/trayItem.vala b/src/trayItem.vala
index 6bee7ed..4261e52 100644
--- a/src/trayItem.vala
+++ b/src/trayItem.vala
@@ -1,5 +1,4 @@
using DbusmenuGtk;
-using Posix;
namespace AstalTray {