diff options
author | François Laignel <fengalin@free.fr> | 2021-06-03 21:20:54 +0300 |
---|---|---|
committer | François Laignel <fengalin@free.fr> | 2021-06-03 21:53:16 +0300 |
commit | 8dfc872544b26aa5eaf4b12da7d9c5e0361467ca (patch) | |
tree | e314ee0cfde5930ac50a5bfd985b34d1129362b0 /tutorial/src | |
parent | 91c8fd146dd477ce744bec944395672719a13ebe (diff) |
use gst::glib where applicable
Diffstat (limited to 'tutorial/src')
-rw-r--r-- | tutorial/src/identity/imp.rs | 2 | ||||
-rw-r--r-- | tutorial/src/identity/mod.rs | 3 | ||||
-rw-r--r-- | tutorial/src/lib.rs | 2 | ||||
-rw-r--r-- | tutorial/src/progressbin/imp.rs | 3 | ||||
-rw-r--r-- | tutorial/src/progressbin/mod.rs | 3 | ||||
-rw-r--r-- | tutorial/src/rgb2gray/imp.rs | 2 | ||||
-rw-r--r-- | tutorial/src/rgb2gray/mod.rs | 3 | ||||
-rw-r--r-- | tutorial/src/sinesrc/imp.rs | 2 | ||||
-rw-r--r-- | tutorial/src/sinesrc/mod.rs | 3 |
9 files changed, 14 insertions, 9 deletions
diff --git a/tutorial/src/identity/imp.rs b/tutorial/src/identity/imp.rs index 6b56e1b53..6f12f6782 100644 --- a/tutorial/src/identity/imp.rs +++ b/tutorial/src/identity/imp.rs @@ -6,7 +6,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use glib::subclass::prelude::*; +use gst::glib; use gst::prelude::*; use gst::subclass::prelude::*; use gst::{gst_log, gst_trace}; diff --git a/tutorial/src/identity/mod.rs b/tutorial/src/identity/mod.rs index d7d45183a..15d18158b 100644 --- a/tutorial/src/identity/mod.rs +++ b/tutorial/src/identity/mod.rs @@ -6,7 +6,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use glib::prelude::*; +use gst::glib; +use gst::prelude::*; mod imp; diff --git a/tutorial/src/lib.rs b/tutorial/src/lib.rs index f1ce2dd28..bb3ff865e 100644 --- a/tutorial/src/lib.rs +++ b/tutorial/src/lib.rs @@ -6,6 +6,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +use gst::glib; + mod identity; mod progressbin; mod rgb2gray; diff --git a/tutorial/src/progressbin/imp.rs b/tutorial/src/progressbin/imp.rs index 94a3909fd..47bab498d 100644 --- a/tutorial/src/progressbin/imp.rs +++ b/tutorial/src/progressbin/imp.rs @@ -6,8 +6,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use glib::prelude::*; -use glib::subclass::prelude::*; +use gst::glib; use gst::gst_info; use gst::prelude::*; use gst::subclass::prelude::*; diff --git a/tutorial/src/progressbin/mod.rs b/tutorial/src/progressbin/mod.rs index d4f940f76..0e38f75a9 100644 --- a/tutorial/src/progressbin/mod.rs +++ b/tutorial/src/progressbin/mod.rs @@ -6,7 +6,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use glib::prelude::*; +use gst::glib; +use gst::prelude::*; mod imp; diff --git a/tutorial/src/rgb2gray/imp.rs b/tutorial/src/rgb2gray/imp.rs index ef76f866b..3f5e724dc 100644 --- a/tutorial/src/rgb2gray/imp.rs +++ b/tutorial/src/rgb2gray/imp.rs @@ -6,7 +6,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use glib::subclass::prelude::*; +use gst::glib; use gst::prelude::*; use gst::subclass::prelude::*; use gst::{gst_debug, gst_info}; diff --git a/tutorial/src/rgb2gray/mod.rs b/tutorial/src/rgb2gray/mod.rs index 988904d7d..28faa28d0 100644 --- a/tutorial/src/rgb2gray/mod.rs +++ b/tutorial/src/rgb2gray/mod.rs @@ -6,7 +6,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use glib::prelude::*; +use gst::glib; +use gst::prelude::*; mod imp; diff --git a/tutorial/src/sinesrc/imp.rs b/tutorial/src/sinesrc/imp.rs index 7195e550e..b3556a241 100644 --- a/tutorial/src/sinesrc/imp.rs +++ b/tutorial/src/sinesrc/imp.rs @@ -6,7 +6,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use glib::subclass::prelude::*; +use gst::glib; use gst::prelude::*; use gst::subclass::prelude::*; use gst::{gst_debug, gst_error, gst_info, gst_log}; diff --git a/tutorial/src/sinesrc/mod.rs b/tutorial/src/sinesrc/mod.rs index 8e3964997..7342f268c 100644 --- a/tutorial/src/sinesrc/mod.rs +++ b/tutorial/src/sinesrc/mod.rs @@ -6,7 +6,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use glib::prelude::*; +use gst::glib; +use gst::prelude::*; mod imp; |