~ubuntu-branches/ubuntu/trusty/rygel/trusty

« back to all changes in this revision

Viewing changes to src/rygel/rygel-browse.vala

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2011-12-16 15:21:25 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20111216152125-qgn31dkfmhouhrf0
Upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
                                        (MediaObject media_object)
91
91
                                         throws Error {
92
92
        if (!(media_object is MediaContainer)) {
93
 
            throw new ContentDirectoryError.NO_SUCH_OBJECT
94
 
                                        (_("No such object"));
 
93
            throw new ContentDirectoryError.INVALID_ARGS
 
94
                                        (_("Cannot browse children on item"));
95
95
        }
96
96
 
97
97
        var container = (MediaContainer) media_object;