aboutsummaryrefslogtreecommitdiff
path: root/src/fetch-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fetch-file.c')
-rw-r--r--src/fetch-file.c26
1 files changed, 8 insertions, 18 deletions
diff --git a/src/fetch-file.c b/src/fetch-file.c
index 47f0558..7fb8e14 100644
--- a/src/fetch-file.c
+++ b/src/fetch-file.c
@@ -1,4 +1,4 @@
-/* fetch-file.c generated by valac 0.11.6, the Vala compiler
+/* fetch-file.c generated by valac 0.11.7, the Vala compiler
* generated from fetch-file.vala, do not modify */
/*
@@ -73,7 +73,6 @@ struct _FetchFileFetchDataData {
GFileInputStream* _tmp1_;
GFileInputStream* _tmp2_;
GDataInputStream* _tmp3_;
- GDataInputStream* _tmp4_;
GError * e;
GError * _inner_error_;
};
@@ -193,9 +192,8 @@ static gboolean fetch_file_fetch_data_co (FetchFileFetchDataData* data) {
data->_tmp2_ = data->_tmp1_;
data->_tmp3_ = NULL;
data->_tmp3_ = g_data_input_stream_new ((GInputStream*) data->_tmp2_);
- data->_tmp4_ = data->_tmp3_;
_g_object_unref0 (data->self->priv->stream);
- data->self->priv->stream = data->_tmp4_;
+ data->self->priv->stream = data->_tmp3_;
_g_object_unref0 (data->_tmp2_);
g_data_input_stream_set_byte_order (data->self->priv->stream, G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN);
goto __finally14;
@@ -346,12 +344,10 @@ const gchar* fetch_file_get_uri (FetchFile* self) {
static void fetch_file_set_uri (FetchFile* self, const gchar* value) {
gchar* _tmp0_;
- gchar* _tmp1_;
g_return_if_fail (self != NULL);
_tmp0_ = g_strdup (value);
- _tmp1_ = _tmp0_;
_g_free0 (self->priv->_uri);
- self->priv->_uri = _tmp1_;
+ self->priv->_uri = _tmp0_;
g_object_notify ((GObject *) self, "uri");
}
@@ -366,12 +362,10 @@ const gchar* fetch_file_get_intended_property (FetchFile* self) {
static void fetch_file_set_intended_property (FetchFile* self, const gchar* value) {
gchar* _tmp0_;
- gchar* _tmp1_;
g_return_if_fail (self != NULL);
_tmp0_ = g_strdup (value);
- _tmp1_ = _tmp0_;
_g_free0 (self->priv->_intended_property);
- self->priv->_intended_property = _tmp1_;
+ self->priv->_intended_property = _tmp0_;
g_object_notify ((GObject *) self, "intended-property");
}
@@ -400,20 +394,16 @@ static GObject * fetch_file_constructor (GType type, guint n_construct_propertie
GObjectClass * parent_class;
FetchFile * self;
GFile* _tmp0_ = NULL;
- GFile* _tmp1_;
- GByteArray* _tmp2_ = NULL;
- GByteArray* _tmp3_;
+ GByteArray* _tmp1_ = NULL;
parent_class = G_OBJECT_CLASS (fetch_file_parent_class);
obj = parent_class->constructor (type, n_construct_properties, construct_properties);
self = FETCH_FILE (obj);
_tmp0_ = g_file_new_for_uri (self->priv->_uri);
- _tmp1_ = _tmp0_;
_g_object_unref0 (self->priv->file);
- self->priv->file = _tmp1_;
- _tmp2_ = g_byte_array_new ();
- _tmp3_ = _tmp2_;
+ self->priv->file = _tmp0_;
+ _tmp1_ = g_byte_array_new ();
_g_byte_array_free0 (self->priv->data);
- self->priv->data = _tmp3_;
+ self->priv->data = _tmp1_;
return obj;
}