Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/src/sinesrc/imp.rs')
-rw-r--r--tutorial/src/sinesrc/imp.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tutorial/src/sinesrc/imp.rs b/tutorial/src/sinesrc/imp.rs
index c98e50ae0..3a6f79d78 100644
--- a/tutorial/src/sinesrc/imp.rs
+++ b/tutorial/src/sinesrc/imp.rs
@@ -10,6 +10,7 @@ use glib::subclass;
use glib::subclass::prelude::*;
use gst::prelude::*;
use gst::subclass::prelude::*;
+use gst::{gst_debug, gst_element_error, gst_error, gst_info, gst_log, gst_loggable_error};
use gst_base::prelude::*;
use gst_base::subclass::prelude::*;
@@ -206,7 +207,7 @@ impl ObjectSubclass for SineSrc {
type Class = subclass::simple::ClassStruct<Self>;
// This macro provides some boilerplate.
- glib_object_subclass!();
+ glib::glib_object_subclass!();
// Called when a new instance is to be created. We need to return an instance
// of our struct here.