[rygel] media-export: AsyncReadyCallback.source_object is nullable
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] media-export: AsyncReadyCallback.source_object is nullable
- Date: Sat, 19 Sep 2009 16:54:11 +0000 (UTC)
commit 8f1a78636b3830b4150204db1c821ce379f73848
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sat Sep 19 19:48:14 2009 +0300
media-export: AsyncReadyCallback.source_object is nullable
source_object param of AsyncReadyCallback is now nullable.
.../media-export/rygel-media-export-harvester.vala | 8 ++++----
.../rygel-media-export-recursive-file-monitor.vala | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-harvester.vala b/src/plugins/media-export/rygel-media-export-harvester.vala
index ceb51bb..cd82669 100644
--- a/src/plugins/media-export/rygel-media-export-harvester.vala
+++ b/src/plugins/media-export/rygel-media-export-harvester.vala
@@ -77,7 +77,7 @@ public class Rygel.MediaExportHarvester : GLib.Object {
this.monitor = monitor;
}
- private void on_close_async (Object obj, AsyncResult res) {
+ private void on_close_async (Object? obj, AsyncResult res) {
var enumerator = (FileEnumerator) obj;
try {
enumerator.close_finish (res);
@@ -129,7 +129,7 @@ public class Rygel.MediaExportHarvester : GLib.Object {
return false;
}
- private void on_next_files_ready (Object obj, AsyncResult res) {
+ private void on_next_files_ready (Object? obj, AsyncResult res) {
var enumerator = (FileEnumerator) obj;
try {
var list = enumerator.next_files_finish (res);
@@ -175,7 +175,7 @@ public class Rygel.MediaExportHarvester : GLib.Object {
}
}
- private void on_enumerate_ready (Object obj, AsyncResult res) {
+ private void on_enumerate_ready (Object? obj, AsyncResult res) {
var file = (File) obj;
try {
var enumerator = file.enumerate_children_finish (res);
@@ -210,7 +210,7 @@ public class Rygel.MediaExportHarvester : GLib.Object {
return false;
}
- private void on_initial_info_ready (Object source, AsyncResult result) {
+ private void on_initial_info_ready (Object? source, AsyncResult result) {
var file = (File) source;
try {
var info = file.query_info_finish (result);
diff --git a/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala b/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala
index 690aff4..3a356d8 100644
--- a/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala
+++ b/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala
@@ -60,7 +60,7 @@ public class Rygel.MediaExportRecursiveFileMonitor : Object {
}
}
- private void on_info_ready (Object source, AsyncResult res) {
+ private void on_info_ready (Object? source, AsyncResult res) {
var file = (File) source;
try {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]