[rygel] core: Declare signals on the top in one place
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] core: Declare signals on the top in one place
- Date: Tue, 15 Sep 2009 13:52:52 +0000 (UTC)
commit cf9e712e2bdc7771f6af6235b4f67e78f64f3077
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Sep 15 15:02:43 2009 +0300
core: Declare signals on the top in one place
src/rygel/rygel-media-db.vala | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/rygel/rygel-media-db.vala b/src/rygel/rygel-media-db.vala
index 4309753..a3c813a 100644
--- a/src/rygel/rygel-media-db.vala
+++ b/src/rygel/rygel-media-db.vala
@@ -344,6 +344,8 @@ public class Rygel.MediaDB : Object {
}
public signal void item_deleted (string item_id);
+ public signal void item_added (string item_id);
+ public signal void item_updated (string item_id);
public void delete_by_id (string id) throws MediaDBError {
Statement statement;
@@ -374,8 +376,6 @@ public class Rygel.MediaDB : Object {
this.delete_by_id (obj.id);
}
- public signal void item_added (string item_id);
-
public void save_object (MediaObject obj) throws Error {
if (obj is MediaItem) {
save_item ((MediaItem)obj);
@@ -415,7 +415,6 @@ public class Rygel.MediaDB : Object {
}
}
- public signal void item_updated (string item_id);
public void update_object (MediaObject obj) {
var rc = db.exec ("BEGIN");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]