~ubuntu-branches/ubuntu/trusty/gthumb/trusty

« back to all changes in this revision

Viewing changes to extensions/comments/gth-metadata-provider-comment.c

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2013-08-31 06:24:51 UTC
  • mfrom: (1.3.17) (5.2.24 sid)
  • Revision ID: package-import@ubuntu.com-20130831062451-0958soi720z0byp6
Tags: 3:3.2.5-1
* New upstream release. Closes: #716729 LP: #1201073
* Set myself as maintainer. Closes: #711827
* debian/control:
  - Build-depend on yelp-tools, libgstreamer1.0-dev, libsecret-1-dev,
    libgstreamer-plugins-base1.0-dev, libwebp-dev
  - Bump standards-version to 3.9.4
  - Bump debhelper to 8
  - Make git URLs canonical
  - Drop depend on libiptcdata0-dev. Closes: #697087
  - Drop depend on gnome keyring since libsecret replaces it
* debian/compat: Set as 8
* debian/rules: 
  - Add --enable-libwebp for WebP support
  - Add --disable-silent-rules for verbose building
  - Enable hardening
* Create debian/source/options
* Refresh all patches so they apply cleanly

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
        char       *comment_time;
74
74
 
75
75
        comment = gth_comment_new_for_file (file_data->file, cancellable, NULL);
 
76
        g_file_info_set_attribute_boolean (file_data->info, "comment::no-comment-file", (comment == NULL));
 
77
 
76
78
        if (comment == NULL)
77
79
                return;
78
80
 
209
211
        comment_folder = g_file_get_parent (comment_file);
210
212
 
211
213
        g_file_make_directory (comment_folder, NULL, NULL);
212
 
        g_write_file (comment_file, FALSE, 0, data, length, cancellable, NULL);
 
214
        _g_file_write (comment_file, FALSE, 0, data, length, cancellable, NULL);
213
215
 
214
216
        g_object_unref (comment_folder);
215
217
        g_object_unref (comment_file);