mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
merge namespaces
This commit is contained in:
parent
d8320e3b99
commit
bf4c2c1e84
1 changed files with 4 additions and 2 deletions
|
|
@ -63,8 +63,10 @@ impl Dialog for PreferencesDialog {
|
|||
.icon_name("network-transmit-receive")
|
||||
.build();
|
||||
if let Some(ref socket) = this.socket {
|
||||
use gtk::gio::{SocketAddress, SocketFamily};
|
||||
use gtk::prelude::{SocketAddressExt, SocketConnectableExt};
|
||||
use gtk::{
|
||||
gio::{SocketAddress, SocketFamily},
|
||||
prelude::{SocketAddressExt, SocketConnectableExt},
|
||||
};
|
||||
/// Convert socket family to string
|
||||
fn f2s(socket_family: &SocketFamily) -> &str {
|
||||
match socket_family {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue