[rygel] media-export: Fix critical warnings
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] media-export: Fix critical warnings
- Date: Tue, 15 Sep 2009 15:00:33 +0000 (UTC)
commit 5d86605c50a8ebb19c7b7a53f9f505052e484632
Author: Jens Georg <mail jensge org>
Date: Sat Sep 12 01:08:06 2009 +0200
media-export: Fix critical warnings
.../media-export/rygel-media-export-harvester.vala | 2 +-
.../rygel-media-export-root-container.vala | 2 +-
src/ui/Makefile.am | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-harvester.vala b/src/plugins/media-export/rygel-media-export-harvester.vala
index 20c533d..c931303 100644
--- a/src/plugins/media-export/rygel-media-export-harvester.vala
+++ b/src/plugins/media-export/rygel-media-export-harvester.vala
@@ -95,8 +95,8 @@ public class Rygel.MediaExportHarvester : GLib.Object {
if (this.files.get_length() == 0 &&
this.containers.get_length () != 0) {
+ this.containers.peek_head ().updated ();
this.containers.pop_head ();
- this.containers.peek_head ().updated ();
}
} catch (MediaDBError err) {
warning("Failed to get children of container %s: %s",
diff --git a/src/plugins/media-export/rygel-media-export-root-container.vala b/src/plugins/media-export/rygel-media-export-root-container.vala
index dd41f4b..97dd721 100644
--- a/src/plugins/media-export/rygel-media-export-root-container.vala
+++ b/src/plugins/media-export/rygel-media-export-root-container.vala
@@ -182,7 +182,7 @@ public class Rygel.MediaExportRootContainer : Rygel.MediaDBContainer {
if (obj != null) {
this.media_db.delete_object (obj);
if (obj.parent != null) {
- parent.updated ();
+ obj.parent.updated ();
}
}
break;
diff --git a/src/ui/Makefile.am b/src/ui/Makefile.am
index 9d62e0e..cb259d4 100644
--- a/src/ui/Makefile.am
+++ b/src/ui/Makefile.am
@@ -36,14 +36,14 @@ rygel_preferences_VALAFLAGS = \
--pkg gio-2.0 --pkg gee-1.0 --pkg gtk+-2.0
rygel_preferences_LDADD = $(LIBGUPNP_LIBS) \
- $(LIBGUPNP_AV_LIBS) \
+ $(LIBGUPNP_AV_LIBS) \
$(LIBGSTREAMER_LIBS) \
$(GIO_LIBS) \
$(GEE_LIBS) \
$(UUID_LIBS) \
$(LIBSOUP_LIBS) \
$(GTK_LIBS) \
- $(LIBDBUS_GLIB_LIBS) \
+ $(LIBDBUS_GLIB_LIBS) \
-L$(abs_top_builddir)/src/rygel \
-lrygel-configuration
rygel_preferences_LDFLAGS = -export-dynamic
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]