[librsvg: 16/38] Handle::read_stream_sync(): Take a &self, not &mut self
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 16/38] Handle::read_stream_sync(): Take a &self, not &mut self
- Date: Fri, 25 Jan 2019 19:38:42 +0000 (UTC)
commit f0f866e6cfc1c10d6bd77a293dbbb827ed8aa7f0
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Jan 23 10:50:09 2019 -0600
Handle::read_stream_sync(): Take a &self, not &mut self
rsvg_internals/src/handle.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/handle.rs b/rsvg_internals/src/handle.rs
index 95f80ff7..efba43b7 100644
--- a/rsvg_internals/src/handle.rs
+++ b/rsvg_internals/src/handle.rs
@@ -209,7 +209,7 @@ impl Handle {
}
pub fn read_stream_sync(
- &mut self,
+ &self,
stream: &gio::InputStream,
cancellable: Option<&gio::Cancellable>,
) -> Result<(), LoadingError> {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]