Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Commit 26924e8

Browse files
committed
Use https for all links
Hi all This is a followup to gtk-rs/gtk#1054 Cheers, Stefan
1 parent b0bcaeb commit 26924e8

17 files changed

+80
-80
lines changed

COPYRIGHT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Zach Oakes <[email protected]>
6060
Zach Ploskey <[email protected]>
6161

6262
The Gtk-rs Project is licensed under the MIT license, see the LICENSE file
63-
or <http://opensource.org/licenses/MIT>.
63+
or <https://opensource.org/licenses/MIT>.
6464

6565
This project provides interoperability with various GNOME libraries but doesn't
6666
distribute any parts of them. Distributing compiled libraries and executables

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "pango"
3-
documentation = "http://gtk-rs.org/docs/pango/"
4-
homepage = "http://gtk-rs.org/"
3+
documentation = "https://gtk-rs.org/docs/pango/"
4+
homepage = "https://gtk-rs.org/"
55
authors = ["The Gtk-rs Project Developers"]
66
keywords = ["pango", "gtk-rs", "gnome"]
77
readme = "README.md"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
Pango bindings for Rust.
44

5-
- [Gtk-rs project site](http://gtk-rs.org/)
5+
- [Gtk-rs project site](https://gtk-rs.org/)
66

7-
- [Online documentation](http://gtk-rs.org/docs/)
7+
- [Online documentation](https://gtk-rs.org/docs-src/)
88

99
- [Readme](https://github.com/gtk-rs/gtk/blob/master/README.md) in our
1010
[main repo](https://github.com/gtk-rs/gtk)

src/analysis.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2018, The Gtk-rs Project Developers.
22
// 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>
3+
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
44

55
use glib::translate::*;
66
use pango_sys;

src/attr_class.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2017, The Gtk-rs Project Developers.
22
// 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>
3+
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
44

55
use glib::translate::{FromGlibPtrFull, FromGlibPtrNone, Stash, ToGlibPtr};
66
use pango_sys;

src/attr_iterator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2018, The Gtk-rs Project Developers.
22
// 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>
3+
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
44

55
use glib::translate::*;
66
use glib_sys;

src/attr_list.rs

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
1-
// Copyright 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 <http://opensource.org/licenses/MIT>
4-
5-
use glib::translate::*;
6-
use pango_sys;
7-
use std::mem;
8-
use AttrList;
9-
use Attribute;
10-
11-
impl AttrList {
12-
pub fn change(&self, attr: Attribute) {
13-
unsafe {
14-
pango_sys::pango_attr_list_change(
15-
self.to_glib_none().0,
16-
attr.to_glib_none().0 as *mut _,
17-
);
18-
mem::forget(attr); //As attr transferred fully
19-
}
20-
}
21-
22-
#[cfg(any(feature = "v1_46", feature = "dox"))]
23-
fn equal(&self, other_list: &AttrList) -> bool {
24-
unsafe {
25-
from_glib(pango_sys::pango_attr_list_equal(
26-
self.to_glib_none().0,
27-
other_list.to_glib_none().0,
28-
))
29-
}
30-
}
31-
32-
pub fn insert(&self, attr: Attribute) {
33-
unsafe {
34-
pango_sys::pango_attr_list_insert(
35-
self.to_glib_none().0,
36-
attr.to_glib_none().0 as *mut _,
37-
);
38-
mem::forget(attr); //As attr transferred fully
39-
}
40-
}
41-
42-
pub fn insert_before(&self, attr: Attribute) {
43-
unsafe {
44-
pango_sys::pango_attr_list_insert_before(
45-
self.to_glib_none().0,
46-
attr.to_glib_none().0 as *mut _,
47-
);
48-
mem::forget(attr); //As attr transferred fully
49-
}
50-
}
51-
}
52-
53-
#[cfg(any(feature = "v1_46", feature = "dox"))]
54-
impl PartialEq for AttrList {
55-
#[inline]
56-
fn eq(&self, other: &Self) -> bool {
57-
self.equal(other)
58-
}
59-
}
60-
61-
#[cfg(any(feature = "v1_46", feature = "dox"))]
62-
impl Eq for AttrList {}
1+
// Copyright 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>
4+
5+
use glib::translate::*;
6+
use pango_sys;
7+
use std::mem;
8+
use AttrList;
9+
use Attribute;
10+
11+
impl AttrList {
12+
pub fn change(&self, attr: Attribute) {
13+
unsafe {
14+
pango_sys::pango_attr_list_change(
15+
self.to_glib_none().0,
16+
attr.to_glib_none().0 as *mut _,
17+
);
18+
mem::forget(attr); //As attr transferred fully
19+
}
20+
}
21+
22+
#[cfg(any(feature = "v1_46", feature = "dox"))]
23+
fn equal(&self, other_list: &AttrList) -> bool {
24+
unsafe {
25+
from_glib(pango_sys::pango_attr_list_equal(
26+
self.to_glib_none().0,
27+
other_list.to_glib_none().0,
28+
))
29+
}
30+
}
31+
32+
pub fn insert(&self, attr: Attribute) {
33+
unsafe {
34+
pango_sys::pango_attr_list_insert(
35+
self.to_glib_none().0,
36+
attr.to_glib_none().0 as *mut _,
37+
);
38+
mem::forget(attr); //As attr transferred fully
39+
}
40+
}
41+
42+
pub fn insert_before(&self, attr: Attribute) {
43+
unsafe {
44+
pango_sys::pango_attr_list_insert_before(
45+
self.to_glib_none().0,
46+
attr.to_glib_none().0 as *mut _,
47+
);
48+
mem::forget(attr); //As attr transferred fully
49+
}
50+
}
51+
}
52+
53+
#[cfg(any(feature = "v1_46", feature = "dox"))]
54+
impl PartialEq for AttrList {
55+
#[inline]
56+
fn eq(&self, other: &Self) -> bool {
57+
self.equal(other)
58+
}
59+
}
60+
61+
#[cfg(any(feature = "v1_46", feature = "dox"))]
62+
impl Eq for AttrList {}

src/attribute.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2017, The Gtk-rs Project Developers.
22
// 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>
3+
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
44

55
use glib::translate::*;
66
use pango_sys;

src/coverage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2020, The Gtk-rs Project Developers.
22
// 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>
3+
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
44

55
use glib::translate::*;
66
use pango_sys;

src/functions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2018, The Gtk-rs Project Developers.
22
// 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>
3+
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
44

55
use glib::translate::*;
66
use glib_sys;

src/gravity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2019, The Gtk-rs Project Developers.
22
// 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>
3+
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
44

55
use glib::translate::*;
66
use pango_sys;

src/item.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2018, The Gtk-rs Project Developers.
22
// 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>
3+
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
44

55
use glib::translate::ToGlibPtr;
66

src/language.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2018, The Gtk-rs Project Developers.
22
// 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>
3+
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
44

55
use glib::translate::*;
66
use glib::GString;

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2018, The Gtk-rs Project Developers.
22
// 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>
3+
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
44

55
#![allow(deprecated)]
66

src/prelude.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2015-2016, The Gtk-rs Project Developers.
22
// 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>
3+
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
44

55
//! Traits and essential types inteded for blanket imports.
66

src/rectangle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2015, The Gtk-rs Project Developers.
22
// 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>
3+
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
44

55
use glib::translate::*;
66
use pango_sys;

tests/check_gir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2013-2018, The Gtk-rs Project Developers.
22
// 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>
3+
// Licensed under the MIT license, see the LICENSE file or <https://opensource.org/licenses/MIT>
44

55
extern crate gir_format_check;
66

0 commit comments

Comments
 (0)