~ubuntu-desktop/unity-lens-files/ubuntu

« back to all changes in this revision

Viewing changes to src/folder.c

  • Committer: Didier Roche
  • Date: 2012-02-03 09:26:47 UTC
  • mfrom: (14.2.196 unity-lens-files)
  • mto: This revision was merged to the branch mainline in revision 154.
  • Revision ID: didier.roche@canonical.com-20120203092647-roofheotc4p5qhmf
Tags: upstream-5.2.0
ImportĀ upstreamĀ versionĀ 5.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* folder.c generated by valac 0.15.0, the Vala compiler
 
1
/* folder.c generated by valac 0.14.1, the Vala compiler
2
2
 * generated from folder.vala, do not modify */
3
3
 
4
4
/*
103
103
UnityFilesLensBookmarks* unity_files_lens_bookmarks_new (void);
104
104
UnityFilesLensBookmarks* unity_files_lens_bookmarks_construct (GType object_type);
105
105
static void unity_files_lens_bookmarks_update (UnityFilesLensBookmarks* self);
106
 
static void ___lambda2_ (UnityFilesLensBookmarks* self, GFileMonitor* mon, GFile* file, GFile* other_file, GFileMonitorEvent event_type);
107
 
static void ____lambda2__g_file_monitor_changed (GFileMonitor* _sender, GFile* file, GFile* other_file, GFileMonitorEvent event_type, gpointer self);
 
106
static void ___lambda0_ (UnityFilesLensBookmarks* self, GFileMonitor* mon, GFile* file, GFile* other_file, GFileMonitorEvent event_type);
 
107
static void ____lambda0__g_file_monitor_changed (GFileMonitor* _sender, GFile* file, GFile* other_file, GFileMonitorEvent event_type, gpointer self);
108
108
UnityFilesLensBookmark* unity_files_lens_bookmark_new (const gchar* uri, const gchar* mimetype, const gchar* display_name);
109
109
UnityFilesLensBookmark* unity_files_lens_bookmark_construct (GType object_type, const gchar* uri, const gchar* mimetype, const gchar* display_name);
110
110
static GList* unity_files_lens_bookmarks_filter_bookmarks (UnityFilesLensBookmarks* self, GList* bm_list);
168
168
}
169
169
 
170
170
 
171
 
static void ___lambda2_ (UnityFilesLensBookmarks* self, GFileMonitor* mon, GFile* file, GFile* other_file, GFileMonitorEvent event_type) {
 
171
static void ___lambda0_ (UnityFilesLensBookmarks* self, GFileMonitor* mon, GFile* file, GFile* other_file, GFileMonitorEvent event_type) {
172
172
        g_return_if_fail (mon != NULL);
173
173
        g_return_if_fail (file != NULL);
174
174
        g_debug ("folder.vala:41: Bookmarks changed. Updating.");
177
177
}
178
178
 
179
179
 
180
 
static void ____lambda2__g_file_monitor_changed (GFileMonitor* _sender, GFile* file, GFile* other_file, GFileMonitorEvent event_type, gpointer self) {
181
 
        ___lambda2_ (self, _sender, file, other_file, event_type);
 
180
static void ____lambda0__g_file_monitor_changed (GFileMonitor* _sender, GFile* file, GFile* other_file, GFileMonitorEvent event_type, gpointer self) {
 
181
        ___lambda0_ (self, _sender, file, other_file, event_type);
182
182
}
183
183
 
184
184
 
213
213
                _g_object_unref0 (_tmp5_);
214
214
                _tmp8_ = _tmp7_;
215
215
                if (_inner_error_ != NULL) {
216
 
                        goto __catch6_g_error;
 
216
                        goto __catch5_g_error;
217
217
                }
218
218
                _tmp9_ = _g_object_ref0 (_tmp8_);
219
219
                _g_object_unref0 (self->priv->monitor);
221
221
                _tmp10_ = self->priv->monitor;
222
222
                g_file_monitor_set_rate_limit (_tmp10_, 2000);
223
223
                _tmp11_ = self->priv->monitor;
224
 
                g_signal_connect_object (_tmp11_, "changed", (GCallback) ____lambda2__g_file_monitor_changed, self, 0);
 
224
                g_signal_connect_object (_tmp11_, "changed", (GCallback) ____lambda0__g_file_monitor_changed, self, 0);
225
225
        }
226
 
        goto __finally6;
227
 
        __catch6_g_error:
 
226
        goto __finally5;
 
227
        __catch5_g_error:
228
228
        {
229
229
                GError* e = NULL;
230
230
                const gchar* _tmp12_;
239
239
"ring disabled: %s", _tmp12_, _tmp14_);
240
240
                _g_error_free0 (e);
241
241
        }
242
 
        __finally6:
 
242
        __finally5:
243
243
        if (_inner_error_ != NULL) {
244
244
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
245
245
                g_clear_error (&_inner_error_);
279
279
                contents = _tmp1_;
280
280
                if (_inner_error_ != NULL) {
281
281
                        if (_inner_error_->domain == G_FILE_ERROR) {
282
 
                                goto __catch7_g_file_error;
 
282
                                goto __catch6_g_file_error;
283
283
                        }
284
284
                        _g_free0 (contents);
285
285
                        g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
287
287
                        return;
288
288
                }
289
289
        }
290
 
        goto __finally7;
291
 
        __catch7_g_file_error:
 
290
        goto __finally6;
 
291
        __catch6_g_file_error:
292
292
        {
293
293
                GError* e = NULL;
294
294
                GError* _tmp2_;
302
302
                _g_free0 (contents);
303
303
                return;
304
304
        }
305
 
        __finally7:
 
305
        __finally6:
306
306
        if (_inner_error_ != NULL) {
307
307
                _g_free0 (contents);
308
308
                g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);