diff --git a/COPYRIGHT b/COPYRIGHT index d06a3d32..07892771 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -60,7 +60,7 @@ Zach Oakes Zach Ploskey The Gtk-rs Project is licensed under the MIT license, see the LICENSE file -or . +or . This project provides interoperability with various GNOME libraries but doesn't distribute any parts of them. Distributing compiled libraries and executables diff --git a/Cargo.toml b/Cargo.toml index bd9fd7c8..2f76b55d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "glib" -documentation = "http://gtk-rs.org/docs/glib/" -homepage = "http://gtk-rs.org/" +documentation = "https://gtk-rs.org/docs/glib/" +homepage = "https://gtk-rs.org/" authors = ["The Gtk-rs Project Developers"] description = "Rust bindings for the GLib library" readme = "README.md" diff --git a/README.md b/README.md index e8a93c65..2c04c6f7 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ Alongside GLib bindings, this crate also includes the infrastructure to subclass `GObject` for extending libraries like GTK+. A code example can be found in the documentation of this crate in the `subclass` module. -- [Gtk-rs project site](http://gtk-rs.org/) +- [Gtk-rs project site](https://gtk-rs.org/) -- [Online documentation](http://gtk-rs.org/docs/) +- [Online documentation](https://gtk-rs.org/docs-src/) - [Readme](https://github.com/gtk-rs/gtk/blob/master/README.md) in our [main repo](https://github.com/gtk-rs/gtk) diff --git a/glib-macros/Cargo.toml b/glib-macros/Cargo.toml index b1f73ed8..bdb3d54f 100644 --- a/glib-macros/Cargo.toml +++ b/glib-macros/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "glib-macros" -documentation = "http://gtk-rs.org/docs/glib-macros/" -homepage = "http://gtk-rs.org/" +documentation = "https://gtk-rs.org/docs/glib-macros/" +homepage = "https://gtk-rs.org/" authors = ["The Gtk-rs Project Developers"] description = "Rust bindings for the GLib library, proc macros crate" version = "0.10.0" diff --git a/glib-macros/src/gboxed_derive.rs b/glib-macros/src/gboxed_derive.rs index e0485b3a..4ddc0d11 100644 --- a/glib-macros/src/gboxed_derive.rs +++ b/glib-macros/src/gboxed_derive.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use proc_macro2::{Ident, TokenStream}; use proc_macro_error::abort_call_site; diff --git a/glib-macros/src/genum_derive.rs b/glib-macros/src/genum_derive.rs index 2241d4da..4fb28c15 100644 --- a/glib-macros/src/genum_derive.rs +++ b/glib-macros/src/genum_derive.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use heck::{CamelCase, KebabCase, SnakeCase}; use proc_macro2::TokenStream; diff --git a/glib-macros/src/gflags_attribute.rs b/glib-macros/src/gflags_attribute.rs index 4cd73982..d2fae9e7 100644 --- a/glib-macros/src/gflags_attribute.rs +++ b/glib-macros/src/gflags_attribute.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use heck::{CamelCase, KebabCase, SnakeCase}; use proc_macro2::TokenStream; diff --git a/glib-macros/src/lib.rs b/glib-macros/src/lib.rs index ab2960c7..0fc18143 100644 --- a/glib-macros/src/lib.rs +++ b/glib-macros/src/lib.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or extern crate proc_macro; diff --git a/glib-macros/src/utils.rs b/glib-macros/src/utils.rs index ec84c11f..96b68a56 100644 --- a/glib-macros/src/utils.rs +++ b/glib-macros/src/utils.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use anyhow::{bail, Result}; use itertools::Itertools; diff --git a/glib-macros/tests/test.rs b/glib-macros/tests/test.rs index df191cc2..38cc8cec 100644 --- a/glib-macros/tests/test.rs +++ b/glib-macros/tests/test.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use ::glib_macros::{gflags, GBoxed, GEnum}; use glib::prelude::*; diff --git a/src/boxed.rs b/src/boxed.rs index e0e77b35..c611c0d1 100644 --- a/src/boxed.rs +++ b/src/boxed.rs @@ -1,6 +1,6 @@ // Copyright 2015-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! `IMPL` Boxed wrapper implementation. diff --git a/src/bridged_logging.rs b/src/bridged_logging.rs index 1bf2f88d..2d921ca2 100644 --- a/src/bridged_logging.rs +++ b/src/bridged_logging.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or extern crate log as rs_log; diff --git a/src/byte_array.rs b/src/byte_array.rs index 71c8ea23..f783151c 100644 --- a/src/byte_array.rs +++ b/src/byte_array.rs @@ -1,6 +1,6 @@ // Copyright 2019, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! # Examples //! diff --git a/src/bytes.rs b/src/bytes.rs index be10aa2a..8855f82f 100644 --- a/src/bytes.rs +++ b/src/bytes.rs @@ -1,6 +1,6 @@ // Copyright 2013-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib_sys; use std::borrow::Borrow; diff --git a/src/checksum.rs b/src/checksum.rs index af8d9c6d..ef9c55d2 100644 --- a/src/checksum.rs +++ b/src/checksum.rs @@ -1,6 +1,6 @@ // Copyright 2013-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib_sys; use libc::size_t; diff --git a/src/closure.rs b/src/closure.rs index 8d4132a7..8acdf29e 100644 --- a/src/closure.rs +++ b/src/closure.rs @@ -1,6 +1,6 @@ // Copyright 2013-2017, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or // TODO: support marshaller. diff --git a/src/date.rs b/src/date.rs index 6e7fb2e4..1726c58c 100644 --- a/src/date.rs +++ b/src/date.rs @@ -1,6 +1,6 @@ // Copyright 2017, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib_sys; use gobject_sys; diff --git a/src/enums.rs b/src/enums.rs index 56e827bb..82d25591 100644 --- a/src/enums.rs +++ b/src/enums.rs @@ -1,6 +1,6 @@ // Copyright 2015-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib_sys; use gobject_sys; diff --git a/src/error.rs b/src/error.rs index 604fc527..152dbb8d 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,6 +1,6 @@ // Copyright 2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! `Error` binding and helper trait. diff --git a/src/file_error.rs b/src/file_error.rs index ea905bb8..c57d3393 100644 --- a/src/file_error.rs +++ b/src/file_error.rs @@ -1,6 +1,6 @@ // Copyright 2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use error::ErrorDomain; use glib_sys; diff --git a/src/gobject/mod.rs b/src/gobject/mod.rs index 9cc684d3..c48a33ca 100644 --- a/src/gobject/mod.rs +++ b/src/gobject/mod.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! GObject bindings diff --git a/src/gstring.rs b/src/gstring.rs index 16bb8f16..ca49fda6 100644 --- a/src/gstring.rs +++ b/src/gstring.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use libc; use std::borrow::Borrow; diff --git a/src/key_file.rs b/src/key_file.rs index 8b9a5cc1..d6ac134d 100644 --- a/src/key_file.rs +++ b/src/key_file.rs @@ -1,6 +1,6 @@ // Copyright 2015-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use auto::KeyFileFlags; use error::Error; diff --git a/src/lib.rs b/src/lib.rs index 2c2c418c..1f4d1767 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ // Copyright 2013-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! # **glib**, **gobject** and **gio** bindings for Rust //! diff --git a/src/log.rs b/src/log.rs index 562140c9..1bcd98ad 100644 --- a/src/log.rs +++ b/src/log.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib_sys; use once_cell::sync::Lazy; diff --git a/src/main_context.rs b/src/main_context.rs index 60f012eb..a79541fd 100644 --- a/src/main_context.rs +++ b/src/main_context.rs @@ -1,6 +1,6 @@ // Copyright 2015-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib_sys::{self, gboolean, gpointer}; use source::Priority; diff --git a/src/main_context_channel.rs b/src/main_context_channel.rs index 467a9d21..464d5bbd 100644 --- a/src/main_context_channel.rs +++ b/src/main_context_channel.rs @@ -1,6 +1,6 @@ // Copyright 2019, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib_sys; use std::collections::VecDeque; diff --git a/src/main_context_futures.rs b/src/main_context_futures.rs index 1d1f08fc..5332f678 100644 --- a/src/main_context_futures.rs +++ b/src/main_context_futures.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use futures_core::future::Future; use futures_core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker}; diff --git a/src/object.rs b/src/object.rs index ae055fe4..65f0f65a 100644 --- a/src/object.rs +++ b/src/object.rs @@ -1,6 +1,6 @@ // Copyright 2015-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! `IMPL` Object wrapper implementation and `Object` binding. diff --git a/src/param_spec.rs b/src/param_spec.rs index 78633c39..abdd3cee 100644 --- a/src/param_spec.rs +++ b/src/param_spec.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use gobject_sys; use libc; use translate::*; diff --git a/src/quark.rs b/src/quark.rs index 3718aab8..a8bf49e1 100644 --- a/src/quark.rs +++ b/src/quark.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib_sys; use std::ffi::CStr; diff --git a/src/send_unique.rs b/src/send_unique.rs index 3a0f039d..07e01b78 100644 --- a/src/send_unique.rs +++ b/src/send_unique.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use std::cell::RefCell; use std::ops; diff --git a/src/shared.rs b/src/shared.rs index 6323aeff..e49d51fa 100644 --- a/src/shared.rs +++ b/src/shared.rs @@ -1,6 +1,6 @@ // Copyright 2015-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! `IMPL` Shared (reference counted) wrapper implementation. diff --git a/src/signal.rs b/src/signal.rs index 997c37e9..e7ff2e7c 100644 --- a/src/signal.rs +++ b/src/signal.rs @@ -1,6 +1,6 @@ // Copyright 2015, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! `IMPL` Low level signal support. diff --git a/src/source.rs b/src/source.rs index fc70ace1..0a7a865b 100644 --- a/src/source.rs +++ b/src/source.rs @@ -1,6 +1,6 @@ // Copyright 2013-2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib_sys::{self, gboolean, gpointer}; #[cfg(all(not(unix), feature = "dox"))] diff --git a/src/source_futures.rs b/src/source_futures.rs index ea628f71..74673bf2 100644 --- a/src/source_futures.rs +++ b/src/source_futures.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use futures_channel::{mpsc, oneshot}; use futures_core::future::Future; diff --git a/src/string.rs b/src/string.rs index b263559c..c5f89c45 100644 --- a/src/string.rs +++ b/src/string.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib_sys; use gobject_sys; diff --git a/src/subclass/boxed.rs b/src/subclass/boxed.rs index f0bea418..4f8a4ab6 100644 --- a/src/subclass/boxed.rs +++ b/src/subclass/boxed.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! Module for registering boxed types for Rust types. diff --git a/src/subclass/interface.rs b/src/subclass/interface.rs index 0ed7d0b0..707cd933 100644 --- a/src/subclass/interface.rs +++ b/src/subclass/interface.rs @@ -1,6 +1,6 @@ // Copyright 2019, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use super::{InitializingType, Property}; use glib_sys; diff --git a/src/subclass/mod.rs b/src/subclass/mod.rs index 00c7eca1..bb5998e5 100644 --- a/src/subclass/mod.rs +++ b/src/subclass/mod.rs @@ -1,6 +1,6 @@ // Copyright 2017-2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! Module containing infrastructure for subclassing `GObject`s and registering boxed types. //! diff --git a/src/subclass/object.rs b/src/subclass/object.rs index b758c42f..46c9a8b3 100644 --- a/src/subclass/object.rs +++ b/src/subclass/object.rs @@ -1,6 +1,6 @@ // Copyright 2017-2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! Module that contains all types needed for creating a direct subclass of `GObject` //! or implementing virtual methods of it. diff --git a/src/subclass/simple.rs b/src/subclass/simple.rs index 8b3d9546..556d5bdc 100644 --- a/src/subclass/simple.rs +++ b/src/subclass/simple.rs @@ -1,6 +1,6 @@ // Copyright 2017-2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! This module contains simple instance and class structs to be used for //! `GObject` subclasses that don't require any additional data in these diff --git a/src/subclass/types.rs b/src/subclass/types.rs index ae0e8332..f8c50ee4 100644 --- a/src/subclass/types.rs +++ b/src/subclass/types.rs @@ -1,6 +1,6 @@ // Copyright 2017-2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! Module that contains the basic infrastructure for subclassing `GObject`. diff --git a/src/thread_pool.rs b/src/thread_pool.rs index 21c44178..0468856f 100644 --- a/src/thread_pool.rs +++ b/src/thread_pool.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib_sys; use translate::*; diff --git a/src/time_val.rs b/src/time_val.rs index 32bcc4a9..c82feda7 100644 --- a/src/time_val.rs +++ b/src/time_val.rs @@ -1,6 +1,6 @@ // Copyright 2013-2015, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib_sys; use std::mem; diff --git a/src/translate.rs b/src/translate.rs index 1f6e394a..9136b423 100644 --- a/src/translate.rs +++ b/src/translate.rs @@ -1,6 +1,6 @@ // Copyright 2015, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! Translation between GLib/GLib-based FFI types and their Rust counterparts. //! diff --git a/src/types.rs b/src/types.rs index 51c5c8bd..73eab83d 100644 --- a/src/types.rs +++ b/src/types.rs @@ -1,6 +1,6 @@ // Copyright 2015-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! Runtime type information. diff --git a/src/utils.rs b/src/utils.rs index 364fe9cc..eb41a041 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -1,6 +1,6 @@ // Copyright 2015-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use error::BoolError; use glib_sys; diff --git a/src/value.rs b/src/value.rs index f8898967..afa59869 100644 --- a/src/value.rs +++ b/src/value.rs @@ -1,6 +1,6 @@ // Copyright 2013-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! `Value` binding and helper traits. //! diff --git a/src/value_array.rs b/src/value_array.rs index 62946fb2..7c3c05aa 100644 --- a/src/value_array.rs +++ b/src/value_array.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib_sys; use gobject_sys; diff --git a/src/variant.rs b/src/variant.rs index fa7aa5e9..8019945e 100644 --- a/src/variant.rs +++ b/src/variant.rs @@ -1,6 +1,6 @@ // Copyright 2013-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! `Variant` binding and helper traits. //! diff --git a/src/variant_dict.rs b/src/variant_dict.rs index 3a77eda8..0497b1b4 100644 --- a/src/variant_dict.rs +++ b/src/variant_dict.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use std::borrow::Cow; use std::default::Default; diff --git a/src/variant_iter.rs b/src/variant_iter.rs index 919f745b..34ba55ab 100644 --- a/src/variant_iter.rs +++ b/src/variant_iter.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or // This is similar to the GVariantIter provided by glib, but that would // introduce a heap allocation and doesn't provide a way to determine how diff --git a/src/variant_type.rs b/src/variant_type.rs index 1a83fa9f..a1de8ae5 100644 --- a/src/variant_type.rs +++ b/src/variant_type.rs @@ -1,6 +1,6 @@ // Copyright 2013-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib_sys; use gobject_sys; diff --git a/src/wrapper.rs b/src/wrapper.rs index 8b08e2e7..73d70337 100644 --- a/src/wrapper.rs +++ b/src/wrapper.rs @@ -1,6 +1,6 @@ // Copyright 2015-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! `IMPL` The `glib_wrapper!` macro and miscellaneous wrapper traits.