~timo-jyrinki/ubuntu/quantal/unity-lens-files/ubuntu.660

« back to all changes in this revision

Viewing changes to src/main.c

  • Committer: timo.jyrinki at canonical
  • Date: 2012-09-19 15:55:12 UTC
  • mfrom: (14.2.226 unity-lens-files)
  • mto: This revision was merged to the branch mainline in revision 182.
  • Revision ID: timo.jyrinki@canonical.com-20120919155512-0nb3rktt810d63ob
Tags: upstream-6.6.0
ImportĀ upstreamĀ versionĀ 6.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
gboolean unity_files_lens_dbus_name_has_owner (const gchar* name);
55
55
gint unity_files_lens_main (gchar** args, int args_length1);
56
56
#define CONFIG_PACKAGE "unity-lens-files"
57
 
#define CONFIG_LOCALEDIR "/usr/share/locale"
 
57
#define CONFIG_LOCALEDIR "/usr/local/share/locale"
58
58
UnityFilesLensDaemon* unity_files_lens_daemon_new (void);
59
59
UnityFilesLensDaemon* unity_files_lens_daemon_construct (GType object_type);
60
60
 
81
81
                bus = _tmp0_;
82
82
                if (_inner_error_ != NULL) {
83
83
                        if (_inner_error_->domain == G_IO_ERROR) {
84
 
                                goto __catch13_g_io_error;
 
84
                                goto __catch15_g_io_error;
85
85
                        }
86
86
                        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);
87
87
                        g_clear_error (&_inner_error_);
101
101
                if (_inner_error_ != NULL) {
102
102
                        _g_object_unref0 (bus);
103
103
                        if (_inner_error_->domain == G_IO_ERROR) {
104
 
                                goto __catch13_g_io_error;
 
104
                                goto __catch15_g_io_error;
105
105
                        }
106
 
                        goto __finally13;
 
106
                        goto __finally15;
107
107
                }
108
108
                _tmp9_ = _result_;
109
109
                g_variant_get (_tmp9_, "(b)", &has_owner, NULL);
112
112
                _g_object_unref0 (bus);
113
113
                return result;
114
114
        }
115
 
        goto __finally13;
116
 
        __catch13_g_io_error:
 
115
        goto __finally15;
 
116
        __catch15_g_io_error:
117
117
        {
118
118
                GError* e = NULL;
119
119
                const gchar* _tmp10_;
127
127
                g_warning ("main.vala:46: Unable to decide whether '%s' is running: %s", _tmp10_, _tmp12_);
128
128
                _g_error_free0 (e);
129
129
        }
130
 
        __finally13:
 
130
        __finally15:
131
131
        if (_inner_error_ != NULL) {
132
132
                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);
133
133
                g_clear_error (&_inner_error_);
173
173
                _tmp3_ = unity_files_lens_app;
174
174
                g_application_register (_tmp3_, NULL, &_inner_error_);
175
175
                if (_inner_error_ != NULL) {
176
 
                        goto __catch14_g_error;
 
176
                        goto __catch16_g_error;
177
177
                }
178
178
        }
179
 
        goto __finally14;
180
 
        __catch14_g_error:
 
179
        goto __finally16;
 
180
        __catch16_g_error:
181
181
        {
182
182
                GError* e = NULL;
183
183
                GError* _tmp4_;
191
191
                _g_error_free0 (e);
192
192
                return result;
193
193
        }
194
 
        __finally14:
 
194
        __finally16:
195
195
        if (_inner_error_ != NULL) {
196
196
                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);
197
197
                g_clear_error (&_inner_error_);