~ubuntu-branches/ubuntu/quantal/shotwell/quantal

« back to all changes in this revision

Viewing changes to src/camera/CameraTable.vala

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-02-21 13:52:58 UTC
  • mto: This revision was merged to the branch mainline in revision 47.
  • Revision ID: package-import@ubuntu.com-20120221135258-ao9jiib5qicomq7q
Tags: upstream-0.11.92
ImportĀ upstreamĀ versionĀ 0.11.92

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright 2009-2011 Yorba Foundation
 
1
/* Copyright 2009-2012 Yorba Foundation
2
2
 *
3
3
 * This software is licensed under the GNU Lesser General Public License
4
4
 * (version 2.1 or later).  See the COPYING file in this distribution. 
208
208
    
209
209
    private string? get_name_for_uuid(string uuid) {
210
210
        foreach (Volume volume in volume_monitor.get_volumes()) {
211
 
            if (volume.get_identifier(VOLUME_IDENTIFIER_KIND_UUID) == uuid) {
 
211
            if (volume.get_identifier(VolumeIdentifier.UUID) == uuid) {
212
212
                return volume.get_name();
213
213
            }
214
214
        }
217
217
    
218
218
    private GLib.Icon? get_icon_for_uuid(string uuid) {
219
219
        foreach (Volume volume in volume_monitor.get_volumes()) {
220
 
            if (volume.get_identifier(VOLUME_IDENTIFIER_KIND_UUID) == uuid) {
 
220
            if (volume.get_identifier(VolumeIdentifier.UUID) == uuid) {
221
221
                return volume.get_icon();
222
222
            }
223
223
        }