[rygel] librygel-server: RygelTrackableContainer: Make methods protected.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] librygel-server: RygelTrackableContainer: Make methods protected.
- Date: Thu, 17 Jan 2013 11:55:16 +0000 (UTC)
commit 46163c67cf8c81336cddbcd058f4dd9f2a51b07c
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Jan 17 12:53:52 2013 +0100
librygel-server: RygelTrackableContainer: Make methods protected.
Make add_child() and remove_child() protected instead of public,
because even the overrides are only meant to be called from this
class. This still generates public caller functions, unfortunately.
src/librygel-server/rygel-trackable-container.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/librygel-server/rygel-trackable-container.vala b/src/librygel-server/rygel-trackable-container.vala
index c4a5b64..f6307d4 100644
--- a/src/librygel-server/rygel-trackable-container.vala
+++ b/src/librygel-server/rygel-trackable-container.vala
@@ -50,7 +50,7 @@ public interface Rygel.TrackableContainer : Rygel.MediaContainer {
* of the child item or child container.
* See the remove_child() virtual function.
*/
- public abstract async void add_child (MediaObject object);
+ protected abstract async void add_child (MediaObject object);
/**
* Add a child object, emitting the #RygelContainer::container_updated signal
@@ -77,7 +77,7 @@ public interface Rygel.TrackableContainer : Rygel.MediaContainer {
* child item or child container from its set of objects.
* See the add_child() virtual function.
*/
- public abstract async void remove_child (MediaObject object);
+ protected abstract async void remove_child (MediaObject object);
/**
* Add a child object, emitting the #RygelContainer::container_updated signal
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]