diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 73f8df7f848c..5a65f71767a1 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -315,16 +315,19 @@ jobs: strategy: matrix: crate: - - atk - - gdk - - gdk-pixbuf - - gdkx11 - - gio - - glib - - graphene - - gtk - - pango - - pangocairo + - { name: 'atk', extra: '' } + - { name: 'cairo', extra: '--no-manual-traits' } + - { name: 'gdk', extra: '' } + - { name: 'gdk-pixbuf', extra: '' } + - { name: 'gdkx11', extra: '' } + - { name: 'gio', extra: '' } + - { name: 'glib', extra: '' } + - { name: 'glib-macros', extra: '--no-manual-traits' } + - { name: 'graphene', extra: '' } + - { name: 'gtk', extra: '' } + - { name: 'gtk3-macros', extra: '--no-manual-traits' } + - { name: 'pango', extra: '' } + - { name: 'pangocairo', extra: '' } steps: - uses: actions/checkout@v2 - uses: actions/checkout@v2 @@ -334,10 +337,11 @@ jobs: path: checker - run: cargo build --release working-directory: checker - - run: cargo run -- ../${{matrix.crate}} + - run: cargo run -- ${{matrix.crate.extra}} ../${{matrix.crate.name}} working-directory: checker - - run: cargo run -- ../${{matrix.crate}}/sys + - run: cargo run -- --no-license ../${{matrix.crate.name}}/sys working-directory: checker - - run: ./check_init_asserts ../${{matrix.crate}} + if: matrix.crate.extra == '' + - run: ./check_init_asserts ../${{matrix.crate.name}} working-directory: checker if: matrix.crate == 'atk' || matrix.crate == 'gdk' || matrix.crate == 'gdkx11' || matrix.crate == 'gtk' diff --git a/COPYRIGHT b/COPYRIGHT index d06a3d324ae2..5f5ef43227ba 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -1,68 +1,14 @@ -The Gtk-rs Project is copyright 2013-2016, The Gtk-rs Project Developers: +The Gtk-rs Project is licensed under the MIT license, see the LICENSE file or +. -Adam Crume -Adolfo Ochagavía -Andre Bogus -Anton Konjahin -Arne Dussin -Boden Garman -Brian Kropf -Bryant Mairs -Chris Greenaway -Chris Palmer -Corey Farwell -Daniel Zalevskiy -David Li -Edward Shaw -Edward Yang -Esption -Evgenii Pashkin -Geoffrey French -Gleb Kozyrev -Glenn Watson -Google Inc. -Guillaume Gomez -Gulshan Singh -Jakob Gillich -James Shepherdson -Jeremy Letang -John Vrbanac -kennytm -Laurence Tratt -Lionel Flandrin -Lucas Werkmeister -Lukas Diekmann -Mathijs Henquet -Maxwell Koo -mitaa -Nick Herman -Nicolas Koch -Oliver Schneider -Ömer Sinan Ağacan -Ralph Giles -Paul Dennis -Paul Hendry -Philipp Brüschweiler -Raphael Nestler -Robertas -Romain Gauthier -S.J.R. van Schaik -Sebastian Schulze -Silvio Fricke -Simon Sapin -Steve Klabnik -Tobias Bales -trolleyman -Umur Gedik -UrKr -Vojtech Kral -Zach Oakes -Zach Ploskey +Copyrights in the Gtk-rs Project project are retained by their contributors. +No copyright assignment is required to contribute to the Gtk-rs Project +project. -The Gtk-rs Project is licensed under the MIT license, see the LICENSE file -or . +For full authorship information, see the version control history. -This project provides interoperability with various GNOME libraries but doesn't -distribute any parts of them. Distributing compiled libraries and executables -that link to those libraries may be subject to terms of the GNU LGPL, see the -LGPL file. +This project provides interoperability with various GNOME libraries but +doesn't distribute any parts of them. Distributing compiled libraries and +executables that link to those libraries may be subject to terms of the GNU +LGPL or other licenses. For more information check the license of each GNOME +library. diff --git a/LICENSE b/LICENSE index d74ce6ff7dd1..64a801a7baf3 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,3 @@ -The MIT License (MIT) - -Copyright (c) 2013-2020, The Gtk-rs Project Developers. - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights diff --git a/atk/COPYRIGHT b/atk/COPYRIGHT new file mode 120000 index 000000000000..dc5f40a221a3 --- /dev/null +++ b/atk/COPYRIGHT @@ -0,0 +1 @@ +../COPYRIGHT \ No newline at end of file diff --git a/atk/LICENSE b/atk/LICENSE new file mode 120000 index 000000000000..ea5b60640b01 --- /dev/null +++ b/atk/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/atk/src/attribute.rs b/atk/src/attribute.rs index fb38d73f5a52..6fc1e6a04be7 100644 --- a/atk/src/attribute.rs +++ b/atk/src/attribute.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; use glib::GString; diff --git a/atk/src/attribute_set.rs b/atk/src/attribute_set.rs index 9ec05e6210bb..82e508e6a47d 100644 --- a/atk/src/attribute_set.rs +++ b/atk/src/attribute_set.rs @@ -1,5 +1,3 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. pub type AttributeSet = glib::translate::SList; diff --git a/atk/src/editable_text.rs b/atk/src/editable_text.rs index e992d8701c98..c159a32a25b9 100644 --- a/atk/src/editable_text.rs +++ b/atk/src/editable_text.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::EditableText; use glib::object::IsA; diff --git a/atk/src/lib.rs b/atk/src/lib.rs index 169992252735..336e39aafac7 100644 --- a/atk/src/lib.rs +++ b/atk/src/lib.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! # ATK bindings //! diff --git a/atk/src/prelude.rs b/atk/src/prelude.rs index 023ce39c7543..eb02f2574f5f 100644 --- a/atk/src/prelude.rs +++ b/atk/src/prelude.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! Traits intended for blanket imports. diff --git a/atk/src/rt.rs b/atk/src/rt.rs index fefde4a46c66..696fd7914b2a 100644 --- a/atk/src/rt.rs +++ b/atk/src/rt.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. /// No-op. macro_rules! assert_initialized_main_thread { diff --git a/atk/src/table.rs b/atk/src/table.rs index e1a4c51ea1ed..5d4a47f7e9d3 100644 --- a/atk/src/table.rs +++ b/atk/src/table.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Table; use glib::object::IsA; diff --git a/atk/src/text_rectangle.rs b/atk/src/text_rectangle.rs index b73a13c5790e..67fdf7d30225 100644 --- a/atk/src/text_rectangle.rs +++ b/atk/src/text_rectangle.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; use std::fmt; diff --git a/cairo/COPYRIGHT b/cairo/COPYRIGHT new file mode 120000 index 000000000000..dc5f40a221a3 --- /dev/null +++ b/cairo/COPYRIGHT @@ -0,0 +1 @@ +../COPYRIGHT \ No newline at end of file diff --git a/cairo/LICENSE b/cairo/LICENSE new file mode 120000 index 000000000000..ea5b60640b01 --- /dev/null +++ b/cairo/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/cairo/src/constants.rs b/cairo/src/constants.rs index 9443216a799e..cabdccc72985 100644 --- a/cairo/src/constants.rs +++ b/cairo/src/constants.rs @@ -1,6 +1,4 @@ -// Copyright 2013-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 +// Take a look at the license at the top of the repository in the LICENSE file. pub const MIME_TYPE_JPEG: &str = "image/jpeg"; pub const MIME_TYPE_PNG: &str = "image/png"; diff --git a/cairo/src/context.rs b/cairo/src/context.rs index 69777b918608..99c8037bfaab 100644 --- a/cairo/src/context.rs +++ b/cairo/src/context.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::font::{ FontExtents, FontFace, FontOptions, Glyph, ScaledFont, TextCluster, TextExtents, diff --git a/cairo/src/device.rs b/cairo/src/device.rs index 2b7bd2338251..472dec159ea6 100644 --- a/cairo/src/device.rs +++ b/cairo/src/device.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::enums::DeviceType; use crate::error::Error; diff --git a/cairo/src/enums.rs b/cairo/src/enums.rs index 827cdde5428d..0bdc442e0851 100644 --- a/cairo/src/enums.rs +++ b/cairo/src/enums.rs @@ -1,6 +1,4 @@ -// Copyright 2013-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 +// Take a look at the license at the top of the repository in the LICENSE file. use std::fmt::{self, Debug}; use std::i32; diff --git a/cairo/src/error.rs b/cairo/src/error.rs index bf1ed361037b..c69f777ac404 100644 --- a/cairo/src/error.rs +++ b/cairo/src/error.rs @@ -1,8 +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 -use std::fmt::Debug; +// Take a look at the license at the top of the repository in the LICENSE file. +use std::fmt::Debug; use std::io; use thiserror::Error; diff --git a/cairo/src/font/font_face.rs b/cairo/src/font/font_face.rs index 45b928668b9d..ab4c3db6229b 100644 --- a/cairo/src/font/font_face.rs +++ b/cairo/src/font/font_face.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + #[cfg(feature = "use_glib")] use glib::translate::*; use libc::{c_char, c_int}; diff --git a/cairo/src/font/font_options.rs b/cairo/src/font/font_options.rs index 259d92b1ebe8..dacd730a2a45 100644 --- a/cairo/src/font/font_options.rs +++ b/cairo/src/font/font_options.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + #[cfg(feature = "use_glib")] use glib::translate::*; use std::cmp::PartialEq; diff --git a/cairo/src/font/mod.rs b/cairo/src/font/mod.rs index c59b264c0477..9a9c3a507ab3 100644 --- a/cairo/src/font/mod.rs +++ b/cairo/src/font/mod.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. mod font_face; mod font_options; diff --git a/cairo/src/font/scaled_font.rs b/cairo/src/font/scaled_font.rs index 07f3693ed4f4..bdaa149ab920 100644 --- a/cairo/src/font/scaled_font.rs +++ b/cairo/src/font/scaled_font.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + #[cfg(feature = "use_glib")] use glib::translate::*; use std::ffi::CString; diff --git a/cairo/src/image_surface.rs b/cairo/src/image_surface.rs index 60f2b19470d8..d2b9376537d4 100644 --- a/cairo/src/image_surface.rs +++ b/cairo/src/image_surface.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use std::convert::TryFrom; use std::ops::{Deref, DerefMut}; diff --git a/cairo/src/image_surface_png.rs b/cairo/src/image_surface_png.rs index 1bdb9a944ad2..4602c9aefead 100644 --- a/cairo/src/image_surface_png.rs +++ b/cairo/src/image_surface_png.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::utils::status_to_result; use std::any::Any; diff --git a/cairo/src/lib.rs b/cairo/src/lib.rs index 5bc2cd59a9a5..686bd5e431b3 100644 --- a/cairo/src/lib.rs +++ b/cairo/src/lib.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! # Cairo bindings //! diff --git a/cairo/src/matrices.rs b/cairo/src/matrices.rs index f7871c5833b5..8bf8138a9a29 100644 --- a/cairo/src/matrices.rs +++ b/cairo/src/matrices.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::error::Error; use crate::utils::status_to_result; diff --git a/cairo/src/paths.rs b/cairo/src/paths.rs index 6aa323faf60a..c7d9b2e49fef 100644 --- a/cairo/src/paths.rs +++ b/cairo/src/paths.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::enums::PathDataType; use crate::ffi::cairo_path_t; diff --git a/cairo/src/patterns.rs b/cairo/src/patterns.rs index 5cdfea92a710..a2acef132a0b 100644 --- a/cairo/src/patterns.rs +++ b/cairo/src/patterns.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::enums::MeshCorner; use crate::enums::{Extend, Filter, PatternType}; diff --git a/cairo/src/pdf.rs b/cairo/src/pdf.rs index 3fa0b78a2a23..daaf647d7d1a 100644 --- a/cairo/src/pdf.rs +++ b/cairo/src/pdf.rs @@ -1,6 +1,4 @@ -// Copyright 2018-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 +// Take a look at the license at the top of the repository in the LICENSE file. use std::convert::TryFrom; use std::ffi::{CStr, CString}; diff --git a/cairo/src/ps.rs b/cairo/src/ps.rs index db776fba38d3..b0e7cbb1dd26 100644 --- a/cairo/src/ps.rs +++ b/cairo/src/ps.rs @@ -1,6 +1,4 @@ -// Copyright 2018-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 +// Take a look at the license at the top of the repository in the LICENSE file. use std::convert::TryFrom; use std::ffi::{CStr, CString}; diff --git a/cairo/src/quartz_surface.rs b/cairo/src/quartz_surface.rs index 77b48c42b659..b9367097db14 100644 --- a/cairo/src/quartz_surface.rs +++ b/cairo/src/quartz_surface.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use std::convert::TryFrom; use std::fmt; diff --git a/cairo/src/recording_surface.rs b/cairo/src/recording_surface.rs index 7b8735387594..c7b4168bdafb 100644 --- a/cairo/src/recording_surface.rs +++ b/cairo/src/recording_surface.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use std::convert::TryFrom; use std::fmt; diff --git a/cairo/src/rectangle.rs b/cairo/src/rectangle.rs index cac1b6136db3..1a51aec4f7de 100644 --- a/cairo/src/rectangle.rs +++ b/cairo/src/rectangle.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + #[cfg(feature = "use_glib")] use glib::translate::*; use std::fmt; diff --git a/cairo/src/rectangle_int.rs b/cairo/src/rectangle_int.rs index 85021914350d..5c1d294964ec 100644 --- a/cairo/src/rectangle_int.rs +++ b/cairo/src/rectangle_int.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + #[cfg(feature = "use_glib")] use glib::translate::*; use std::fmt; diff --git a/cairo/src/region.rs b/cairo/src/region.rs index 5bb40fab2c1a..d43b12dc2f20 100644 --- a/cairo/src/region.rs +++ b/cairo/src/region.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::enums::RegionOverlap; use crate::error::Error; diff --git a/cairo/src/stream.rs b/cairo/src/stream.rs index 5f11281de858..b2f4360c6be0 100644 --- a/cairo/src/stream.rs +++ b/cairo/src/stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::error::Error; use crate::{Surface, UserDataKey}; diff --git a/cairo/src/surface.rs b/cairo/src/surface.rs index 3ec4eda336da..c533d3cabb70 100644 --- a/cairo/src/surface.rs +++ b/cairo/src/surface.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use libc::{c_ulong, c_void}; use std::ffi::CString; diff --git a/cairo/src/surface_macros.rs b/cairo/src/surface_macros.rs index 79fd53587efd..605e1ac72dc6 100644 --- a/cairo/src/surface_macros.rs +++ b/cairo/src/surface_macros.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + // e.g. declare_surface(ImageSurface, SurfaceType::Image) macro_rules! declare_surface { ($surf_name:ident, $surf_type:expr) => { diff --git a/cairo/src/svg.rs b/cairo/src/svg.rs index 6591fe56c413..1af029045e4b 100644 --- a/cairo/src/svg.rs +++ b/cairo/src/svg.rs @@ -1,6 +1,4 @@ -// Copyright 2018-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 +// Take a look at the license at the top of the repository in the LICENSE file. #[cfg(any(all(feature = "svg", feature = "v1_16"), feature = "dox"))] use crate::enums::SvgUnit; diff --git a/cairo/src/user_data.rs b/cairo/src/user_data.rs index cadba556b73e..0e3e081da82e 100644 --- a/cairo/src/user_data.rs +++ b/cairo/src/user_data.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use std::marker::PhantomData; use crate::ffi::cairo_user_data_key_t; diff --git a/cairo/src/utils.rs b/cairo/src/utils.rs index f9e1fabf98eb..139b777ecf1d 100644 --- a/cairo/src/utils.rs +++ b/cairo/src/utils.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::error::Error; use std::ffi::CStr; diff --git a/cairo/src/win32_surface.rs b/cairo/src/win32_surface.rs index d1c101c3029e..e84b0f353ce7 100644 --- a/cairo/src/win32_surface.rs +++ b/cairo/src/win32_surface.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. pub use ffi::winapi; diff --git a/cairo/src/xcb.rs b/cairo/src/xcb.rs index a9522823c53d..3095b56d30c9 100644 --- a/cairo/src/xcb.rs +++ b/cairo/src/xcb.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::enums::SurfaceType; #[cfg(feature = "use_glib")] diff --git a/gdk-pixbuf/COPYRIGHT b/gdk-pixbuf/COPYRIGHT new file mode 120000 index 000000000000..dc5f40a221a3 --- /dev/null +++ b/gdk-pixbuf/COPYRIGHT @@ -0,0 +1 @@ +../COPYRIGHT \ No newline at end of file diff --git a/gdk-pixbuf/LICENSE b/gdk-pixbuf/LICENSE new file mode 120000 index 000000000000..ea5b60640b01 --- /dev/null +++ b/gdk-pixbuf/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/gdk-pixbuf/src/lib.rs b/gdk-pixbuf/src/lib.rs index 10d6e378394f..e024bd3675df 100644 --- a/gdk-pixbuf/src/lib.rs +++ b/gdk-pixbuf/src/lib.rs @@ -1,6 +1,5 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. + #![cfg_attr(feature = "dox", feature(doc_cfg))] pub use ffi; diff --git a/gdk-pixbuf/src/pixbuf.rs b/gdk-pixbuf/src/pixbuf.rs index c9e848775d81..e012518c1ed6 100644 --- a/gdk-pixbuf/src/pixbuf.rs +++ b/gdk-pixbuf/src/pixbuf.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::object::IsA; use glib::translate::*; diff --git a/gdk-pixbuf/src/pixbuf_animation.rs b/gdk-pixbuf/src/pixbuf_animation.rs index 777186f0fc9f..4542e3d31c5a 100644 --- a/gdk-pixbuf/src/pixbuf_animation.rs +++ b/gdk-pixbuf/src/pixbuf_animation.rs @@ -1,6 +1,4 @@ -// Copyright 2013-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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::PixbufAnimation; use crate::PixbufAnimationIter; diff --git a/gdk-pixbuf/src/pixbuf_animation_iter.rs b/gdk-pixbuf/src/pixbuf_animation_iter.rs index 54497bbf8de0..a37de602775f 100644 --- a/gdk-pixbuf/src/pixbuf_animation_iter.rs +++ b/gdk-pixbuf/src/pixbuf_animation_iter.rs @@ -1,6 +1,4 @@ -// Copyright 2013-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 +// Take a look at the license at the top of the repository in the LICENSE file. use super::Pixbuf; use glib::translate::*; diff --git a/gdk-pixbuf/src/prelude.rs b/gdk-pixbuf/src/prelude.rs index e963ff807d94..eab0e3c9c36f 100644 --- a/gdk-pixbuf/src/prelude.rs +++ b/gdk-pixbuf/src/prelude.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + //! Traits inteded for blanket imports. pub use crate::auto::traits::*; diff --git a/gdk/COPYRIGHT b/gdk/COPYRIGHT new file mode 120000 index 000000000000..dc5f40a221a3 --- /dev/null +++ b/gdk/COPYRIGHT @@ -0,0 +1 @@ +../COPYRIGHT \ No newline at end of file diff --git a/gdk/LICENSE b/gdk/LICENSE new file mode 120000 index 000000000000..ea5b60640b01 --- /dev/null +++ b/gdk/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/gdk/src/atom.rs b/gdk/src/atom.rs index e78dcf656076..5f9ded917952 100644 --- a/gdk/src/atom.rs +++ b/gdk/src/atom.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; use glib::GString; diff --git a/gdk/src/cairo_interaction.rs b/gdk/src/cairo_interaction.rs index df50dfc92a6a..1d08eb06e771 100644 --- a/gdk/src/cairo_interaction.rs +++ b/gdk/src/cairo_interaction.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::{Rectangle, Window, RGBA}; use cairo::Surface; diff --git a/gdk/src/change_data.rs b/gdk/src/change_data.rs index 750f2d5be9bf..eb57a1136dbf 100644 --- a/gdk/src/change_data.rs +++ b/gdk/src/change_data.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. #[derive(Clone, Copy, Debug, PartialEq)] pub enum ChangeData<'a> { diff --git a/gdk/src/device.rs b/gdk/src/device.rs index 1783b3293697..8eecef87f44f 100644 --- a/gdk/src/device.rs +++ b/gdk/src/device.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::AxisUse; use crate::Device; diff --git a/gdk/src/device_manager.rs b/gdk/src/device_manager.rs index ea9adcc6ee13..764943934e2b 100644 --- a/gdk/src/device_manager.rs +++ b/gdk/src/device_manager.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::DeviceManager; diff --git a/gdk/src/drag_context.rs b/gdk/src/drag_context.rs index e6dc32f7ce55..abef53e24f0f 100644 --- a/gdk/src/drag_context.rs +++ b/gdk/src/drag_context.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::atom::Atom; use crate::Device; diff --git a/gdk/src/event.rs b/gdk/src/event.rs index 4be97591b598..d8a9aa9c0641 100644 --- a/gdk/src/event.rs +++ b/gdk/src/event.rs @@ -1,6 +1,4 @@ -// Copyright 2015-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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; use libc::c_void; diff --git a/gdk/src/event_button.rs b/gdk/src/event_button.rs index 2bdad01dce33..d558b5fe0b9b 100644 --- a/gdk/src/event_button.rs +++ b/gdk/src/event_button.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_configure.rs b/gdk/src/event_configure.rs index 23ce4b3bb9ba..9a2e51477e1a 100644 --- a/gdk/src/event_configure.rs +++ b/gdk/src/event_configure.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_crossing.rs b/gdk/src/event_crossing.rs index 5417e3fd0f67..a2b4b4e8e828 100644 --- a/gdk/src/event_crossing.rs +++ b/gdk/src/event_crossing.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_dnd.rs b/gdk/src/event_dnd.rs index fe660c28b4b3..b5ad44abfd0d 100644 --- a/gdk/src/event_dnd.rs +++ b/gdk/src/event_dnd.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_expose.rs b/gdk/src/event_expose.rs index 71edb24f287f..9b806c48bf15 100644 --- a/gdk/src/event_expose.rs +++ b/gdk/src/event_expose.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Rectangle; use glib::translate::*; diff --git a/gdk/src/event_focus.rs b/gdk/src/event_focus.rs index 2e45bef642e8..42d36636fc16 100644 --- a/gdk/src/event_focus.rs +++ b/gdk/src/event_focus.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_grab_broken.rs b/gdk/src/event_grab_broken.rs index 867b352b9760..d8a8cc736427 100644 --- a/gdk/src/event_grab_broken.rs +++ b/gdk/src/event_grab_broken.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_key.rs b/gdk/src/event_key.rs index ca74e3a83ce7..850c475d9806 100644 --- a/gdk/src/event_key.rs +++ b/gdk/src/event_key.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_motion.rs b/gdk/src/event_motion.rs index b181cd3d5225..f06e8fea55c9 100644 --- a/gdk/src/event_motion.rs +++ b/gdk/src/event_motion.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_owner_change.rs b/gdk/src/event_owner_change.rs index a6a59d3f8fcc..9c67c70db364 100644 --- a/gdk/src/event_owner_change.rs +++ b/gdk/src/event_owner_change.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_pad_axis.rs b/gdk/src/event_pad_axis.rs index 0fa1fdfc5768..829134c698f6 100644 --- a/gdk/src/event_pad_axis.rs +++ b/gdk/src/event_pad_axis.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_pad_button.rs b/gdk/src/event_pad_button.rs index 944e076bcbbf..6e49e7241b87 100644 --- a/gdk/src/event_pad_button.rs +++ b/gdk/src/event_pad_button.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_pad_group_mode.rs b/gdk/src/event_pad_group_mode.rs index b5440cd90703..11eb94248c95 100644 --- a/gdk/src/event_pad_group_mode.rs +++ b/gdk/src/event_pad_group_mode.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_property.rs b/gdk/src/event_property.rs index f5c8b944fff8..d214818af019 100644 --- a/gdk/src/event_property.rs +++ b/gdk/src/event_property.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_proximity.rs b/gdk/src/event_proximity.rs index 163a2b4147cb..0194364c636f 100644 --- a/gdk/src/event_proximity.rs +++ b/gdk/src/event_proximity.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_scroll.rs b/gdk/src/event_scroll.rs index 61178bf2ab35..0f16f4570f89 100644 --- a/gdk/src/event_scroll.rs +++ b/gdk/src/event_scroll.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_selection.rs b/gdk/src/event_selection.rs index fea26dd256ce..969e34936518 100644 --- a/gdk/src/event_selection.rs +++ b/gdk/src/event_selection.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_setting.rs b/gdk/src/event_setting.rs index edce42fbfb87..f00ab59235b7 100644 --- a/gdk/src/event_setting.rs +++ b/gdk/src/event_setting.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; use glib::GString; diff --git a/gdk/src/event_touch.rs b/gdk/src/event_touch.rs index a1b1cdfbb56e..fda370c6ed61 100644 --- a/gdk/src/event_touch.rs +++ b/gdk/src/event_touch.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_touchpad_pinch.rs b/gdk/src/event_touchpad_pinch.rs index 13843f5a4c96..ac3a4da22f1e 100644 --- a/gdk/src/event_touchpad_pinch.rs +++ b/gdk/src/event_touchpad_pinch.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_touchpad_swipe.rs b/gdk/src/event_touchpad_swipe.rs index cabdae64ab5e..a610d1781787 100644 --- a/gdk/src/event_touchpad_swipe.rs +++ b/gdk/src/event_touchpad_swipe.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_visibility.rs b/gdk/src/event_visibility.rs index b6d1b25f5ec3..138f30a2a641 100644 --- a/gdk/src/event_visibility.rs +++ b/gdk/src/event_visibility.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/event_window_state.rs b/gdk/src/event_window_state.rs index 23bd5170dca6..e23d940cc566 100644 --- a/gdk/src/event_window_state.rs +++ b/gdk/src/event_window_state.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/frame_clock.rs b/gdk/src/frame_clock.rs index 3be578f9cdd6..b242963a8ac3 100644 --- a/gdk/src/frame_clock.rs +++ b/gdk/src/frame_clock.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::FrameClock; use glib::translate::*; diff --git a/gdk/src/frame_timings.rs b/gdk/src/frame_timings.rs index b7d55565fc5d..8c54b8e7ad81 100644 --- a/gdk/src/frame_timings.rs +++ b/gdk/src/frame_timings.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::FrameTimings; use glib::translate::*; diff --git a/gdk/src/functions.rs b/gdk/src/functions.rs index 6e9baaa367da..f214703c082b 100644 --- a/gdk/src/functions.rs +++ b/gdk/src/functions.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/geometry.rs b/gdk/src/geometry.rs index c567a8ac5827..6262e785b3a6 100644 --- a/gdk/src/geometry.rs +++ b/gdk/src/geometry.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Gravity; use glib::translate::*; diff --git a/gdk/src/keymap.rs b/gdk/src/keymap.rs index d8f730931eb5..d60aba26cdc0 100644 --- a/gdk/src/keymap.rs +++ b/gdk/src/keymap.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Keymap; use crate::KeymapKey; use crate::ModifierType; diff --git a/gdk/src/keymap_key.rs b/gdk/src/keymap_key.rs index 889a7448f900..ca3b2f8dbf13 100644 --- a/gdk/src/keymap_key.rs +++ b/gdk/src/keymap_key.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gdk/src/keys.rs b/gdk/src/keys.rs index 07b22afc60be..69f24d99ad33 100644 --- a/gdk/src/keys.rs +++ b/gdk/src/keys.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; use glib::GString; diff --git a/gdk/src/lib.rs b/gdk/src/lib.rs index fcb428710f80..4a56403bcad2 100644 --- a/gdk/src/lib.rs +++ b/gdk/src/lib.rs @@ -1,6 +1,5 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. + #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] #![allow(deprecated)] diff --git a/gdk/src/prelude.rs b/gdk/src/prelude.rs index 83175271f531..8cf2f902c3ff 100644 --- a/gdk/src/prelude.rs +++ b/gdk/src/prelude.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! Traits intended for blanket imports. diff --git a/gdk/src/rectangle.rs b/gdk/src/rectangle.rs index 95827ba62e8f..e01824596a70 100644 --- a/gdk/src/rectangle.rs +++ b/gdk/src/rectangle.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use cairo::RectangleInt; use glib::ffi::gconstpointer; diff --git a/gdk/src/rgba.rs b/gdk/src/rgba.rs index 7cbb0ab1a98a..ed0c9817329f 100644 --- a/gdk/src/rgba.rs +++ b/gdk/src/rgba.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::ffi::gconstpointer; use glib::translate::*; diff --git a/gdk/src/rt.rs b/gdk/src/rt.rs index f0a1434c2451..2202693c26a0 100644 --- a/gdk/src/rt.rs +++ b/gdk/src/rt.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! General — Library initialization and miscellaneous functions diff --git a/gdk/src/screen.rs b/gdk/src/screen.rs index 2e5c4e2f7139..9222850c46b3 100644 --- a/gdk/src/screen.rs +++ b/gdk/src/screen.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Screen; use glib::translate::*; diff --git a/gdk/src/time_coord.rs b/gdk/src/time_coord.rs index faeee1a0acc9..aab5ca729e0c 100644 --- a/gdk/src/time_coord.rs +++ b/gdk/src/time_coord.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; use std::mem; diff --git a/gdk/src/visual.rs b/gdk/src/visual.rs index 0b0968d4e49e..a9d6e7e5499b 100644 --- a/gdk/src/visual.rs +++ b/gdk/src/visual.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Visual; use std::ptr; diff --git a/gdk/src/window.rs b/gdk/src/window.rs index 65ee193e880d..69c6c72d8a4a 100644 --- a/gdk/src/window.rs +++ b/gdk/src/window.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Cursor; use crate::EventMask; diff --git a/gdkx11/COPYRIGHT b/gdkx11/COPYRIGHT new file mode 120000 index 000000000000..dc5f40a221a3 --- /dev/null +++ b/gdkx11/COPYRIGHT @@ -0,0 +1 @@ +../COPYRIGHT \ No newline at end of file diff --git a/gdkx11/LICENSE b/gdkx11/LICENSE new file mode 120000 index 000000000000..ea5b60640b01 --- /dev/null +++ b/gdkx11/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/gdkx11/src/lib.rs b/gdkx11/src/lib.rs index 3f35e47a3afc..d6ebbd985d39 100644 --- a/gdkx11/src/lib.rs +++ b/gdkx11/src/lib.rs @@ -1,6 +1,4 @@ -// Copyright 2013-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 +// Take a look at the license at the top of the repository in the LICENSE file. #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(deprecated)] diff --git a/gdkx11/src/rt.rs b/gdkx11/src/rt.rs index 50b7e88892e7..b2ad192b43db 100644 --- a/gdkx11/src/rt.rs +++ b/gdkx11/src/rt.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use std::cell::Cell; use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; diff --git a/gio/COPYRIGHT b/gio/COPYRIGHT new file mode 120000 index 000000000000..dc5f40a221a3 --- /dev/null +++ b/gio/COPYRIGHT @@ -0,0 +1 @@ +../COPYRIGHT \ No newline at end of file diff --git a/gio/LICENSE b/gio/LICENSE new file mode 120000 index 000000000000..ea5b60640b01 --- /dev/null +++ b/gio/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/gio/src/app_info.rs b/gio/src/app_info.rs index d699bfdf61d1..dc9c4e8b0acf 100644 --- a/gio/src/app_info.rs +++ b/gio/src/app_info.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::AppInfo; #[cfg(any(feature = "v2_60", feature = "dox"))] diff --git a/gio/src/application.rs b/gio/src/application.rs index 00a8877998fa..3601567dd57a 100644 --- a/gio/src/application.rs +++ b/gio/src/application.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Application; use crate::File; use glib::object::Cast; diff --git a/gio/src/cancellable.rs b/gio/src/cancellable.rs index 83fe2b99fd80..6f35073f74d1 100644 --- a/gio/src/cancellable.rs +++ b/gio/src/cancellable.rs @@ -1,6 +1,4 @@ -// Copyright 2013-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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::CancellableExt; diff --git a/gio/src/converter.rs b/gio/src/converter.rs index 73a6a20caf28..092428486e7b 100644 --- a/gio/src/converter.rs +++ b/gio/src/converter.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Converter; use crate::ConverterFlags; use crate::ConverterResult; diff --git a/gio/src/data_input_stream.rs b/gio/src/data_input_stream.rs index 77b021ba6cc2..5949964b55e0 100644 --- a/gio/src/data_input_stream.rs +++ b/gio/src/data_input_stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Cancellable; use crate::DataInputStream; diff --git a/gio/src/dbus.rs b/gio/src/dbus.rs index 8c72d19de957..cd8146fb2c22 100644 --- a/gio/src/dbus.rs +++ b/gio/src/dbus.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::BusNameOwnerFlags; use crate::BusNameWatcherFlags; diff --git a/gio/src/dbus_connection.rs b/gio/src/dbus_connection.rs index 35f75efbcc9f..4a27479219ab 100644 --- a/gio/src/dbus_connection.rs +++ b/gio/src/dbus_connection.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::ActionGroup; use crate::DBusConnection; diff --git a/gio/src/dbus_message.rs b/gio/src/dbus_message.rs index 4b1bd5fba871..4e7dd950ca39 100644 --- a/gio/src/dbus_message.rs +++ b/gio/src/dbus_message.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::DBusMessage; use std::fmt; diff --git a/gio/src/dbus_method_invocation.rs b/gio/src/dbus_method_invocation.rs index 9780c0e9e22d..2e424bb347f5 100644 --- a/gio/src/dbus_method_invocation.rs +++ b/gio/src/dbus_method_invocation.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::DBusMethodInvocation; use glib::error::ErrorDomain; diff --git a/gio/src/desktop_app_info.rs b/gio/src/desktop_app_info.rs index f62b94bd1dd2..0990df9863f7 100644 --- a/gio/src/desktop_app_info.rs +++ b/gio/src/desktop_app_info.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. #[cfg(any(all(feature = "v2_58", unix), all(unix, feature = "dox")))] use crate::AppLaunchContext; diff --git a/gio/src/error.rs b/gio/src/error.rs index d88e47a10864..bc811be8fd26 100644 --- a/gio/src/error.rs +++ b/gio/src/error.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::IOErrorEnum; use std::io; diff --git a/gio/src/file.rs b/gio/src/file.rs index daa047183896..abdbb4034c62 100644 --- a/gio/src/file.rs +++ b/gio/src/file.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Cancellable; use crate::File; diff --git a/gio/src/file_attribute_matcher.rs b/gio/src/file_attribute_matcher.rs index 2447fbb91dd7..1e2d06cb8a4d 100644 --- a/gio/src/file_attribute_matcher.rs +++ b/gio/src/file_attribute_matcher.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::translate::*; use glib::GString; use std::iter::{IntoIterator, Iterator}; diff --git a/gio/src/file_enumerator.rs b/gio/src/file_enumerator.rs index b7575502bd35..00928a0adae2 100644 --- a/gio/src/file_enumerator.rs +++ b/gio/src/file_enumerator.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::FileEnumerator; use crate::FileEnumeratorExt; use crate::FileInfo; diff --git a/gio/src/file_info.rs b/gio/src/file_info.rs index 415a82293c8d..f8d977ff9a8c 100644 --- a/gio/src/file_info.rs +++ b/gio/src/file_info.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::FileInfo; use glib::translate::*; diff --git a/gio/src/flags.rs b/gio/src/flags.rs index da4d7c81bfb4..a51ed449ef32 100644 --- a/gio/src/flags.rs +++ b/gio/src/flags.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::ApplicationFlags; diff --git a/gio/src/gio_future.rs b/gio/src/gio_future.rs index 59e0eead0b4e..ff3a4667c906 100644 --- a/gio/src/gio_future.rs +++ b/gio/src/gio_future.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use futures_channel::oneshot; use futures_core::task::{Context, Poll}; diff --git a/gio/src/inet_address.rs b/gio/src/inet_address.rs index 575cb2a4e7ad..95a32d3e01c5 100644 --- a/gio/src/inet_address.rs +++ b/gio/src/inet_address.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::InetAddress; use crate::InetAddressExt; use crate::SocketFamily; diff --git a/gio/src/inet_socket_address.rs b/gio/src/inet_socket_address.rs index 8a5d854b9db3..a3bbff0cb3e7 100644 --- a/gio/src/inet_socket_address.rs +++ b/gio/src/inet_socket_address.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::InetAddress; use crate::InetSocketAddress; use crate::InetSocketAddressExt; diff --git a/gio/src/input_stream.rs b/gio/src/input_stream.rs index 86e70b955bb2..3879b402be52 100644 --- a/gio/src/input_stream.rs +++ b/gio/src/input_stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::error::to_std_io_result; use crate::Cancellable; diff --git a/gio/src/io_stream.rs b/gio/src/io_stream.rs index d3adf45ba407..6d14d8c5b332 100644 --- a/gio/src/io_stream.rs +++ b/gio/src/io_stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::pollable_input_stream::PollableInputStreamExtManual; use crate::pollable_output_stream::PollableOutputStreamExtManual; diff --git a/gio/src/lib.rs b/gio/src/lib.rs index f153ea521b7c..8ba253cb26fe 100644 --- a/gio/src/lib.rs +++ b/gio/src/lib.rs @@ -1,6 +1,5 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. + #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::type_complexity)] #![allow(clippy::too_many_arguments)] diff --git a/gio/src/list_store.rs b/gio/src/list_store.rs index 98b15ff2c184..c7bf7af13efd 100644 --- a/gio/src/list_store.rs +++ b/gio/src/list_store.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::ListStore; use glib::translate::*; diff --git a/gio/src/memory_input_stream.rs b/gio/src/memory_input_stream.rs index f0a59bc518be..44f3e1903bc5 100644 --- a/gio/src/memory_input_stream.rs +++ b/gio/src/memory_input_stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. #[cfg(test)] mod tests { diff --git a/gio/src/memory_output_stream.rs b/gio/src/memory_output_stream.rs index a463cd0ee157..9b50b4cbc9f7 100644 --- a/gio/src/memory_output_stream.rs +++ b/gio/src/memory_output_stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. #[cfg(test)] mod tests { diff --git a/gio/src/output_stream.rs b/gio/src/output_stream.rs index 05e63ac5df40..45c1f60db444 100644 --- a/gio/src/output_stream.rs +++ b/gio/src/output_stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::error::to_std_io_result; use crate::prelude::*; diff --git a/gio/src/pollable_input_stream.rs b/gio/src/pollable_input_stream.rs index 3867fe50eec5..7edb4ea11e3a 100644 --- a/gio/src/pollable_input_stream.rs +++ b/gio/src/pollable_input_stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Cancellable; use crate::PollableInputStream; diff --git a/gio/src/pollable_output_stream.rs b/gio/src/pollable_output_stream.rs index 9fe1e425bc4c..7b2981a5f232 100644 --- a/gio/src/pollable_output_stream.rs +++ b/gio/src/pollable_output_stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::error::to_std_io_result; use crate::Cancellable; diff --git a/gio/src/prelude.rs b/gio/src/prelude.rs index fb718c04b764..6019899b693e 100644 --- a/gio/src/prelude.rs +++ b/gio/src/prelude.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! Traits and essential types intended for blanket imports. diff --git a/gio/src/read_input_stream.rs b/gio/src/read_input_stream.rs index 00cb5b0e7b5d..5821846b45d0 100644 --- a/gio/src/read_input_stream.rs +++ b/gio/src/read_input_stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::prelude::*; use crate::subclass::prelude::*; diff --git a/gio/src/resource.rs b/gio/src/resource.rs index affca9c0594c..ca9b2bb511ac 100644 --- a/gio/src/resource.rs +++ b/gio/src/resource.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Resource; use glib::translate::*; diff --git a/gio/src/settings.rs b/gio/src/settings.rs index 5fed20171e3b..e7a04105bae8 100644 --- a/gio/src/settings.rs +++ b/gio/src/settings.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::{Settings, SettingsBindFlags, SettingsExt}; use glib::prelude::*; use glib::translate::{from_glib_borrow, from_glib_none, ToGlib, ToGlibPtr}; diff --git a/gio/src/socket.rs b/gio/src/socket.rs index c2414bdeec04..b11e17c0fd06 100644 --- a/gio/src/socket.rs +++ b/gio/src/socket.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Cancellable; use crate::Socket; diff --git a/gio/src/subclass/application.rs b/gio/src/subclass/application.rs index ba9d16a300c4..9d7ebea9dead 100644 --- a/gio/src/subclass/application.rs +++ b/gio/src/subclass/application.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gio/src/subclass/input_stream.rs b/gio/src/subclass/input_stream.rs index ab59b6db47c0..8a91138b13f1 100644 --- a/gio/src/subclass/input_stream.rs +++ b/gio/src/subclass/input_stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::subclass::prelude::*; use glib::translate::*; diff --git a/gio/src/subclass/io_stream.rs b/gio/src/subclass/io_stream.rs index 80bdec31556b..baf2e68eaaa2 100644 --- a/gio/src/subclass/io_stream.rs +++ b/gio/src/subclass/io_stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::prelude::*; use glib::subclass::prelude::*; diff --git a/gio/src/subclass/list_model.rs b/gio/src/subclass/list_model.rs index b9c70b338fe4..6b7d70099532 100644 --- a/gio/src/subclass/list_model.rs +++ b/gio/src/subclass/list_model.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::ListModel; use glib::subclass::prelude::*; use glib::translate::*; diff --git a/gio/src/subclass/mod.rs b/gio/src/subclass/mod.rs index 64aa4dde263a..6f90412b0a90 100644 --- a/gio/src/subclass/mod.rs +++ b/gio/src/subclass/mod.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. mod application; mod input_stream; diff --git a/gio/src/subclass/output_stream.rs b/gio/src/subclass/output_stream.rs index 56ec738de9da..b01ad286814d 100644 --- a/gio/src/subclass/output_stream.rs +++ b/gio/src/subclass/output_stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::subclass::prelude::*; use glib::translate::*; diff --git a/gio/src/subclass/seekable.rs b/gio/src/subclass/seekable.rs index a06657010af3..b5f8e5b961d0 100644 --- a/gio/src/subclass/seekable.rs +++ b/gio/src/subclass/seekable.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; use glib::Cast; diff --git a/gio/src/subprocess.rs b/gio/src/subprocess.rs index 923e8d81b886..932519182c18 100644 --- a/gio/src/subprocess.rs +++ b/gio/src/subprocess.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Cancellable; use crate::Subprocess; use glib::object::IsA; diff --git a/gio/src/subprocess_launcher.rs b/gio/src/subprocess_launcher.rs index 3d992a8e6569..50c54df5d235 100644 --- a/gio/src/subprocess_launcher.rs +++ b/gio/src/subprocess_launcher.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::SubprocessLauncher; #[cfg(any(unix, feature = "dox"))] #[cfg(any(unix, feature = "dox"))] diff --git a/gio/src/test_util.rs b/gio/src/test_util.rs index 577d02bcca0c..995af5ed51ad 100644 --- a/gio/src/test_util.rs +++ b/gio/src/test_util.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::*; use std::sync::mpsc::{channel, Sender}; diff --git a/gio/src/threaded_socket_service.rs b/gio/src/threaded_socket_service.rs index 7a474019ef7b..36d036bec0b6 100644 --- a/gio/src/threaded_socket_service.rs +++ b/gio/src/threaded_socket_service.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::translate::FromGlibPtrFull; use glib::Cast; diff --git a/gio/src/tls_connection.rs b/gio/src/tls_connection.rs index f56ab4a4715e..525f8fd1602d 100644 --- a/gio/src/tls_connection.rs +++ b/gio/src/tls_connection.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + #[cfg(any(feature = "v2_66", feature = "dox"))] use crate::auto::TlsChannelBindingType; use crate::auto::TlsConnection; diff --git a/gio/src/unix_fd_list.rs b/gio/src/unix_fd_list.rs index cc1fd11272b9..7ee2d30b1c97 100644 --- a/gio/src/unix_fd_list.rs +++ b/gio/src/unix_fd_list.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::UnixFDList; use glib::object::IsA; diff --git a/gio/src/unix_input_stream.rs b/gio/src/unix_input_stream.rs index ba41e86bdb45..856033c3ad0d 100644 --- a/gio/src/unix_input_stream.rs +++ b/gio/src/unix_input_stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::InputStream; use crate::UnixInputStream; diff --git a/gio/src/unix_mount_entry.rs b/gio/src/unix_mount_entry.rs index 41960141a9a0..d562a6ad5308 100644 --- a/gio/src/unix_mount_entry.rs +++ b/gio/src/unix_mount_entry.rs @@ -1,6 +1,4 @@ -// Copyright 2013-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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Icon; use crate::UnixMountEntry; diff --git a/gio/src/unix_mount_point.rs b/gio/src/unix_mount_point.rs index 4efc96024308..ba51dc4de68a 100644 --- a/gio/src/unix_mount_point.rs +++ b/gio/src/unix_mount_point.rs @@ -1,6 +1,4 @@ -// Copyright 2013-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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::UnixMountPoint; use glib::translate::*; diff --git a/gio/src/unix_output_stream.rs b/gio/src/unix_output_stream.rs index 949dc8f8d3b2..2f7f5e43d7ed 100644 --- a/gio/src/unix_output_stream.rs +++ b/gio/src/unix_output_stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::OutputStream; use crate::UnixOutputStream; diff --git a/gio/src/unix_socket_address.rs b/gio/src/unix_socket_address.rs index 8a15ae20bf2a..48c4790346ee 100644 --- a/gio/src/unix_socket_address.rs +++ b/gio/src/unix_socket_address.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::SocketAddress; use crate::UnixSocketAddress; diff --git a/gio/src/write_output_stream.rs b/gio/src/write_output_stream.rs index 4efc87e20112..bc4e9a1778e1 100644 --- a/gio/src/write_output_stream.rs +++ b/gio/src/write_output_stream.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::prelude::*; use crate::subclass::prelude::*; diff --git a/glib-macros/COPYRIGHT b/glib-macros/COPYRIGHT new file mode 120000 index 000000000000..dc5f40a221a3 --- /dev/null +++ b/glib-macros/COPYRIGHT @@ -0,0 +1 @@ +../COPYRIGHT \ No newline at end of file diff --git a/glib-macros/LICENSE b/glib-macros/LICENSE new file mode 120000 index 000000000000..ea5b60640b01 --- /dev/null +++ b/glib-macros/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/glib-macros/src/clone.rs b/glib-macros/src/clone.rs index 5f347af35d34..630c28780be1 100644 --- a/glib-macros/src/clone.rs +++ b/glib-macros/src/clone.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::utils::crate_ident_new; use proc_macro::token_stream::IntoIter as ProcIter; diff --git a/glib-macros/src/downgrade_derive/enums.rs b/glib-macros/src/downgrade_derive/enums.rs index 8cfb171fed02..bcfdc9e4ed38 100644 --- a/glib-macros/src/downgrade_derive/enums.rs +++ b/glib-macros/src/downgrade_derive/enums.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use super::fields::{derive_downgrade_fields, DowngradeStructParts}; use proc_macro::TokenStream; diff --git a/glib-macros/src/downgrade_derive/fields.rs b/glib-macros/src/downgrade_derive/fields.rs index 1c42954ec0be..e0c5ae483fea 100644 --- a/glib-macros/src/downgrade_derive/fields.rs +++ b/glib-macros/src/downgrade_derive/fields.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use proc_macro2::TokenStream; use quote::{format_ident, quote}; diff --git a/glib-macros/src/downgrade_derive/mod.rs b/glib-macros/src/downgrade_derive/mod.rs index 562f66023814..0e16a5d00b84 100644 --- a/glib-macros/src/downgrade_derive/mod.rs +++ b/glib-macros/src/downgrade_derive/mod.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. mod enums; mod fields; diff --git a/glib-macros/src/downgrade_derive/structs.rs b/glib-macros/src/downgrade_derive/structs.rs index 809bd65f3d72..0445dcb07531 100644 --- a/glib-macros/src/downgrade_derive/structs.rs +++ b/glib-macros/src/downgrade_derive/structs.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use super::fields::{derive_downgrade_fields, DowngradeStructParts}; use proc_macro::TokenStream; diff --git a/glib-macros/src/gboxed_derive.rs b/glib-macros/src/gboxed_derive.rs index 3ad084901933..984bbfabb4a0 100644 --- a/glib-macros/src/gboxed_derive.rs +++ b/glib-macros/src/gboxed_derive.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. 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 6add0caec61c..eeb8b23a5416 100644 --- a/glib-macros/src/genum_derive.rs +++ b/glib-macros/src/genum_derive.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. 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 11f787e31b15..a908638ab5db 100644 --- a/glib-macros/src/gflags_attribute.rs +++ b/glib-macros/src/gflags_attribute.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use heck::{CamelCase, KebabCase, SnakeCase}; use proc_macro2::TokenStream; diff --git a/glib-macros/src/lib.rs b/glib-macros/src/lib.rs index 9a4fb0ddf068..37247460d26e 100644 --- a/glib-macros/src/lib.rs +++ b/glib-macros/src/lib.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. mod clone; mod downgrade_derive; diff --git a/glib-macros/src/utils.rs b/glib-macros/src/utils.rs index 96b68a5666e6..2782c91c6b09 100644 --- a/glib-macros/src/utils.rs +++ b/glib-macros/src/utils.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use anyhow::{bail, Result}; use itertools::Itertools; diff --git a/glib/COPYRIGHT b/glib/COPYRIGHT new file mode 120000 index 000000000000..dc5f40a221a3 --- /dev/null +++ b/glib/COPYRIGHT @@ -0,0 +1 @@ +../COPYRIGHT \ No newline at end of file diff --git a/glib/LICENSE b/glib/LICENSE new file mode 120000 index 000000000000..ea5b60640b01 --- /dev/null +++ b/glib/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/glib/src/boxed.rs b/glib/src/boxed.rs index f6fe529df974..43828f8bc5b5 100644 --- a/glib/src/boxed.rs +++ b/glib/src/boxed.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! `IMPL` Boxed wrapper implementation. diff --git a/glib/src/bridged_logging.rs b/glib/src/bridged_logging.rs index 6bf080569df8..57de3db11ac7 100644 --- a/glib/src/bridged_logging.rs +++ b/glib/src/bridged_logging.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::log as glib_log; use crate::translate::*; diff --git a/glib/src/byte_array.rs b/glib/src/byte_array.rs index 87fea00c4d48..e6958b279709 100644 --- a/glib/src/byte_array.rs +++ b/glib/src/byte_array.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! # Examples //! diff --git a/glib/src/bytes.rs b/glib/src/bytes.rs index 5cbf5ba0b031..01edcc749b20 100644 --- a/glib/src/bytes.rs +++ b/glib/src/bytes.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::*; use std::borrow::Borrow; diff --git a/glib/src/char.rs b/glib/src/char.rs index 097baf428afb..492b69366ea0 100644 --- a/glib/src/char.rs +++ b/glib/src/char.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::translate::FromGlib; use crate::translate::ToGlib; use libc::{c_char, c_uchar}; diff --git a/glib/src/checksum.rs b/glib/src/checksum.rs index bd64638f2212..1bde29ea3040 100644 --- a/glib/src/checksum.rs +++ b/glib/src/checksum.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::*; use crate::Checksum; diff --git a/glib/src/clone.rs b/glib/src/clone.rs index 2f07a39e915e..c75818df2d50 100644 --- a/glib/src/clone.rs +++ b/glib/src/clone.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use std::marker::PhantomData; use std::rc::{self, Rc}; use std::sync::{self, Arc}; diff --git a/glib/src/closure.rs b/glib/src/closure.rs index 12f44f6a0c56..f73eb961e5a8 100644 --- a/glib/src/closure.rs +++ b/glib/src/closure.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. // TODO: support marshaller. diff --git a/glib/src/date.rs b/glib/src/date.rs index 5365d342066b..90ce70e6c483 100644 --- a/glib/src/date.rs +++ b/glib/src/date.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::*; use crate::DateDay; diff --git a/glib/src/enums.rs b/glib/src/enums.rs index 5ab670a5bad6..6cdfb292ef05 100644 --- a/glib/src/enums.rs +++ b/glib/src/enums.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::*; use crate::value::Value; diff --git a/glib/src/error.rs b/glib/src/error.rs index 2a4c8139aa41..cb0e008b77fa 100644 --- a/glib/src/error.rs +++ b/glib/src/error.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! `Error` binding and helper trait. diff --git a/glib/src/file_error.rs b/glib/src/file_error.rs index d66f574b2041..15b9355e14e7 100644 --- a/glib/src/file_error.rs +++ b/glib/src/file_error.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::error::ErrorDomain; use crate::translate::from_glib; diff --git a/glib/src/functions.rs b/glib/src/functions.rs index 307196f6d338..fd51723c03c6 100644 --- a/glib/src/functions.rs +++ b/glib/src/functions.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + #[cfg(not(windows))] use std::boxed::Box as Box_; #[cfg(not(windows))] diff --git a/glib/src/gobject/binding.rs b/glib/src/gobject/binding.rs index d00a657dffba..fcad2d486a44 100644 --- a/glib/src/gobject/binding.rs +++ b/glib/src/gobject/binding.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::*; use crate::Binding; diff --git a/glib/src/gobject/mod.rs b/glib/src/gobject/mod.rs index 64476ac563b9..4ed819256fa5 100644 --- a/glib/src/gobject/mod.rs +++ b/glib/src/gobject/mod.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! GObject bindings diff --git a/glib/src/gstring.rs b/glib/src/gstring.rs index abc945b0ffa8..dc528717728c 100644 --- a/glib/src/gstring.rs +++ b/glib/src/gstring.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::*; use crate::types::{StaticType, Type}; diff --git a/glib/src/key_file.rs b/glib/src/key_file.rs index 3ab86e7b92c1..cea0e4a3fd42 100644 --- a/glib/src/key_file.rs +++ b/glib/src/key_file.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::error::Error; use crate::gstring::GString; diff --git a/glib/src/lib.rs b/glib/src/lib.rs index 425e0310fc91..a03efc99750f 100644 --- a/glib/src/lib.rs +++ b/glib/src/lib.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! # **glib**, **gobject** and **gio** bindings for Rust //! diff --git a/glib/src/log.rs b/glib/src/log.rs index 00024ed8b676..1deb180ce848 100644 --- a/glib/src/log.rs +++ b/glib/src/log.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::*; use crate::GString; diff --git a/glib/src/main_context.rs b/glib/src/main_context.rs index 7c7bc467c2a8..81c44f2b0ea2 100644 --- a/glib/src/main_context.rs +++ b/glib/src/main_context.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::source::Priority; use crate::translate::*; diff --git a/glib/src/main_context_channel.rs b/glib/src/main_context_channel.rs index 40352e12c078..59d76c1a6a30 100644 --- a/glib/src/main_context_channel.rs +++ b/glib/src/main_context_channel.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::{mut_override, FromGlibPtrFull, ToGlib}; use crate::Continue; diff --git a/glib/src/main_context_futures.rs b/glib/src/main_context_futures.rs index 5f5faaf93f1f..385fb6041ffa 100644 --- a/glib/src/main_context_futures.rs +++ b/glib/src/main_context_futures.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::{from_glib_borrow, from_glib_full, mut_override, Borrowed, ToGlib}; use crate::ThreadGuard; diff --git a/glib/src/object.rs b/glib/src/object.rs index 3268ff515228..698ba7ae95f0 100644 --- a/glib/src/object.rs +++ b/glib/src/object.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! `IMPL` Object wrapper implementation and `Object` binding. diff --git a/glib/src/param_spec.rs b/glib/src/param_spec.rs index ce1faa0a1023..8affad52a832 100644 --- a/glib/src/param_spec.rs +++ b/glib/src/param_spec.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::*; use crate::value; diff --git a/glib/src/prelude.rs b/glib/src/prelude.rs index 68992f6012e9..4b7f2cf7418f 100644 --- a/glib/src/prelude.rs +++ b/glib/src/prelude.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + //! Traits and essential types intended for blanket imports. pub use crate::{ diff --git a/glib/src/quark.rs b/glib/src/quark.rs index eee9624b77d0..abffc92b0647 100644 --- a/glib/src/quark.rs +++ b/glib/src/quark.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::*; use std::ffi::CStr; diff --git a/glib/src/send_unique.rs b/glib/src/send_unique.rs index 2505aaa1c247..fe7584d5e9af 100644 --- a/glib/src/send_unique.rs +++ b/glib/src/send_unique.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use std::cell::RefCell; use std::ops; diff --git a/glib/src/shared.rs b/glib/src/shared.rs index 4e7079f4e2cd..c3a041f09e58 100644 --- a/glib/src/shared.rs +++ b/glib/src/shared.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! `IMPL` Shared (reference counted) wrapper implementation. diff --git a/glib/src/signal.rs b/glib/src/signal.rs index 31ecbd987edf..ae1ff2eb2bde 100644 --- a/glib/src/signal.rs +++ b/glib/src/signal.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! `IMPL` Low level signal support. diff --git a/glib/src/source.rs b/glib/src/source.rs index 71b2b2e86628..4073219874ee 100644 --- a/glib/src/source.rs +++ b/glib/src/source.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::{from_glib, from_glib_full, FromGlib, ToGlib, ToGlibPtr}; #[cfg(any(unix, feature = "dox"))] diff --git a/glib/src/source_futures.rs b/glib/src/source_futures.rs index c850a428acfc..a54e442cc29f 100644 --- a/glib/src/source_futures.rs +++ b/glib/src/source_futures.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use futures_channel::{mpsc, oneshot}; use futures_core::future::Future; diff --git a/glib/src/string.rs b/glib/src/string.rs index 30a6cb46cca8..9d1ea3349fa7 100644 --- a/glib/src/string.rs +++ b/glib/src/string.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::*; use std::borrow; diff --git a/glib/src/subclass/boxed.rs b/glib/src/subclass/boxed.rs index a6ec77a92ee5..c484234bd13c 100644 --- a/glib/src/subclass/boxed.rs +++ b/glib/src/subclass/boxed.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! Module for registering boxed types for Rust types. diff --git a/glib/src/subclass/interface.rs b/glib/src/subclass/interface.rs index 833995d17bfa..2d8d34d8f9d0 100644 --- a/glib/src/subclass/interface.rs +++ b/glib/src/subclass/interface.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use super::{InitializingType, Property}; use crate::translate::*; diff --git a/glib/src/subclass/mod.rs b/glib/src/subclass/mod.rs index 4fe1e4e1c060..b8c71b291f54 100644 --- a/glib/src/subclass/mod.rs +++ b/glib/src/subclass/mod.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. #![allow(clippy::needless_doctest_main)] diff --git a/glib/src/subclass/object.rs b/glib/src/subclass/object.rs index d5a5b13da5c2..700fa4ed4f69 100644 --- a/glib/src/subclass/object.rs +++ b/glib/src/subclass/object.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! Module that contains all types needed for creating a direct subclass of `GObject` //! or implementing virtual methods of it. diff --git a/glib/src/subclass/simple.rs b/glib/src/subclass/simple.rs index cdd77b6b6429..5cb579cd5e7c 100644 --- a/glib/src/subclass/simple.rs +++ b/glib/src/subclass/simple.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! 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/glib/src/subclass/types.rs b/glib/src/subclass/types.rs index b7e79105a68e..c14c7b3614e7 100644 --- a/glib/src/subclass/types.rs +++ b/glib/src/subclass/types.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! Module that contains the basic infrastructure for subclassing `GObject`. diff --git a/glib/src/thread_pool.rs b/glib/src/thread_pool.rs index 91c6ccd413d8..b634213a3281 100644 --- a/glib/src/thread_pool.rs +++ b/glib/src/thread_pool.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::*; diff --git a/glib/src/translate.rs b/glib/src/translate.rs index 1da98978c83f..851872210f48 100644 --- a/glib/src/translate.rs +++ b/glib/src/translate.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! Translation between GLib/GLib-based FFI types and their Rust counterparts. //! diff --git a/glib/src/types.rs b/glib/src/types.rs index ff6f348d98df..f5a3b07ad4cf 100644 --- a/glib/src/types.rs +++ b/glib/src/types.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! Runtime type information. diff --git a/glib/src/utils.rs b/glib/src/utils.rs index 662aa2d1faa2..c3e218e404bf 100644 --- a/glib/src/utils.rs +++ b/glib/src/utils.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::error::BoolError; use crate::gstring::GString; diff --git a/glib/src/value.rs b/glib/src/value.rs index 55a18dc15e3f..e0ed79b6a4ee 100644 --- a/glib/src/value.rs +++ b/glib/src/value.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! `Value` binding and helper traits. //! diff --git a/glib/src/value_array.rs b/glib/src/value_array.rs index b4750e18d4f5..258393d7cf53 100644 --- a/glib/src/value_array.rs +++ b/glib/src/value_array.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::*; use crate::Value; diff --git a/glib/src/variant.rs b/glib/src/variant.rs index d0b1d420b21b..eca7c96f1ae4 100644 --- a/glib/src/variant.rs +++ b/glib/src/variant.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! `Variant` binding and helper traits. //! diff --git a/glib/src/variant_dict.rs b/glib/src/variant_dict.rs index 20665d25fcb8..3ba64e19f4c3 100644 --- a/glib/src/variant_dict.rs +++ b/glib/src/variant_dict.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use std::borrow::Cow; use std::default::Default; diff --git a/glib/src/variant_iter.rs b/glib/src/variant_iter.rs index 7fd740646595..df3e6c43d6f9 100644 --- a/glib/src/variant_iter.rs +++ b/glib/src/variant_iter.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. // 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/glib/src/variant_type.rs b/glib/src/variant_type.rs index e11ca7cd54f3..5499ee17d80a 100644 --- a/glib/src/variant_type.rs +++ b/glib/src/variant_type.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::translate::*; use crate::types::StaticType; diff --git a/glib/src/wrapper.rs b/glib/src/wrapper.rs index cf49f7d5913a..a31616d524e0 100644 --- a/glib/src/wrapper.rs +++ b/glib/src/wrapper.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! `IMPL` The `glib_wrapper!` macro and miscellaneous wrapper traits. diff --git a/graphene/COPYRIGHT b/graphene/COPYRIGHT new file mode 120000 index 000000000000..dc5f40a221a3 --- /dev/null +++ b/graphene/COPYRIGHT @@ -0,0 +1 @@ +../COPYRIGHT \ No newline at end of file diff --git a/graphene/LICENSE b/graphene/LICENSE new file mode 120000 index 000000000000..ea5b60640b01 --- /dev/null +++ b/graphene/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/graphene/src/box_.rs b/graphene/src/box_.rs index 9a440b0e567a..47cf87e36627 100644 --- a/graphene/src/box_.rs +++ b/graphene/src/box_.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Box; use crate::Point3D; use crate::Vec3; diff --git a/graphene/src/euler.rs b/graphene/src/euler.rs index aae11c836325..ac1c263e1901 100644 --- a/graphene/src/euler.rs +++ b/graphene/src/euler.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Euler; use crate::EulerOrder; use crate::Matrix; diff --git a/graphene/src/frustum.rs b/graphene/src/frustum.rs index f321e4c23eef..f8e158b5c6f6 100644 --- a/graphene/src/frustum.rs +++ b/graphene/src/frustum.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Frustum; use crate::Matrix; use crate::Plane; diff --git a/graphene/src/lib.rs b/graphene/src/lib.rs index c3e8bf7b4b78..4faa862d5a29 100644 --- a/graphene/src/lib.rs +++ b/graphene/src/lib.rs @@ -1,6 +1,5 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. + #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(deprecated)] diff --git a/graphene/src/matrix.rs b/graphene/src/matrix.rs index b8d4d1747b2c..fdda3f77d13a 100644 --- a/graphene/src/matrix.rs +++ b/graphene/src/matrix.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Matrix; use crate::Point3D; use crate::Vec3; diff --git a/graphene/src/plane.rs b/graphene/src/plane.rs index 43e184eefe19..8540fa34be04 100644 --- a/graphene/src/plane.rs +++ b/graphene/src/plane.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Plane; use crate::Point3D; use crate::Vec3; diff --git a/graphene/src/point.rs b/graphene/src/point.rs index 44232b63ef38..58134f216edf 100644 --- a/graphene/src/point.rs +++ b/graphene/src/point.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Point; use crate::Vec2; use glib::translate::*; diff --git a/graphene/src/point3_d.rs b/graphene/src/point3_d.rs index 392dc4db143a..eda98d5da703 100644 --- a/graphene/src/point3_d.rs +++ b/graphene/src/point3_d.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Point3D; use crate::Vec3; use glib::translate::*; diff --git a/graphene/src/prelude.rs b/graphene/src/prelude.rs index cbfccd725985..b55a8c7c2f8e 100644 --- a/graphene/src/prelude.rs +++ b/graphene/src/prelude.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! Traits intended for blanket imports. diff --git a/graphene/src/quad.rs b/graphene/src/quad.rs index 5cb790a3ef53..79ce78586cac 100644 --- a/graphene/src/quad.rs +++ b/graphene/src/quad.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Point; use crate::Quad; use crate::Rect; diff --git a/graphene/src/quaternion.rs b/graphene/src/quaternion.rs index 20d447ca6bf6..215219c94990 100644 --- a/graphene/src/quaternion.rs +++ b/graphene/src/quaternion.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Euler; use crate::Matrix; use crate::Quaternion; diff --git a/graphene/src/ray.rs b/graphene/src/ray.rs index 439e01a5a551..a8a8550640a6 100644 --- a/graphene/src/ray.rs +++ b/graphene/src/ray.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Point3D; use crate::Ray; use crate::Vec3; diff --git a/graphene/src/rect.rs b/graphene/src/rect.rs index 52f9493194cb..f998d7b0aa8f 100644 --- a/graphene/src/rect.rs +++ b/graphene/src/rect.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Rect; use crate::Vec2; use glib::translate::*; diff --git a/graphene/src/size.rs b/graphene/src/size.rs index 69340da1b6b2..cbdc895c9969 100644 --- a/graphene/src/size.rs +++ b/graphene/src/size.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Size; use glib::translate::*; diff --git a/graphene/src/sphere.rs b/graphene/src/sphere.rs index e07aeaad4c2a..30c5ca204c9c 100644 --- a/graphene/src/sphere.rs +++ b/graphene/src/sphere.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Point3D; use crate::Sphere; use crate::Vec3; diff --git a/graphene/src/triangle.rs b/graphene/src/triangle.rs index 4bcc50b32bcf..2009d6422636 100644 --- a/graphene/src/triangle.rs +++ b/graphene/src/triangle.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Point3D; use crate::Triangle; use crate::Vec3; diff --git a/graphene/src/vec2.rs b/graphene/src/vec2.rs index bcc229410791..63f1ac14e5ee 100644 --- a/graphene/src/vec2.rs +++ b/graphene/src/vec2.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Vec2; use glib::translate::*; diff --git a/graphene/src/vec3.rs b/graphene/src/vec3.rs index 8e058ebfce44..af1d7253509f 100644 --- a/graphene/src/vec3.rs +++ b/graphene/src/vec3.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Vec3; use glib::translate::*; diff --git a/graphene/src/vec4.rs b/graphene/src/vec4.rs index 1d0672a9c18d..0715e64af4c5 100644 --- a/graphene/src/vec4.rs +++ b/graphene/src/vec4.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Vec2; use crate::Vec3; use crate::Vec4; diff --git a/gtk/COPYRIGHT b/gtk/COPYRIGHT new file mode 120000 index 000000000000..dc5f40a221a3 --- /dev/null +++ b/gtk/COPYRIGHT @@ -0,0 +1 @@ +../COPYRIGHT \ No newline at end of file diff --git a/gtk/LICENSE b/gtk/LICENSE new file mode 120000 index 000000000000..ea5b60640b01 --- /dev/null +++ b/gtk/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/gtk/src/accel_group.rs b/gtk/src/accel_group.rs index 1bd1e957bf02..d5ee344913a8 100644 --- a/gtk/src/accel_group.rs +++ b/gtk/src/accel_group.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::AccelFlags; use crate::AccelGroup; diff --git a/gtk/src/app_chooser.rs b/gtk/src/app_chooser.rs index 76c21511d105..f1dfaca89af7 100644 --- a/gtk/src/app_chooser.rs +++ b/gtk/src/app_chooser.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Widget; use gio::AppInfo; diff --git a/gtk/src/application.rs b/gtk/src/application.rs index 8688cd512d6e..9d05b374a39e 100644 --- a/gtk/src/application.rs +++ b/gtk/src/application.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::rt; use crate::Application; use gio::ApplicationExt; diff --git a/gtk/src/application_window.rs b/gtk/src/application_window.rs index 35f817f17266..152258598cc9 100644 --- a/gtk/src/application_window.rs +++ b/gtk/src/application_window.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Application; use crate::ApplicationWindow; use crate::Widget; diff --git a/gtk/src/border.rs b/gtk/src/border.rs index 5c20c2cc0a8c..9a801d6e44e6 100644 --- a/gtk/src/border.rs +++ b/gtk/src/border.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; use std::fmt; diff --git a/gtk/src/buildable.rs b/gtk/src/buildable.rs index b7988a1b3726..2b983ee217c9 100644 --- a/gtk/src/buildable.rs +++ b/gtk/src/buildable.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Buildable; use glib::translate::*; diff --git a/gtk/src/builder.rs b/gtk/src/builder.rs index dd6bb5979776..98438c83ed70 100644 --- a/gtk/src/builder.rs +++ b/gtk/src/builder.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Builder; use glib::object::{Cast, IsA}; diff --git a/gtk/src/cell_renderer_pixbuf.rs b/gtk/src/cell_renderer_pixbuf.rs index 6018f5971a8b..a323cef6ef4d 100644 --- a/gtk/src/cell_renderer_pixbuf.rs +++ b/gtk/src/cell_renderer_pixbuf.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::CellRendererPixbuf; use crate::IconSize; diff --git a/gtk/src/clipboard.rs b/gtk/src/clipboard.rs index bb41e6a335b3..11db9938f325 100644 --- a/gtk/src/clipboard.rs +++ b/gtk/src/clipboard.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Clipboard; use crate::SelectionData; diff --git a/gtk/src/color_button.rs b/gtk/src/color_button.rs index a8ce4a2e7a89..f3773d39a192 100644 --- a/gtk/src/color_button.rs +++ b/gtk/src/color_button.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::ColorButton; use crate::Widget; diff --git a/gtk/src/color_chooser.rs b/gtk/src/color_chooser.rs index 9100da5e64b7..e2f7e9a95db4 100644 --- a/gtk/src/color_chooser.rs +++ b/gtk/src/color_chooser.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::ColorChooser; use crate::Orientation; diff --git a/gtk/src/combo_box.rs b/gtk/src/combo_box.rs index 60f7023535b7..b382e0d39844 100644 --- a/gtk/src/combo_box.rs +++ b/gtk/src/combo_box.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::ComboBox; use glib::object::IsA; diff --git a/gtk/src/dialog.rs b/gtk/src/dialog.rs index 048b34a9ac87..39cff9dabb61 100644 --- a/gtk/src/dialog.rs +++ b/gtk/src/dialog.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::auto::DialogExt; use crate::Dialog; diff --git a/gtk/src/drag_context.rs b/gtk/src/drag_context.rs index 511bc2f2bf23..fc63d782e67f 100644 --- a/gtk/src/drag_context.rs +++ b/gtk/src/drag_context.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::Widget; use glib::object::IsA; use glib::translate::*; diff --git a/gtk/src/entry.rs b/gtk/src/entry.rs index 672799a96f7b..d27f32d960c6 100644 --- a/gtk/src/entry.rs +++ b/gtk/src/entry.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::object::IsA; use glib::translate::ToGlibPtr; use std::convert::TryFrom; diff --git a/gtk/src/entry_buffer.rs b/gtk/src/entry_buffer.rs index 80fcc7110423..734041496876 100644 --- a/gtk/src/entry_buffer.rs +++ b/gtk/src/entry_buffer.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; use libc::{c_int, c_uint}; diff --git a/gtk/src/entry_completion.rs b/gtk/src/entry_completion.rs index 039b4d4498f9..0f3f0aa34b88 100644 --- a/gtk/src/entry_completion.rs +++ b/gtk/src/entry_completion.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Entry; use crate::EntryCompletion; diff --git a/gtk/src/enums.rs b/gtk/src/enums.rs index fb73a717524a..a90d0ea080f2 100644 --- a/gtk/src/enums.rs +++ b/gtk/src/enums.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::IconSize; use crate::ResponseType; use glib::translate::{from_glib, ToGlib}; diff --git a/gtk/src/file_chooser_dialog.rs b/gtk/src/file_chooser_dialog.rs index da06f5704833..bfab3e63390d 100644 --- a/gtk/src/file_chooser_dialog.rs +++ b/gtk/src/file_chooser_dialog.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::FileChooserAction; use crate::FileChooserDialog; diff --git a/gtk/src/fixed.rs b/gtk/src/fixed.rs index 55f4f0df25c5..2b403bdff7c1 100644 --- a/gtk/src/fixed.rs +++ b/gtk/src/fixed.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Fixed; use crate::Widget; diff --git a/gtk/src/flow_box.rs b/gtk/src/flow_box.rs index 052b919db706..f2a5f28befaf 100644 --- a/gtk/src/flow_box.rs +++ b/gtk/src/flow_box.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::FlowBox; use glib::object::IsA; diff --git a/gtk/src/foreground.m b/gtk/src/foreground.m index 9ef69e80007c..fc6697c07019 100644 --- a/gtk/src/foreground.m +++ b/gtk/src/foreground.m @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + #import void macos_force_foreground_level() { diff --git a/gtk/src/gesture_stylus.rs b/gtk/src/gesture_stylus.rs index 2133c079a14b..aa0712ddacc6 100644 --- a/gtk/src/gesture_stylus.rs +++ b/gtk/src/gesture_stylus.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. #[cfg(any(feature = "v3_24", feature = "dox"))] use crate::GestureStylus; diff --git a/gtk/src/im_context_simple.rs b/gtk/src/im_context_simple.rs index edc91689a54d..fc9be279ef04 100644 --- a/gtk/src/im_context_simple.rs +++ b/gtk/src/im_context_simple.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::IMContextSimple; use glib::translate::*; diff --git a/gtk/src/invisible.rs b/gtk/src/invisible.rs index 2c0abbf883e0..ba98fb486909 100644 --- a/gtk/src/invisible.rs +++ b/gtk/src/invisible.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Invisible; use glib::translate::{from_glib_none, ToGlibPtr}; diff --git a/gtk/src/lib.rs b/gtk/src/lib.rs index 399c797ffc99..008258901bc1 100644 --- a/gtk/src/lib.rs +++ b/gtk/src/lib.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. #![allow(clippy::needless_doctest_main)] diff --git a/gtk/src/list_box.rs b/gtk/src/list_box.rs index 1d878ca6bee4..a00f17847737 100644 --- a/gtk/src/list_box.rs +++ b/gtk/src/list_box.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::ListBox; use glib::object::IsA; diff --git a/gtk/src/list_store.rs b/gtk/src/list_store.rs index b26b28584bb3..9ed1980e7c78 100644 --- a/gtk/src/list_store.rs +++ b/gtk/src/list_store.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::ListStore; use crate::TreeIter; diff --git a/gtk/src/menu.rs b/gtk/src/menu.rs index 2ba5ea974294..800e5ad8feae 100644 --- a/gtk/src/menu.rs +++ b/gtk/src/menu.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Menu; use crate::Widget; diff --git a/gtk/src/message_dialog.rs b/gtk/src/message_dialog.rs index fa0639d24e53..d9c1f1c4ed69 100644 --- a/gtk/src/message_dialog.rs +++ b/gtk/src/message_dialog.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::ButtonsType; use crate::DialogFlags; diff --git a/gtk/src/notebook.rs b/gtk/src/notebook.rs index 337310f0678c..5515ea228d58 100644 --- a/gtk/src/notebook.rs +++ b/gtk/src/notebook.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Notebook; use crate::Widget; diff --git a/gtk/src/pad_action_entry.rs b/gtk/src/pad_action_entry.rs index c5e76041e68c..347d642e66ea 100644 --- a/gtk/src/pad_action_entry.rs +++ b/gtk/src/pad_action_entry.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::PadActionType; diff --git a/gtk/src/pad_controller.rs b/gtk/src/pad_controller.rs index 9e107990ecc2..c6450c9922e2 100644 --- a/gtk/src/pad_controller.rs +++ b/gtk/src/pad_controller.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::PadActionEntry; use crate::PadController; diff --git a/gtk/src/page_range.rs b/gtk/src/page_range.rs index f2db3fc5abeb..fe3eb08dd951 100644 --- a/gtk/src/page_range.rs +++ b/gtk/src/page_range.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; use std::ptr; diff --git a/gtk/src/prelude.rs b/gtk/src/prelude.rs index 09f86c5645ce..21612109d956 100644 --- a/gtk/src/prelude.rs +++ b/gtk/src/prelude.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! Traits and essential types intended for blanket imports. diff --git a/gtk/src/print_settings.rs b/gtk/src/print_settings.rs index 36f49f482a7f..50577326e69a 100644 --- a/gtk/src/print_settings.rs +++ b/gtk/src/print_settings.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; diff --git a/gtk/src/radio_button.rs b/gtk/src/radio_button.rs index f91604918885..3d244fa2135e 100644 --- a/gtk/src/radio_button.rs +++ b/gtk/src/radio_button.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::RadioButton; use crate::Widget; use glib::object::Cast; diff --git a/gtk/src/radio_menu_item.rs b/gtk/src/radio_menu_item.rs index a4b136b4db9d..a7048ebd24de 100644 --- a/gtk/src/radio_menu_item.rs +++ b/gtk/src/radio_menu_item.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::RadioMenuItem; use crate::Widget; use glib::object::Cast; diff --git a/gtk/src/radio_tool_button.rs b/gtk/src/radio_tool_button.rs index 185184bf497b..646005bbebe2 100644 --- a/gtk/src/radio_tool_button.rs +++ b/gtk/src/radio_tool_button.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::RadioToolButton; use crate::ToolItem; use glib::object::{Cast, ObjectType}; diff --git a/gtk/src/recent_chooser_dialog.rs b/gtk/src/recent_chooser_dialog.rs index 380aa7c680ec..f927076de470 100644 --- a/gtk/src/recent_chooser_dialog.rs +++ b/gtk/src/recent_chooser_dialog.rs @@ -1,6 +1,4 @@ -// Copyright 2013-2016, The Gtk-rs Project Developers. -// See the COPYRIGHT recent at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE recent or +// Take a look at the license at the top of the repository in the LICENSE file. use crate::RecentChooserDialog; use crate::RecentManager; diff --git a/gtk/src/recent_data.rs b/gtk/src/recent_data.rs index 8d4c1caaeebe..216958880d92 100644 --- a/gtk/src/recent_data.rs +++ b/gtk/src/recent_data.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; use libc::c_char; diff --git a/gtk/src/requisition.rs b/gtk/src/requisition.rs index 99699c3d4558..0b402beade47 100644 --- a/gtk/src/requisition.rs +++ b/gtk/src/requisition.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::translate::*; use std::mem; diff --git a/gtk/src/response_type.rs b/gtk/src/response_type.rs index 39166b1ea5f4..5557dd3ebabf 100644 --- a/gtk/src/response_type.rs +++ b/gtk/src/response_type.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::translate::{from_glib, FromGlib, ToGlib, ToGlibPtr, ToGlibPtrMut}; use glib::value::{FromValue, FromValueOptional, SetValue}; use glib::{StaticType, Type, Value}; diff --git a/gtk/src/rt.rs b/gtk/src/rt.rs index a4fdb87f774f..b9c07e1cd1a0 100644 --- a/gtk/src/rt.rs +++ b/gtk/src/rt.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; use libc::c_uint; diff --git a/gtk/src/selection_data.rs b/gtk/src/selection_data.rs index 2c2c821133f5..6a3254b6a511 100644 --- a/gtk/src/selection_data.rs +++ b/gtk/src/selection_data.rs @@ -1,6 +1,4 @@ -// Copyright 2013-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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::SelectionData; use glib::translate::*; diff --git a/gtk/src/signal.rs b/gtk/src/signal.rs index 76e8d92ea84b..6f961637bed4 100644 --- a/gtk/src/signal.rs +++ b/gtk/src/signal.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use gdk::Rectangle; pub use glib::signal::Inhibit; diff --git a/gtk/src/style_context.rs b/gtk/src/style_context.rs index a5ad5828a63d..625db5711c8e 100644 --- a/gtk/src/style_context.rs +++ b/gtk/src/style_context.rs @@ -1,6 +1,4 @@ -// Copyright 2013-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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::StateFlags; use crate::StyleContext; diff --git a/gtk/src/subclass/application.rs b/gtk/src/subclass/application.rs index 950783bb9ac5..24e4a237e465 100644 --- a/gtk/src/subclass/application.rs +++ b/gtk/src/subclass/application.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::Cast; use glib::translate::*; diff --git a/gtk/src/subclass/application_window.rs b/gtk/src/subclass/application_window.rs index 727de58e6a60..379dbb78f3ce 100644 --- a/gtk/src/subclass/application_window.rs +++ b/gtk/src/subclass/application_window.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::subclass::prelude::*; use super::window::WindowImpl; diff --git a/gtk/src/subclass/bin.rs b/gtk/src/subclass/bin.rs index 1d2943f9abe6..ac48b7b6d17c 100644 --- a/gtk/src/subclass/bin.rs +++ b/gtk/src/subclass/bin.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::subclass::prelude::*; use super::container::ContainerImpl; diff --git a/gtk/src/subclass/box_.rs b/gtk/src/subclass/box_.rs index 1aef0353b104..a7fb5cfeba09 100644 --- a/gtk/src/subclass/box_.rs +++ b/gtk/src/subclass/box_.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::subclass::prelude::*; use super::container::ContainerImpl; diff --git a/gtk/src/subclass/button.rs b/gtk/src/subclass/button.rs index 06d805d50b81..e6b7da42c734 100644 --- a/gtk/src/subclass/button.rs +++ b/gtk/src/subclass/button.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::subclass::prelude::*; use glib::translate::*; use glib::Cast; diff --git a/gtk/src/subclass/cell_renderer.rs b/gtk/src/subclass/cell_renderer.rs index 37593ce43fb8..8285cc377626 100644 --- a/gtk/src/subclass/cell_renderer.rs +++ b/gtk/src/subclass/cell_renderer.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use libc::{c_char, c_int}; use std::mem; diff --git a/gtk/src/subclass/cell_renderer_accel.rs b/gtk/src/subclass/cell_renderer_accel.rs index 1de067ce926c..bbf5b620ff47 100644 --- a/gtk/src/subclass/cell_renderer_accel.rs +++ b/gtk/src/subclass/cell_renderer_accel.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use libc::{c_char, c_uint}; use glib::subclass::prelude::*; diff --git a/gtk/src/subclass/cell_renderer_combo.rs b/gtk/src/subclass/cell_renderer_combo.rs index 6e90307d6577..ad9bc7bd693a 100644 --- a/gtk/src/subclass/cell_renderer_combo.rs +++ b/gtk/src/subclass/cell_renderer_combo.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::subclass::prelude::*; use super::cell_renderer_text::CellRendererTextImpl; diff --git a/gtk/src/subclass/cell_renderer_pixbuf.rs b/gtk/src/subclass/cell_renderer_pixbuf.rs index 7f5c51546be1..d29a5232f2bb 100644 --- a/gtk/src/subclass/cell_renderer_pixbuf.rs +++ b/gtk/src/subclass/cell_renderer_pixbuf.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::subclass::prelude::*; use super::cell_renderer::CellRendererImpl; diff --git a/gtk/src/subclass/cell_renderer_progress.rs b/gtk/src/subclass/cell_renderer_progress.rs index f4536423aa1c..c9841a1da84a 100644 --- a/gtk/src/subclass/cell_renderer_progress.rs +++ b/gtk/src/subclass/cell_renderer_progress.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::subclass::prelude::*; use super::cell_renderer::CellRendererImpl; diff --git a/gtk/src/subclass/cell_renderer_spin.rs b/gtk/src/subclass/cell_renderer_spin.rs index f5f4a865af92..259678dd2ffa 100644 --- a/gtk/src/subclass/cell_renderer_spin.rs +++ b/gtk/src/subclass/cell_renderer_spin.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::subclass::prelude::*; use super::cell_renderer_text::CellRendererTextImpl; diff --git a/gtk/src/subclass/cell_renderer_spinner.rs b/gtk/src/subclass/cell_renderer_spinner.rs index 1ac922b207d2..a7e080d6e04a 100644 --- a/gtk/src/subclass/cell_renderer_spinner.rs +++ b/gtk/src/subclass/cell_renderer_spinner.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::subclass::prelude::*; use super::cell_renderer::CellRendererImpl; diff --git a/gtk/src/subclass/cell_renderer_text.rs b/gtk/src/subclass/cell_renderer_text.rs index 96af28e24d3d..67027cc9ce0b 100644 --- a/gtk/src/subclass/cell_renderer_text.rs +++ b/gtk/src/subclass/cell_renderer_text.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use libc::c_char; use glib::subclass::prelude::*; diff --git a/gtk/src/subclass/cell_renderer_toggle.rs b/gtk/src/subclass/cell_renderer_toggle.rs index 720814ee6008..486628e256c6 100644 --- a/gtk/src/subclass/cell_renderer_toggle.rs +++ b/gtk/src/subclass/cell_renderer_toggle.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use libc::c_char; use glib::subclass::prelude::*; diff --git a/gtk/src/subclass/container.rs b/gtk/src/subclass/container.rs index 9aaf899b5fb9..790f46c1088a 100644 --- a/gtk/src/subclass/container.rs +++ b/gtk/src/subclass/container.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::translate::*; use glib::subclass::prelude::*; diff --git a/gtk/src/subclass/dialog.rs b/gtk/src/subclass/dialog.rs index d58963aad455..edc3799924f0 100644 --- a/gtk/src/subclass/dialog.rs +++ b/gtk/src/subclass/dialog.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::translate::*; use glib::subclass::prelude::*; diff --git a/gtk/src/subclass/drawing_area.rs b/gtk/src/subclass/drawing_area.rs index 067ef899c989..4b953c6a927c 100644 --- a/gtk/src/subclass/drawing_area.rs +++ b/gtk/src/subclass/drawing_area.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::subclass::prelude::*; use super::widget::WidgetImpl; diff --git a/gtk/src/subclass/event_box.rs b/gtk/src/subclass/event_box.rs index 46b0f35500d2..f834404c7376 100644 --- a/gtk/src/subclass/event_box.rs +++ b/gtk/src/subclass/event_box.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::subclass::prelude::*; use super::bin::BinImpl; diff --git a/gtk/src/subclass/fixed.rs b/gtk/src/subclass/fixed.rs index 89772793b330..535eb94d5225 100644 --- a/gtk/src/subclass/fixed.rs +++ b/gtk/src/subclass/fixed.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::subclass::prelude::*; diff --git a/gtk/src/subclass/header_bar.rs b/gtk/src/subclass/header_bar.rs index 85026a842d74..aaf737afdb47 100644 --- a/gtk/src/subclass/header_bar.rs +++ b/gtk/src/subclass/header_bar.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::subclass::prelude::*; use super::container::ContainerImpl; diff --git a/gtk/src/subclass/icon_view.rs b/gtk/src/subclass/icon_view.rs index a62e3c367920..f528aee4c1dc 100644 --- a/gtk/src/subclass/icon_view.rs +++ b/gtk/src/subclass/icon_view.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use libc::c_int; use glib::subclass::prelude::*; diff --git a/gtk/src/subclass/list_box.rs b/gtk/src/subclass/list_box.rs index 4a23cee4904f..3f1e6c523480 100644 --- a/gtk/src/subclass/list_box.rs +++ b/gtk/src/subclass/list_box.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::subclass::prelude::*; use glib::translate::*; diff --git a/gtk/src/subclass/list_box_row.rs b/gtk/src/subclass/list_box_row.rs index 3d1810139197..7cb41709e99c 100644 --- a/gtk/src/subclass/list_box_row.rs +++ b/gtk/src/subclass/list_box_row.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Bin; use crate::ListBoxRow; diff --git a/gtk/src/subclass/mod.rs b/gtk/src/subclass/mod.rs index aaffc12da7ab..27abe3773a44 100644 --- a/gtk/src/subclass/mod.rs +++ b/gtk/src/subclass/mod.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. pub mod application; pub mod application_window; diff --git a/gtk/src/subclass/plug.rs b/gtk/src/subclass/plug.rs index 963ae5636d88..bb952a5f6bfa 100644 --- a/gtk/src/subclass/plug.rs +++ b/gtk/src/subclass/plug.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::subclass::prelude::*; diff --git a/gtk/src/subclass/socket.rs b/gtk/src/subclass/socket.rs index 055fb08240e2..0b0d54961e80 100644 --- a/gtk/src/subclass/socket.rs +++ b/gtk/src/subclass/socket.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::subclass::prelude::*; diff --git a/gtk/src/subclass/stack.rs b/gtk/src/subclass/stack.rs index 0aa26cef3363..4e9402cbcc52 100644 --- a/gtk/src/subclass/stack.rs +++ b/gtk/src/subclass/stack.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::subclass::prelude::*; use super::container::ContainerImpl; diff --git a/gtk/src/subclass/tree_view.rs b/gtk/src/subclass/tree_view.rs index 31f14ca6e209..8402c5c0bf3e 100644 --- a/gtk/src/subclass/tree_view.rs +++ b/gtk/src/subclass/tree_view.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::subclass::prelude::*; use super::container::ContainerImpl; diff --git a/gtk/src/subclass/widget.rs b/gtk/src/subclass/widget.rs index c4d514385e93..a94177eea58e 100644 --- a/gtk/src/subclass/widget.rs +++ b/gtk/src/subclass/widget.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use libc::c_int; use std::mem; diff --git a/gtk/src/subclass/window.rs b/gtk/src/subclass/window.rs index 43a69fb44e3d..41b45be20db2 100644 --- a/gtk/src/subclass/window.rs +++ b/gtk/src/subclass/window.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use glib::translate::*; use glib::subclass::prelude::*; diff --git a/gtk/src/switch.rs b/gtk/src/switch.rs index 81beea58287e..d6116084da1e 100644 --- a/gtk/src/switch.rs +++ b/gtk/src/switch.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Switch; use glib::object::{Cast, IsA}; diff --git a/gtk/src/target_entry.rs b/gtk/src/target_entry.rs index 8f21f22887f3..28095fce86ae 100644 --- a/gtk/src/target_entry.rs +++ b/gtk/src/target_entry.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::TargetFlags; use glib::translate::*; use libc::c_char; diff --git a/gtk/src/target_list.rs b/gtk/src/target_list.rs index 705cea156221..301371713d01 100644 --- a/gtk/src/target_list.rs +++ b/gtk/src/target_list.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::TargetEntry; use crate::TargetList; use glib::translate::*; diff --git a/gtk/src/text_buffer.rs b/gtk/src/text_buffer.rs index 02cd7bb7e668..f7c711d5102e 100644 --- a/gtk/src/text_buffer.rs +++ b/gtk/src/text_buffer.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::TextBuffer; use crate::TextChildAnchor; diff --git a/gtk/src/text_iter.rs b/gtk/src/text_iter.rs index 5a1f08acea43..96a9342d1cd1 100644 --- a/gtk/src/text_iter.rs +++ b/gtk/src/text_iter.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::TextAttributes; use crate::TextIter; diff --git a/gtk/src/tree_model_filter.rs b/gtk/src/tree_model_filter.rs index e71390d48ba5..4207ba6dd341 100644 --- a/gtk/src/tree_model_filter.rs +++ b/gtk/src/tree_model_filter.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::object::{Cast, IsA}; use glib::translate::*; diff --git a/gtk/src/tree_path.rs b/gtk/src/tree_path.rs index 1b8f343c230a..24082f1f7c86 100644 --- a/gtk/src/tree_path.rs +++ b/gtk/src/tree_path.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::TreePath; use glib::translate::*; diff --git a/gtk/src/tree_row_reference.rs b/gtk/src/tree_row_reference.rs index 083716de90ae..23362310fb74 100644 --- a/gtk/src/tree_row_reference.rs +++ b/gtk/src/tree_row_reference.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::TreeIter; use crate::TreePath; diff --git a/gtk/src/tree_sortable.rs b/gtk/src/tree_sortable.rs index 92014725d9dd..7d366adb4104 100644 --- a/gtk/src/tree_sortable.rs +++ b/gtk/src/tree_sortable.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::SortType; use glib::object::IsA; diff --git a/gtk/src/tree_store.rs b/gtk/src/tree_store.rs index 5dd99bfce3a3..de7ae15df5b9 100644 --- a/gtk/src/tree_store.rs +++ b/gtk/src/tree_store.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::TreeIter; use crate::TreeModel; diff --git a/gtk/src/widget.rs b/gtk/src/widget.rs index 0670cfc67b0d..566af4bb3e6a 100644 --- a/gtk/src/widget.rs +++ b/gtk/src/widget.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use gdk::{DragAction, Event, ModifierType}; use glib::ffi::gboolean; diff --git a/gtk/src/window.rs b/gtk/src/window.rs index 2442db7f18ae..0f0ae837dafd 100644 --- a/gtk/src/window.rs +++ b/gtk/src/window.rs @@ -1,6 +1,4 @@ -// Copyright 2015-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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Window; use glib::object::IsA; diff --git a/gtk/src/xlib.rs b/gtk/src/xlib.rs index 0b6ed4745e2e..dc3ef290c8b0 100644 --- a/gtk/src/xlib.rs +++ b/gtk/src/xlib.rs @@ -1,5 +1,3 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. pub type Window = ffi::xlib::Window; diff --git a/gtk3-macros/COPYRIGHT b/gtk3-macros/COPYRIGHT new file mode 120000 index 000000000000..dc5f40a221a3 --- /dev/null +++ b/gtk3-macros/COPYRIGHT @@ -0,0 +1 @@ +../COPYRIGHT \ No newline at end of file diff --git a/gtk3-macros/LICENSE b/gtk3-macros/LICENSE new file mode 120000 index 000000000000..ea5b60640b01 --- /dev/null +++ b/gtk3-macros/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/gtk3-macros/src/attribute_parser.rs b/gtk3-macros/src/attribute_parser.rs index cdae3c11782d..19aedefbb048 100644 --- a/gtk3-macros/src/attribute_parser.rs +++ b/gtk3-macros/src/attribute_parser.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use proc_macro2::Span; use syn::parse::Error; use syn::spanned::Spanned; diff --git a/gtk3-macros/src/composite_template_derive.rs b/gtk3-macros/src/composite_template_derive.rs index 72190ec6fd61..16f12aa47931 100644 --- a/gtk3-macros/src/composite_template_derive.rs +++ b/gtk3-macros/src/composite_template_derive.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use proc_macro2::TokenStream; use proc_macro_error::{abort, abort_call_site}; use quote::quote; diff --git a/gtk3-macros/src/lib.rs b/gtk3-macros/src/lib.rs index a556fe4efef1..9ed6d919f6eb 100644 --- a/gtk3-macros/src/lib.rs +++ b/gtk3-macros/src/lib.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + mod attribute_parser; mod composite_template_derive; mod util; diff --git a/gtk3-macros/src/util.rs b/gtk3-macros/src/util.rs index a1cf9a55ff36..7850e96ad623 100644 --- a/gtk3-macros/src/util.rs +++ b/gtk3-macros/src/util.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use proc_macro2::{Ident, Span}; use proc_macro_crate::crate_name; diff --git a/pango/COPYRIGHT b/pango/COPYRIGHT new file mode 120000 index 000000000000..dc5f40a221a3 --- /dev/null +++ b/pango/COPYRIGHT @@ -0,0 +1 @@ +../COPYRIGHT \ No newline at end of file diff --git a/pango/LICENSE b/pango/LICENSE new file mode 120000 index 000000000000..ea5b60640b01 --- /dev/null +++ b/pango/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/pango/src/analysis.rs b/pango/src/analysis.rs index d3bd8126dbf4..237f8683aaf6 100644 --- a/pango/src/analysis.rs +++ b/pango/src/analysis.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::EngineLang; use crate::EngineShape; diff --git a/pango/src/attr_class.rs b/pango/src/attr_class.rs index 501e401ae8a1..c7200b33a70b 100644 --- a/pango/src/attr_class.rs +++ b/pango/src/attr_class.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::{FromGlibPtrFull, FromGlibPtrNone, Stash, ToGlibPtr}; diff --git a/pango/src/attr_iterator.rs b/pango/src/attr_iterator.rs index 9d2e416bf30f..d2bce85e8c49 100644 --- a/pango/src/attr_iterator.rs +++ b/pango/src/attr_iterator.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::AttrIterator; use crate::Attribute; diff --git a/pango/src/attr_list.rs b/pango/src/attr_list.rs index efb7f1f00175..a09bb69e0619 100644 --- a/pango/src/attr_list.rs +++ b/pango/src/attr_list.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::AttrList; use crate::Attribute; diff --git a/pango/src/attribute.rs b/pango/src/attribute.rs index 32739f43e496..c602b5af3947 100644 --- a/pango/src/attribute.rs +++ b/pango/src/attribute.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::AttrClass; use crate::Attribute; diff --git a/pango/src/coverage.rs b/pango/src/coverage.rs index 550c290ae7e8..5d895ed3181b 100644 --- a/pango/src/coverage.rs +++ b/pango/src/coverage.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::CoverageLevel; use glib::translate::*; diff --git a/pango/src/functions.rs b/pango/src/functions.rs index 4b29f51f7f2f..7dd82565be96 100644 --- a/pango/src/functions.rs +++ b/pango/src/functions.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Analysis; use crate::GlyphString; diff --git a/pango/src/glyph.rs b/pango/src/glyph.rs index 1a4447180bbd..ef71604892fa 100644 --- a/pango/src/glyph.rs +++ b/pango/src/glyph.rs @@ -1,3 +1,5 @@ +// Take a look at the license at the top of the repository in the LICENSE file. + use crate::GlyphItem; use crate::GlyphString; use crate::Item; diff --git a/pango/src/item.rs b/pango/src/item.rs index cb8a7439c134..a86f5b947858 100644 --- a/pango/src/item.rs +++ b/pango/src/item.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::ToGlibPtr; diff --git a/pango/src/language.rs b/pango/src/language.rs index 89eac8fabac0..5ef2d04a8c65 100644 --- a/pango/src/language.rs +++ b/pango/src/language.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::Script; use glib::translate::*; diff --git a/pango/src/lib.rs b/pango/src/lib.rs index c95b97a5ca76..59f3d9b78fda 100644 --- a/pango/src/lib.rs +++ b/pango/src/lib.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. #![allow(deprecated)] #![cfg_attr(feature = "dox", feature(doc_cfg))] diff --git a/pango/src/prelude.rs b/pango/src/prelude.rs index 9563342d18dd..eb880d46b1e1 100644 --- a/pango/src/prelude.rs +++ b/pango/src/prelude.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. //! Traits and essential types inteded for blanket imports. diff --git a/pango/src/rectangle.rs b/pango/src/rectangle.rs index 26a9efbbafdf..95303278988e 100644 --- a/pango/src/rectangle.rs +++ b/pango/src/rectangle.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use glib::translate::*; use std::mem; diff --git a/pangocairo/COPYRIGHT b/pangocairo/COPYRIGHT new file mode 120000 index 000000000000..dc5f40a221a3 --- /dev/null +++ b/pangocairo/COPYRIGHT @@ -0,0 +1 @@ +../COPYRIGHT \ No newline at end of file diff --git a/pangocairo/LICENSE b/pangocairo/LICENSE new file mode 120000 index 000000000000..ea5b60640b01 --- /dev/null +++ b/pangocairo/LICENSE @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/pangocairo/src/font_map.rs b/pangocairo/src/font_map.rs index bc011e35214f..ad4d7b3bb1b0 100644 --- a/pangocairo/src/font_map.rs +++ b/pangocairo/src/font_map.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. use crate::FontMap; use glib::object::IsA; diff --git a/pangocairo/src/lib.rs b/pangocairo/src/lib.rs index e7a0bc09a34e..b5547d20ae42 100644 --- a/pangocairo/src/lib.rs +++ b/pangocairo/src/lib.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. #![allow(deprecated)] #![cfg_attr(feature = "dox", feature(doc_cfg))] diff --git a/pangocairo/src/prelude.rs b/pangocairo/src/prelude.rs index c8c88ba1cc6a..1cf5578c6b40 100644 --- a/pangocairo/src/prelude.rs +++ b/pangocairo/src/prelude.rs @@ -1,6 +1,4 @@ -// 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 +// Take a look at the license at the top of the repository in the LICENSE file. pub use crate::auto::*;