From dceb47868f98993dc9d3107049455a01ab57d396 Mon Sep 17 00:00:00 2001 From: Stefan Schindler Date: Fri, 16 Oct 2020 15:49:45 +0200 Subject: [PATCH 1/2] new docs url --- COPYRIGHT | 2 +- README.md | 6 +++--- src/accel_group.rs | 2 +- src/app_chooser.rs | 2 +- src/border.rs | 2 +- src/buildable.rs | 2 +- src/builder.rs | 2 +- src/cell_renderer_pixbuf.rs | 2 +- src/clipboard.rs | 2 +- src/color_button.rs | 2 +- src/color_chooser.rs | 2 +- src/combo_box.rs | 2 +- src/dialog.rs | 2 +- src/entry_buffer.rs | 2 +- src/entry_completion.rs | 2 +- src/file_chooser_dialog.rs | 2 +- src/fixed.rs | 2 +- src/flow_box.rs | 2 +- src/gesture_stylus.rs | 2 +- src/im_context_simple.rs | 2 +- src/invisible.rs | 2 +- src/lib.rs | 6 +++--- src/list_box.rs | 2 +- src/list_store.rs | 2 +- src/menu.rs | 2 +- src/message_dialog.rs | 2 +- src/notebook.rs | 2 +- src/pad_action_entry.rs | 2 +- src/pad_controller.rs | 2 +- src/page_range.rs | 2 +- src/prelude.rs | 2 +- src/print_settings.rs | 2 +- src/recent_chooser_dialog.rs | 2 +- src/recent_data.rs | 2 +- src/rt.rs | 2 +- src/selection_data.rs | 2 +- src/signal.rs | 2 +- src/style_context.rs | 2 +- src/subclass/fixed.rs | 2 +- src/subclass/mod.rs | 2 +- src/subclass/plug.rs | 2 +- src/subclass/socket.rs | 2 +- src/switch.rs | 2 +- src/text_buffer.rs | 2 +- src/text_iter.rs | 2 +- src/tree_model_filter.rs | 2 +- src/tree_path.rs | 2 +- src/tree_row_reference.rs | 2 +- src/tree_sortable.rs | 2 +- src/tree_store.rs | 2 +- src/widget.rs | 2 +- src/window.rs | 2 +- src/xlib.rs | 2 +- tests/check_gir.rs | 2 +- 54 files changed, 58 insertions(+), 58 deletions(-) diff --git a/COPYRIGHT b/COPYRIGHT index d06a3d324a..07892771a8 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -60,7 +60,7 @@ Zach Oakes Zach Ploskey The Gtk-rs Project is licensed under the MIT license, see the LICENSE file -or . +or . This project provides interoperability with various GNOME libraries but doesn't distribute any parts of them. Distributing compiled libraries and executables diff --git a/README.md b/README.md index 56454b3bed..4c3c334a18 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # gtk [![Build Status](https://travis-ci.org/gtk-rs/gtk.png?branch=master)](https://travis-ci.org/gtk-rs/gtk) [![Build status](https://ci.appveyor.com/api/projects/status/5mot32ipr12iocw0?svg=true)](https://ci.appveyor.com/project/GuillaumeGomez/gtk) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gtk-rs/gtk) -[Project site](http://gtk-rs.org/) | [Online documentation](https://gtk-rs.org/docs-src/) +[Project site](https://gtk-rs.org/) | [Online documentation](https://gtk-rs.org/docs-src/) __Rust__ bindings and wrappers for __GLib__, __GDK 3__, __GTK+ 3__ and __Cairo__. @@ -12,7 +12,7 @@ See the [GTK installation page](https://www.gtk.org/docs/installations/). ## Using We recommend using [crates from crates.io](https://crates.io/keywords/gtk-rs), -as [demonstrated here](http://gtk-rs.org/#using). +as [demonstrated here](https://gtk-rs.org/#using). If you want to track the bleeding edge, use the git dependency instead: @@ -66,7 +66,7 @@ Generate the docs: Contributor you're welcome! -See the general [bindings documentation](http://gtk-rs.org/docs/glib/). +See the general [bindings documentation](https://gtk-rs.org/docs-src/glib/). Most of the bindings ([`src/auto`](src/auto)) are generated by [gir](https://github.com/gtk-rs/gir) using [this configuration file](Gir.toml). After editing `Gir.toml` the sources can be regenerated with diff --git a/src/accel_group.rs b/src/accel_group.rs index 2e6c45d8c2..1ae2540a22 100644 --- a/src/accel_group.rs +++ b/src/accel_group.rs @@ -1,6 +1,6 @@ // Copyright 2019, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use gdk; use glib; diff --git a/src/app_chooser.rs b/src/app_chooser.rs index 65a1fcf929..933efb25a3 100644 --- a/src/app_chooser.rs +++ b/src/app_chooser.rs @@ -1,6 +1,6 @@ // Copyright 2013-2015, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use gio::AppInfo; use glib::object::IsA; diff --git a/src/border.rs b/src/border.rs index 3c8f2af0ca..452e21801d 100644 --- a/src/border.rs +++ b/src/border.rs @@ -1,6 +1,6 @@ // Copyright 2013-2017, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::translate::*; use gtk_sys; diff --git a/src/buildable.rs b/src/buildable.rs index bb643d9056..e9e96f3735 100644 --- a/src/buildable.rs +++ b/src/buildable.rs @@ -1,6 +1,6 @@ // Copyright 2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::translate::*; use glib::IsA; diff --git a/src/builder.rs b/src/builder.rs index dd58301ea0..bf9e965684 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -1,6 +1,6 @@ // Copyright 2013-2015, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::object::{Cast, IsA}; use glib::translate::*; diff --git a/src/cell_renderer_pixbuf.rs b/src/cell_renderer_pixbuf.rs index ee3b80121a..2dbf07edb7 100644 --- a/src/cell_renderer_pixbuf.rs +++ b/src/cell_renderer_pixbuf.rs @@ -1,6 +1,6 @@ // Copyright 2013-2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib; use glib::object::IsA; diff --git a/src/clipboard.rs b/src/clipboard.rs index 21a4e704ff..8ada8482d8 100644 --- a/src/clipboard.rs +++ b/src/clipboard.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::translate::*; use glib_sys::gpointer; diff --git a/src/color_button.rs b/src/color_button.rs index 983ffd38d2..fc9200c846 100644 --- a/src/color_button.rs +++ b/src/color_button.rs @@ -1,6 +1,6 @@ // Copyright 2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use gdk; use glib::object::Cast; diff --git a/src/color_chooser.rs b/src/color_chooser.rs index 045dca5e0e..cfa2322c58 100644 --- a/src/color_chooser.rs +++ b/src/color_chooser.rs @@ -1,6 +1,6 @@ // Copyright 2013-2015, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use gdk::RGBA; use gdk_sys; diff --git a/src/combo_box.rs b/src/combo_box.rs index 5673d38bb2..38df24498b 100644 --- a/src/combo_box.rs +++ b/src/combo_box.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::object::IsA; use glib::translate::*; diff --git a/src/dialog.rs b/src/dialog.rs index 53319324e8..900b5f94c4 100644 --- a/src/dialog.rs +++ b/src/dialog.rs @@ -1,6 +1,6 @@ // Copyright 2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use auto::DialogExt; use glib::object::Cast; diff --git a/src/entry_buffer.rs b/src/entry_buffer.rs index 00f7544af1..4499eaf81e 100644 --- a/src/entry_buffer.rs +++ b/src/entry_buffer.rs @@ -1,6 +1,6 @@ // Copyright 2013-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::translate::*; use gtk_sys; diff --git a/src/entry_completion.rs b/src/entry_completion.rs index 96e82ef76a..2d2e32a7a7 100644 --- a/src/entry_completion.rs +++ b/src/entry_completion.rs @@ -1,6 +1,6 @@ // Copyright 2019, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::object::IsA; use glib::translate::*; diff --git a/src/file_chooser_dialog.rs b/src/file_chooser_dialog.rs index 31de219c13..0f7713321f 100644 --- a/src/file_chooser_dialog.rs +++ b/src/file_chooser_dialog.rs @@ -1,6 +1,6 @@ // Copyright 2013-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::object::{Cast, IsA}; use glib::translate::*; diff --git a/src/fixed.rs b/src/fixed.rs index d0a3378e78..5fc0174a54 100644 --- a/src/fixed.rs +++ b/src/fixed.rs @@ -1,6 +1,6 @@ // Copyright 2013-2017, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::translate::*; use glib::IsA; diff --git a/src/flow_box.rs b/src/flow_box.rs index d6470141bf..a24e0b3d7b 100644 --- a/src/flow_box.rs +++ b/src/flow_box.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::object::IsA; use glib::translate::*; diff --git a/src/gesture_stylus.rs b/src/gesture_stylus.rs index 8d60963458..7746eb0c2f 100644 --- a/src/gesture_stylus.rs +++ b/src/gesture_stylus.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use gdk::AxisUse; use gdk_sys; diff --git a/src/im_context_simple.rs b/src/im_context_simple.rs index 1f3773e2bc..41c6b953b5 100644 --- a/src/im_context_simple.rs +++ b/src/im_context_simple.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::translate::*; use glib::IsA; diff --git a/src/invisible.rs b/src/invisible.rs index aabe7fa363..590e3d2c54 100644 --- a/src/invisible.rs +++ b/src/invisible.rs @@ -1,6 +1,6 @@ // Copyright 2013-2017, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use gdk; use glib::translate::{from_glib_none, ToGlibPtr}; diff --git a/src/lib.rs b/src/lib.rs index cb98a97f4b..d76db32fb0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,11 +1,11 @@ // Copyright 2013-2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! # GTK+ 3 bindings //! -//! This library contains safe Rust bindings for [GTK+ 3](http://www.gtk.org), a -//! multi-platform GUI toolkit. It's a part of [Gtk-rs](http://gtk-rs.org/). +//! This library contains safe Rust bindings for [GTK+ 3](https://www.gtk.org), a +//! multi-platform GUI toolkit. It's a part of [Gtk-rs](https://gtk-rs.org/). //! //! The library is a work in progress: expect missing bindings and breaking //! changes. A steadily increasing share of the code is machine-generated from diff --git a/src/list_box.rs b/src/list_box.rs index 17f502b053..29179f4c6c 100644 --- a/src/list_box.rs +++ b/src/list_box.rs @@ -1,6 +1,6 @@ // Copyright 2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::object::IsA; use glib::translate::*; diff --git a/src/list_store.rs b/src/list_store.rs index 25875415aa..e38bf99fc6 100644 --- a/src/list_store.rs +++ b/src/list_store.rs @@ -1,6 +1,6 @@ // Copyright 2013-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::object::{Cast, IsA}; use glib::translate::*; diff --git a/src/menu.rs b/src/menu.rs index 87b785f33c..60928772ea 100644 --- a/src/menu.rs +++ b/src/menu.rs @@ -1,6 +1,6 @@ // Copyright 2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::object::Cast; use glib::translate::*; diff --git a/src/message_dialog.rs b/src/message_dialog.rs index 33172eae87..6f38b459cb 100644 --- a/src/message_dialog.rs +++ b/src/message_dialog.rs @@ -1,6 +1,6 @@ // Copyright 2013-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::object::{Cast, IsA}; use glib::translate::*; diff --git a/src/notebook.rs b/src/notebook.rs index 924eb372e4..840797fe66 100644 --- a/src/notebook.rs +++ b/src/notebook.rs @@ -1,6 +1,6 @@ // Copyright 2013-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::translate::*; use glib::IsA; diff --git a/src/pad_action_entry.rs b/src/pad_action_entry.rs index 78e381000c..1c270195cb 100644 --- a/src/pad_action_entry.rs +++ b/src/pad_action_entry.rs @@ -1,6 +1,6 @@ // Copyright 2013-2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use PadActionType; diff --git a/src/pad_controller.rs b/src/pad_controller.rs index 891de8cea4..400e0ce8ac 100644 --- a/src/pad_controller.rs +++ b/src/pad_controller.rs @@ -1,6 +1,6 @@ // Copyright 2013-2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::translate::*; use gtk_sys; diff --git a/src/page_range.rs b/src/page_range.rs index 4d04afb60f..8fc3a24f41 100644 --- a/src/page_range.rs +++ b/src/page_range.rs @@ -1,6 +1,6 @@ // Copyright 2013-2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::translate::*; use gtk_sys; diff --git a/src/prelude.rs b/src/prelude.rs index 9ea3cecd53..b51f59926a 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -1,6 +1,6 @@ // Copyright 2015-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or //! Traits and essential types intended for blanket imports. diff --git a/src/print_settings.rs b/src/print_settings.rs index ee74244ca8..33b4603b34 100644 --- a/src/print_settings.rs +++ b/src/print_settings.rs @@ -1,6 +1,6 @@ // Copyright 2013-2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::translate::*; use gtk_sys; diff --git a/src/recent_chooser_dialog.rs b/src/recent_chooser_dialog.rs index b39d2dfb28..3edbf76ad9 100644 --- a/src/recent_chooser_dialog.rs +++ b/src/recent_chooser_dialog.rs @@ -1,6 +1,6 @@ // 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 +// Licensed under the MIT license, see the LICENSE recent or use glib::object::{Cast, IsA}; use glib::translate::*; diff --git a/src/recent_data.rs b/src/recent_data.rs index 9b606376ad..500179680e 100644 --- a/src/recent_data.rs +++ b/src/recent_data.rs @@ -1,6 +1,6 @@ // Copyright 2013-2015, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::translate::*; use gtk_sys; diff --git a/src/rt.rs b/src/rt.rs index c0b4c64c00..335639da03 100644 --- a/src/rt.rs +++ b/src/rt.rs @@ -1,6 +1,6 @@ // Copyright 2013-2015, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use gdk; use glib; diff --git a/src/selection_data.rs b/src/selection_data.rs index 51fe18ed84..55edc4b260 100644 --- a/src/selection_data.rs +++ b/src/selection_data.rs @@ -1,6 +1,6 @@ // 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 +// Licensed under the MIT license, see the LICENSE file or use glib::translate::*; use gtk_sys; diff --git a/src/signal.rs b/src/signal.rs index 8c98f85fb0..971275fc9c 100644 --- a/src/signal.rs +++ b/src/signal.rs @@ -1,6 +1,6 @@ // Copyright 2015, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use gdk::Rectangle; pub use glib::signal::Inhibit; diff --git a/src/style_context.rs b/src/style_context.rs index c9b310e6fb..cf25631fab 100644 --- a/src/style_context.rs +++ b/src/style_context.rs @@ -1,6 +1,6 @@ // 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 +// Licensed under the MIT license, see the LICENSE file or use glib::object::IsA; use pango::FontDescription; diff --git a/src/subclass/fixed.rs b/src/subclass/fixed.rs index c77454232a..81de114a6b 100644 --- a/src/subclass/fixed.rs +++ b/src/subclass/fixed.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::subclass::prelude::*; diff --git a/src/subclass/mod.rs b/src/subclass/mod.rs index c9382b4db2..0b206f60cd 100644 --- a/src/subclass/mod.rs +++ b/src/subclass/mod.rs @@ -1,6 +1,6 @@ // Copyright 2019, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or pub mod application; pub mod application_window; diff --git a/src/subclass/plug.rs b/src/subclass/plug.rs index ad08452061..74b469e056 100644 --- a/src/subclass/plug.rs +++ b/src/subclass/plug.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::subclass::prelude::*; diff --git a/src/subclass/socket.rs b/src/subclass/socket.rs index 84a0159e1c..f02550f5b8 100644 --- a/src/subclass/socket.rs +++ b/src/subclass/socket.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::subclass::prelude::*; diff --git a/src/switch.rs b/src/switch.rs index 548a9670cb..853e097577 100644 --- a/src/switch.rs +++ b/src/switch.rs @@ -1,6 +1,6 @@ // Copyright 2013-2017, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::object::{Cast, IsA}; use glib::signal::{connect_raw, SignalHandlerId}; diff --git a/src/text_buffer.rs b/src/text_buffer.rs index 064caa6f1b..2d3a9dc114 100644 --- a/src/text_buffer.rs +++ b/src/text_buffer.rs @@ -1,6 +1,6 @@ // Copyright 2013-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::object::{Cast, IsA}; use glib::signal::{connect_raw, SignalHandlerId}; diff --git a/src/text_iter.rs b/src/text_iter.rs index d2e00cf4f7..c57aa22810 100644 --- a/src/text_iter.rs +++ b/src/text_iter.rs @@ -1,6 +1,6 @@ // Copyright 2013-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::translate::*; use gtk_sys; diff --git a/src/tree_model_filter.rs b/src/tree_model_filter.rs index 4453c694db..033c562d5d 100644 --- a/src/tree_model_filter.rs +++ b/src/tree_model_filter.rs @@ -1,6 +1,6 @@ // Copyright 2013-2015, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::object::{Cast, IsA}; use glib::translate::*; diff --git a/src/tree_path.rs b/src/tree_path.rs index 6715da3792..bfd8a67cca 100644 --- a/src/tree_path.rs +++ b/src/tree_path.rs @@ -1,6 +1,6 @@ // Copyright 2013-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::translate::*; use gtk_sys; diff --git a/src/tree_row_reference.rs b/src/tree_row_reference.rs index 4275e6ac35..c5fe0af320 100644 --- a/src/tree_row_reference.rs +++ b/src/tree_row_reference.rs @@ -1,6 +1,6 @@ // Copyright 2013-2017, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib; use glib::object::IsA; diff --git a/src/tree_sortable.rs b/src/tree_sortable.rs index c092cbc6ea..f0d2c3a4c7 100644 --- a/src/tree_sortable.rs +++ b/src/tree_sortable.rs @@ -1,6 +1,6 @@ // Copyright 2013-2015, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::object::IsA; use glib::translate::*; diff --git a/src/tree_store.rs b/src/tree_store.rs index 0e68e6200e..5a50841a38 100644 --- a/src/tree_store.rs +++ b/src/tree_store.rs @@ -1,6 +1,6 @@ // Copyright 2013-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use glib::object::{Cast, IsA}; use glib::translate::*; diff --git a/src/widget.rs b/src/widget.rs index 6bb2cd19eb..daa7a8cb3e 100644 --- a/src/widget.rs +++ b/src/widget.rs @@ -1,6 +1,6 @@ // Copyright 2015-2016, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use gdk; use gdk::{DragAction, Event, ModifierType}; diff --git a/src/window.rs b/src/window.rs index 55fae83093..c9a019134b 100644 --- a/src/window.rs +++ b/src/window.rs @@ -1,6 +1,6 @@ // 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 +// Licensed under the MIT license, see the LICENSE file or use glib::object::IsA; use glib::translate::*; diff --git a/src/xlib.rs b/src/xlib.rs index df2636def3..af45538aa3 100644 --- a/src/xlib.rs +++ b/src/xlib.rs @@ -1,6 +1,6 @@ // Copyright 2013-2017, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use gtk_sys; diff --git a/tests/check_gir.rs b/tests/check_gir.rs index fe25fe27a6..a6c23b3d4b 100644 --- a/tests/check_gir.rs +++ b/tests/check_gir.rs @@ -1,6 +1,6 @@ // Copyright 2013-2018, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or extern crate gir_format_check; From ae06f81ef54fd51e6cd17025d1c4891465960c02 Mon Sep 17 00:00:00 2001 From: Stefan Schindler Date: Fri, 16 Oct 2020 15:59:14 +0200 Subject: [PATCH 2/2] https for everybody --- src/subclass/list_box.rs | 2 +- src/subclass/list_box_row.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/subclass/list_box.rs b/src/subclass/list_box.rs index fd464b33c4..2b1bef480b 100644 --- a/src/subclass/list_box.rs +++ b/src/subclass/list_box.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use gtk_sys; use glib::subclass::prelude::*; diff --git a/src/subclass/list_box_row.rs b/src/subclass/list_box_row.rs index 3e0f4fe11a..7ff28c5ab4 100644 --- a/src/subclass/list_box_row.rs +++ b/src/subclass/list_box_row.rs @@ -1,6 +1,6 @@ // Copyright 2020, The Gtk-rs Project Developers. // See the COPYRIGHT file at the top-level directory of this distribution. -// Licensed under the MIT license, see the LICENSE file or +// Licensed under the MIT license, see the LICENSE file or use BinClass; use ListBoxRow;