~ubuntu-branches/ubuntu/trusty/libgsecuredelete/trusty

« back to all changes in this revision

Viewing changes to gsecuredelete/gsd-fill-operation.c

  • Committer: Package Import Robot
  • Author(s): intrigeri
  • Date: 2014-01-24 15:38:08 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20140124153808-vtw0ktpvae100sbw
Tags: 0.2.1-1
* Imported Upstream version 0.2.1
* Invoke dh_install with --fail-missing, and explicitly exclude .la files.
* Use dh-autoreconf to get new libtool macros for ppc64el.
  Thanks to Logan Rosen <logan@ubuntu.com> for the patch.
* Drop override for buggy Lintian warning that was fixed since then.
* Reformat debian/control with cme.
* Declare compliance with standards 3.9.5.
* Add OpenPGP signature checking support to debian/watch.
* Use canonical URL for Vcs-Git.
* Make libgsecuredelete-dev depend on a real package first,
  that is libc6-dev | libc-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* gsd-fill-operation.c generated by valac 0.16.0.1-eb36, the Vala compiler
 
1
/* gsd-fill-operation.c generated by valac 0.20.1, the Vala compiler
2
2
 * generated from gsd-fill-operation.vala, do not modify */
3
3
 
4
4
/* 
263
263
        _tmp0_ = self->priv->_directory;
264
264
        g_return_val_if_fail (_tmp0_ != NULL, NULL);
265
265
        args = NULL;
266
 
        _tmp1_ = GSD_ASYNC_OPERATION_CLASS (gsd_fill_operation_parent_class)->build_args ((GsdAsyncOperation*) GSD_ZEROABLE_OPERATION (self), &_inner_error_);
 
266
        _tmp1_ = GSD_ASYNC_OPERATION_CLASS (gsd_fill_operation_parent_class)->build_args ((GsdAsyncOperation*) G_TYPE_CHECK_INSTANCE_CAST (self, GSD_TYPE_ZEROABLE_OPERATION, GsdZeroableOperation), &_inner_error_);
267
267
        _tmp2_ = _tmp1_;
268
268
        if (_inner_error_ != NULL) {
269
269
                if (_inner_error_->domain == GSD_ASYNC_OPERATION_ERROR) {
316
316
                _tmp1_ = directory;
317
317
                gsd_fill_operation_set_directory (self, _tmp1_);
318
318
        }
319
 
        _tmp2_ = gsd_secure_delete_operation_run ((GsdSecureDeleteOperation*) GSD_ZEROABLE_OPERATION (self), &_inner_error_);
 
319
        _tmp2_ = gsd_secure_delete_operation_run ((GsdSecureDeleteOperation*) G_TYPE_CHECK_INSTANCE_CAST (self, GSD_TYPE_ZEROABLE_OPERATION, GsdZeroableOperation), &_inner_error_);
320
320
        _tmp3_ = _tmp2_;
321
321
        if (_inner_error_ != NULL) {
322
322
                if ((_inner_error_->domain == G_SPAWN_ERROR) || (_inner_error_->domain == GSD_ASYNC_OPERATION_ERROR)) {
354
354
                _tmp1_ = directory;
355
355
                gsd_fill_operation_set_directory (self, _tmp1_);
356
356
        }
357
 
        _tmp2_ = gsd_secure_delete_operation_run_sync ((GsdSecureDeleteOperation*) GSD_ZEROABLE_OPERATION (self), &_inner_error_);
 
357
        _tmp2_ = gsd_secure_delete_operation_run_sync ((GsdSecureDeleteOperation*) G_TYPE_CHECK_INSTANCE_CAST (self, GSD_TYPE_ZEROABLE_OPERATION, GsdZeroableOperation), &_inner_error_);
358
358
        _tmp3_ = _tmp2_;
359
359
        if (_inner_error_ != NULL) {
360
360
                if ((_inner_error_->domain == G_SPAWN_ERROR) || (_inner_error_->domain == GSD_ASYNC_OPERATION_ERROR)) {
430
430
        GsdFillOperation * self;
431
431
        parent_class = G_OBJECT_CLASS (gsd_fill_operation_parent_class);
432
432
        obj = parent_class->constructor (type, n_construct_properties, construct_properties);
433
 
        self = GSD_FILL_OPERATION (obj);
 
433
        self = G_TYPE_CHECK_INSTANCE_CAST (obj, GSD_TYPE_FILL_OPERATION, GsdFillOperation);
434
434
        gsd_async_operation_set_path ((GsdAsyncOperation*) self, SFILL_PATH);
435
435
        return obj;
436
436
}
470
470
 
471
471
static void gsd_fill_operation_finalize (GObject* obj) {
472
472
        GsdFillOperation * self;
473
 
        self = GSD_FILL_OPERATION (obj);
 
473
        self = G_TYPE_CHECK_INSTANCE_CAST (obj, GSD_TYPE_FILL_OPERATION, GsdFillOperation);
474
474
        _g_free0 (self->priv->_directory);
475
475
        G_OBJECT_CLASS (gsd_fill_operation_parent_class)->finalize (obj);
476
476
}
493
493
 
494
494
static void _vala_gsd_fill_operation_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
495
495
        GsdFillOperation * self;
496
 
        self = GSD_FILL_OPERATION (object);
 
496
        self = G_TYPE_CHECK_INSTANCE_CAST (object, GSD_TYPE_FILL_OPERATION, GsdFillOperation);
497
497
        switch (property_id) {
498
498
                case GSD_FILL_OPERATION_WIPE_MODE:
499
499
                g_value_set_enum (value, gsd_fill_operation_get_wipe_mode (self));
510
510
 
511
511
static void _vala_gsd_fill_operation_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
512
512
        GsdFillOperation * self;
513
 
        self = GSD_FILL_OPERATION (object);
 
513
        self = G_TYPE_CHECK_INSTANCE_CAST (object, GSD_TYPE_FILL_OPERATION, GsdFillOperation);
514
514
        switch (property_id) {
515
515
                case GSD_FILL_OPERATION_WIPE_MODE:
516
516
                gsd_fill_operation_set_wipe_mode (self, g_value_get_enum (value));