Verified Commit 32ded0c2 authored by Todd Weaver's avatar Todd Weaver
Browse files

Adding async functions, removing print proof

parent dac32202
......@@ -87,7 +87,6 @@ class ResultsBox(Gtk.Box):
self.video_duration = f"{m:d}:{s:02d}"
def on_file_read(self, poster_file, async_res, user_data):
print('on_file_read works')
stream = poster_file.read_finish(async_res)
self.video_box_width, self.video_box_height,
......@@ -97,7 +96,6 @@ class ResultsBox(Gtk.Box):
None) # user_data
def on_stream_load(self, source, async_res, context):
print('stream_at_scale_async works')
pixbuf = GdkPixbuf.Pixbuf.new_from_stream_finish(async_res)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment