remove old capnp code

This commit is contained in:
ranfdev
2024-11-20 20:41:10 +01:00
parent 6eae0e6972
commit 812e335c41
11 changed files with 23 additions and 899 deletions

View File

@ -13,7 +13,6 @@ use gio::SocketClient;
use gio::UnixSocketAddress;
use gtk::{gdk, gio, glib};
use ntfy_daemon::models;
use ntfy_daemon::ntfy_capnp::system_notifier;
use ntfy_daemon::NtfyHandle;
use tracing::{debug, error, info, warn};

View File

@ -9,7 +9,6 @@ use glib::subclass::prelude::*;
use glib::Properties;
use gtk::glib::MainContext;
use gtk::{gio, glib};
use ntfy_daemon::ntfy_capnp::{output_channel, subscription, watch_handle};
use ntfy_daemon::{models, ConnectionState, ListenerEvent};
use tracing::{debug, error, instrument};
@ -61,7 +60,6 @@ mod imp {
pub read_until: Cell<u64>,
pub messages: gio::ListStore,
pub client: OnceCell<ntfy_daemon::SubscriptionHandle>,
pub remote_handle: RefCell<Option<watch_handle::Client>>,
}
impl Subscription {
@ -84,7 +82,6 @@ mod imp {
client: Default::default(),
unread_count: Default::default(),
read_until: Default::default(),
remote_handle: Default::default(),
}
}
}

View File

@ -7,7 +7,6 @@ use adw::subclass::prelude::*;
use futures::prelude::*;
use gtk::{gio, glib};
use ntfy_daemon::models;
use ntfy_daemon::ntfy_capnp::system_notifier;
use ntfy_daemon::NtfyHandle;
use tracing::warn;