Skip to content

Commit 1d1c2d6

Browse files
Fix license headers
1 parent b3b44d0 commit 1d1c2d6

File tree

116 files changed

+186
-144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+186
-144
lines changed

gdk4-wayland/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
pub use ffi;
24
pub use wayland_client;
35

gdk4-wayland/src/wayland_device.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::WaylandDevice;
24
use glib::translate::ToGlibPtr;
35
use glib::IsA;

gdk4-wayland/src/wayland_display.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::WaylandDisplay;
24
use glib::translate::ToGlibPtr;
35
use glib::IsA;

gdk4-wayland/src/wayland_monitor.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::WaylandMonitor;
24
use glib::translate::ToGlibPtr;
35
use glib::IsA;

gdk4-wayland/src/wayland_seat.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::WaylandSeat;
24
use glib::translate::ToGlibPtr;
35
use glib::IsA;

gdk4-wayland/src/wayland_surface.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::WaylandSurface;
24
use glib::translate::ToGlibPtr;
35
use glib::IsA;

gdk4-x11/src/lib.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2013-2020, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
#![allow(deprecated)]
64

gdk4-x11/src/rt.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2020, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use std::cell::Cell;
64
use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT};

gdk4-x11/sys/src/manual.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// Copyright 2013-2020, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <http://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
pub use x11::xlib;

gdk4/src/alias.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use glib::GString;
24

35
pub type Atom = GString;

gdk4/src/cairo_interaction.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2013-2019, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use crate::{Rectangle, Surface, RGBA};
64
use cairo::{Context, Region};

gdk4/src/clipboard.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2019, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use crate::Clipboard;
64
use glib::object::IsA;

gdk4/src/content_deserializer.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2019, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use crate::ContentDeserializer;
64
use glib::translate::*;

gdk4/src/draw_context.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::DrawContext;
24
use glib::translate::*;
35
use glib::IsA;

gdk4/src/drop.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// Copyright 2019, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
43
use crate::ffi;
54
use crate::Drop;
65
use glib::object::IsA;

gdk4/src/functions.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2013-2018, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use crate::{ContentDeserializer, ContentSerializer};
64
use glib::object::IsA;

gdk4/src/keymap_key.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2019, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use glib::translate::*;
64

gdk4/src/lib.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2013-2018, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
#![allow(clippy::let_unit_value)]
64
#![allow(clippy::new_without_default)]

gdk4/src/popup_layout.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::PopupLayout;
24
use glib::translate::*;
35

gdk4/src/prelude.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2015, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
//! Traits intended for blanket imports.
64

gdk4/src/rgba.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2013-2015, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use glib::ffi::gconstpointer;
64
use glib::translate::*;

gdk4/src/surface.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::Surface;
24
use glib::object::IsA;
35
use glib::translate::*;

gdk4/src/time_coord.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2013-2019, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use crate::AxisFlags;
64
use glib::translate::*;

gsk4/src/border_node.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::BorderNode;
24
use glib::translate::*;
35
use glib::IsA;

gsk4/src/color_stop.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2019, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use gdk::RGBA;
64
use glib::translate::*;

gsk4/src/conic_gradient_node.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::{ColorStop, ConicGradientNode};
24
use glib::translate::*;
35

gsk4/src/lib.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// Copyright 2013-2018, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
43
#![cfg_attr(feature = "dox", feature(doc_cfg))]
54
#![allow(clippy::let_unit_value)]
65
#![allow(clippy::new_without_default)]

gsk4/src/linear_gradient_node.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::{ColorStop, LinearGradientNode};
24
use glib::translate::*;
35
use graphene::{Point, Rect};

gsk4/src/prelude.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2015, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
//! Traits intended for blanket imports.
64

gsk4/src/radial_gradient_node.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::{ColorStop, RadialGradientNode};
24
use glib::translate::*;
35

gsk4/src/repeating_linear_gradient_node.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::{ColorStop, RepeatingLinearGradientNode};
24
use glib::translate::*;
35
use graphene::{Point, Rect};

gsk4/src/repeating_radial_gradient_node.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::{ColorStop, RepeatingRadialGradientNode};
24
use glib::translate::*;
35

gsk4/src/rounded_rect.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2019, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use glib::translate::*;
64
use graphene::{Point, Rect, Size};

gsk4/src/shadow.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2019, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use gdk::RGBA;
64
use glib::translate::*;

gsk4/src/shadow_node.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::{RenderNode, Shadow, ShadowNode};
24
use glib::translate::*;
35
use glib::IsA;

gtk4-macros/src/attribute_parser.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use proc_macro2::Span;
24
use syn::parse::Error;
35
use syn::spanned::Spanned;

gtk4-macros/src/composite_template_derive.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use proc_macro2::TokenStream;
24
use proc_macro_error::{abort, abort_call_site};
35
use quote::quote;

gtk4-macros/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
mod attribute_parser;
24
mod composite_template_derive;
35
mod util;

gtk4-macros/src/util.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use proc_macro2::{Ident, Span};
24
use proc_macro_crate::crate_name;
35

gtk4/src/actionable.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2019, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use crate::Actionable;
64
use glib::object::IsA;

gtk4/src/application.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::rt;
24
use crate::Application;
35
use glib::translate::*;

gtk4/src/border.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2013-2017, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use glib::translate::*;
64
use std::fmt;

gtk4/src/builder.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2013-2015, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use crate::Builder;
64
use glib::object::{Cast, IsA};

gtk4/src/color_chooser.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2013-2015, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use crate::{ColorChooser, Orientation};
64
use gdk::RGBA;

gtk4/src/combo_box.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2018, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use crate::ComboBox;
64
use glib::object::IsA;

gtk4/src/constraint_guide.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::ConstraintGuide;
24
use glib::translate::*;
35
use glib::IsA;

gtk4/src/css_location.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2013-2018, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use glib::translate::*;
64

gtk4/src/dialog.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2016, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use crate::{Dialog, DialogExt, DialogFlags, ResponseType, Widget, Window};
64
use glib::object::Cast;

gtk4/src/editable.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::Editable;
24
use glib::object::Cast;
35
use glib::signal::{connect_raw, SignalHandlerId};

gtk4/src/entry.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::Entry;
24
use glib::translate::*;
35
use glib::IsA;

gtk4/src/entry_buffer.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2013-2015, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use crate::EntryBuffer;
64
use glib::object::IsA;

gtk4/src/entry_completion.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2019, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use crate::{Entry, EntryCompletion, Widget};
64
use glib::object::IsA;

gtk4/src/enums.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::Ordering;
24
use std::cmp;
35

gtk4/src/file_chooser_dialog.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2013-2016, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use crate::{FileChooserAction, FileChooserDialog, ResponseType, Widget, Window};
64
use glib::object::{Cast, IsA};

gtk4/src/icon_theme.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Take a look at the license at the top of the repository in the LICENSE file.
2+
13
use crate::IconTheme;
24
use glib::translate::*;
35

gtk4/src/im_context_simple.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2018, The Gtk-rs Project Developers.
2-
// See the COPYRIGHT file at the top-level directory of this distribution.
3-
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
1+
// Take a look at the license at the top of the repository in the LICENSE file.
42

53
use crate::IMContextSimple;
64
use glib::translate::*;

0 commit comments

Comments
 (0)