-/* moonshot-identity-request.c generated by valac 0.16.1, the Vala compiler
+/* moonshot-identity-request.c generated by valac 0.26.1, the Vala compiler
* generated from moonshot-identity-request.vala, do not modify */
+/*
+ * Copyright (c) 2011-2014, JANET(UK)
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * 3. Neither the name of JANET(UK) nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+*/
#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
+#include <gtk/gtk.h>
#define TYPE_IDENTITY_REQUEST (identity_request_get_type ())
typedef struct _IdentityManagerModel IdentityManagerModel;
typedef struct _IdentityManagerModelClass IdentityManagerModelClass;
+#define TYPE_IDENTITY_MANAGER_VIEW (identity_manager_view_get_type ())
+#define IDENTITY_MANAGER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_IDENTITY_MANAGER_VIEW, IdentityManagerView))
+#define IDENTITY_MANAGER_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_IDENTITY_MANAGER_VIEW, IdentityManagerViewClass))
+#define IS_IDENTITY_MANAGER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_IDENTITY_MANAGER_VIEW))
+#define IS_IDENTITY_MANAGER_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_IDENTITY_MANAGER_VIEW))
+#define IDENTITY_MANAGER_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_IDENTITY_MANAGER_VIEW, IdentityManagerViewClass))
+
+typedef struct _IdentityManagerView IdentityManagerView;
+typedef struct _IdentityManagerViewClass IdentityManagerViewClass;
+
typedef void (*ReturnIdentityCallback) (IdentityRequest* request, void* user_data);
struct _IdentityRequest {
GObject parent_instance;
IdentityManagerAppPrivate * priv;
IdentityManagerModel* model;
IdCard* default_id_card;
+ gboolean explicitly_launched;
+ IdentityManagerView* view;
};
struct _IdentityManagerAppClass {
gchar** id_card_get_services (IdCard* self, int* result_length1);
void id_card_set_services (IdCard* self, gchar** value, int value_length1);
GType identity_manager_model_get_type (void) G_GNUC_CONST;
-void identity_manager_model_update_card (IdentityManagerModel* self, IdCard* card);
+GType identity_manager_view_get_type (void) G_GNUC_CONST;
+IdCard* identity_manager_model_update_card (IdentityManagerModel* self, IdCard* card);
static void identity_request_finalize (GObject* obj);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _g_object_unref0_ (gpointer var) {
-#line 12 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
-#line 133 "moonshot-identity-request.c"
+#line 178 "moonshot-identity-request.c"
}
static void _g_slist_free__g_object_unref0_ (GSList* self) {
-#line 12 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
g_slist_foreach (self, (GFunc) _g_object_unref0_, NULL);
-#line 12 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
g_slist_free (self);
-#line 142 "moonshot-identity-request.c"
+#line 187 "moonshot-identity-request.c"
}
static gpointer _identity_manager_app_ref0 (gpointer self) {
-#line 21 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 52 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
return self ? identity_manager_app_ref (self) : NULL;
-#line 149 "moonshot-identity-request.c"
+#line 194 "moonshot-identity-request.c"
}
IdentityRequest* identity_request_construct (GType object_type, IdentityManagerApp* app, const gchar* nai, const gchar* password, const gchar* service) {
IdentityRequest * self = NULL;
- IdentityManagerApp* _tmp0_;
- IdentityManagerApp* _tmp1_;
- const gchar* _tmp2_;
- gchar* _tmp3_;
- const gchar* _tmp4_;
- gchar* _tmp5_;
- const gchar* _tmp6_;
- gchar* _tmp7_;
-#line 16 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+ IdentityManagerApp* _tmp0_ = NULL;
+ IdentityManagerApp* _tmp1_ = NULL;
+ const gchar* _tmp2_ = NULL;
+ gchar* _tmp3_ = NULL;
+ const gchar* _tmp4_ = NULL;
+ gchar* _tmp5_ = NULL;
+ const gchar* _tmp6_ = NULL;
+ gchar* _tmp7_ = NULL;
+#line 47 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
g_return_val_if_fail (app != NULL, NULL);
-#line 16 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 47 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
g_return_val_if_fail (nai != NULL, NULL);
-#line 16 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 47 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
g_return_val_if_fail (password != NULL, NULL);
-#line 16 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 47 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
g_return_val_if_fail (service != NULL, NULL);
-#line 16 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 47 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self = (IdentityRequest*) g_object_new (object_type, NULL);
-#line 21 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 52 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp0_ = app;
-#line 21 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 52 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp1_ = _identity_manager_app_ref0 (_tmp0_);
-#line 21 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 52 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_identity_manager_app_unref0 (self->priv->parent_app);
-#line 21 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 52 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->priv->parent_app = _tmp1_;
-#line 22 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 53 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp2_ = nai;
-#line 22 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 53 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp3_ = g_strdup (_tmp2_);
-#line 22 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 53 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_g_free0 (self->nai);
-#line 22 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 53 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->nai = _tmp3_;
-#line 23 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 54 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp4_ = password;
-#line 23 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 54 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp5_ = g_strdup (_tmp4_);
-#line 23 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 54 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_g_free0 (self->password);
-#line 23 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 54 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->password = _tmp5_;
-#line 24 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 55 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp6_ = service;
-#line 24 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 55 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp7_ = g_strdup (_tmp6_);
-#line 24 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 55 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_g_free0 (self->service);
-#line 24 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 55 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->service = _tmp7_;
-#line 16 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 47 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
return self;
-#line 207 "moonshot-identity-request.c"
+#line 252 "moonshot-identity-request.c"
}
IdentityRequest* identity_request_new (IdentityManagerApp* app, const gchar* nai, const gchar* password, const gchar* service) {
-#line 16 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 47 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
return identity_request_construct (TYPE_IDENTITY_REQUEST, app, nai, password, service);
-#line 214 "moonshot-identity-request.c"
+#line 259 "moonshot-identity-request.c"
}
IdentityRequest* identity_request_construct_default (GType object_type, IdentityManagerApp* app) {
IdentityRequest * self = NULL;
- IdentityManagerApp* _tmp0_;
- IdentityManagerApp* _tmp1_;
-#line 27 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+ IdentityManagerApp* _tmp0_ = NULL;
+ IdentityManagerApp* _tmp1_ = NULL;
+#line 58 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
g_return_val_if_fail (app != NULL, NULL);
-#line 27 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 58 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self = (IdentityRequest*) g_object_new (object_type, NULL);
-#line 29 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 60 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp0_ = app;
-#line 29 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 60 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp1_ = _identity_manager_app_ref0 (_tmp0_);
-#line 29 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 60 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_identity_manager_app_unref0 (self->priv->parent_app);
-#line 29 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 60 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->priv->parent_app = _tmp1_;
-#line 30 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 61 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->select_default = TRUE;
-#line 27 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 58 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
return self;
-#line 238 "moonshot-identity-request.c"
+#line 283 "moonshot-identity-request.c"
}
IdentityRequest* identity_request_new_default (IdentityManagerApp* app) {
-#line 27 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 58 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
return identity_request_construct_default (TYPE_IDENTITY_REQUEST, app);
-#line 245 "moonshot-identity-request.c"
+#line 290 "moonshot-identity-request.c"
}
void identity_request_set_callback (IdentityRequest* self, ReturnIdentityCallback cb, void* cb_target, GDestroyNotify cb_target_destroy_notify) {
- ReturnIdentityCallback _tmp0_;
- void* _tmp0__target;
- GDestroyNotify _tmp0__target_destroy_notify;
-#line 33 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+ ReturnIdentityCallback _tmp0_ = NULL;
+ void* _tmp0__target = NULL;
+ GDestroyNotify _tmp0__target_destroy_notify = NULL;
+#line 64 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
g_return_if_fail (self != NULL);
-#line 36 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 67 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp0_ = cb;
-#line 36 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 67 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp0__target = cb_target;
-#line 36 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 67 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp0__target_destroy_notify = cb_target_destroy_notify;
-#line 36 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 67 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
cb_target_destroy_notify = NULL;
-#line 36 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 67 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
(self->priv->callback_target_destroy_notify == NULL) ? NULL : (self->priv->callback_target_destroy_notify (self->priv->callback_target), NULL);
-#line 36 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 67 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->priv->callback = NULL;
-#line 36 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 67 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->priv->callback_target = NULL;
-#line 36 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 67 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->priv->callback_target_destroy_notify = NULL;
-#line 36 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 67 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->priv->callback = _tmp0_;
-#line 36 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 67 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->priv->callback_target = _tmp0__target;
-#line 36 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 67 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->priv->callback_target_destroy_notify = _tmp0__target_destroy_notify;
-#line 33 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 64 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
(cb_target_destroy_notify == NULL) ? NULL : (cb_target_destroy_notify (cb_target), NULL);
-#line 33 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 64 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
cb = NULL;
-#line 33 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 64 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
cb_target = NULL;
-#line 33 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 64 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
cb_target_destroy_notify = NULL;
-#line 285 "moonshot-identity-request.c"
+#line 330 "moonshot-identity-request.c"
}
gboolean identity_request_execute (IdentityRequest* self) {
gboolean result = FALSE;
- IdentityManagerApp* _tmp0_;
-#line 42 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+ IdentityManagerApp* _tmp0_ = NULL;
+#line 73 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
g_return_val_if_fail (self != NULL, FALSE);
-#line 43 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 74 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp0_ = self->priv->parent_app;
-#line 43 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 74 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
identity_manager_app_select_identity (_tmp0_, self);
-#line 48 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 79 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
result = FALSE;
-#line 48 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 79 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
return result;
-#line 302 "moonshot-identity-request.c"
+#line 347 "moonshot-identity-request.c"
}
static gpointer _g_object_ref0 (gpointer self) {
-#line 52 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 83 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
return self ? g_object_ref (self) : NULL;
-#line 309 "moonshot-identity-request.c"
+#line 354 "moonshot-identity-request.c"
}
void identity_request_return_identity (IdentityRequest* self, IdCard* id_card) {
- IdCard* _tmp0_;
- IdCard* _tmp1_;
+ IdCard* _tmp0_ = NULL;
+ IdCard* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
- IdCard* _tmp4_;
- gboolean _tmp6_;
- gboolean _tmp8_;
- ReturnIdentityCallback _tmp48_;
- void* _tmp48__target;
- ReturnIdentityCallback _tmp49_;
- void* _tmp49__target;
-#line 51 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+ IdCard* _tmp4_ = NULL;
+ ReturnIdentityCallback _tmp46_ = NULL;
+ void* _tmp46__target = NULL;
+ ReturnIdentityCallback _tmp47_ = NULL;
+ void* _tmp47__target = NULL;
+#line 82 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
g_return_if_fail (self != NULL);
-#line 52 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 83 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp0_ = id_card;
-#line 52 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 83 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 52 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 83 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_g_object_unref0 (self->id_card);
-#line 52 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 83 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->id_card = _tmp1_;
-#line 53 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 84 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->complete = TRUE;
-#line 56 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp4_ = id_card;
-#line 56 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
if (_tmp4_ != NULL) {
-#line 341 "moonshot-identity-request.c"
- const gchar* _tmp5_;
-#line 56 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 384 "moonshot-identity-request.c"
+ const gchar* _tmp5_ = NULL;
+#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp5_ = self->service;
-#line 56 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp3_ = _tmp5_ != NULL;
-#line 347 "moonshot-identity-request.c"
+#line 390 "moonshot-identity-request.c"
} else {
-#line 56 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp3_ = FALSE;
-#line 351 "moonshot-identity-request.c"
+#line 394 "moonshot-identity-request.c"
}
-#line 56 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp6_ = _tmp3_;
-#line 56 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- if (_tmp6_) {
-#line 357 "moonshot-identity-request.c"
- const gchar* _tmp7_;
-#line 56 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp7_ = self->service;
-#line 56 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp2_ = g_strcmp0 (_tmp7_, "") != 0;
-#line 363 "moonshot-identity-request.c"
+#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ if (_tmp3_) {
+#line 398 "moonshot-identity-request.c"
+ const gchar* _tmp6_ = NULL;
+#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp6_ = self->service;
+#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp2_ = g_strcmp0 (_tmp6_, "") != 0;
+#line 404 "moonshot-identity-request.c"
} else {
-#line 56 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_tmp2_ = FALSE;
-#line 367 "moonshot-identity-request.c"
+#line 408 "moonshot-identity-request.c"
}
-#line 56 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp8_ = _tmp2_;
-#line 56 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- if (_tmp8_) {
-#line 373 "moonshot-identity-request.c"
- gboolean duplicate_service;
- IdCard* _tmp9_;
- gchar** _tmp10_;
- gint _tmp10__length1;
- gchar** _tmp11_;
- gint _tmp11__length1;
- gboolean _tmp15_;
-#line 58 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 87 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ if (_tmp2_) {
+#line 412 "moonshot-identity-request.c"
+ gboolean duplicate_service = FALSE;
+ IdCard* _tmp7_ = NULL;
+ gchar** _tmp8_ = NULL;
+ gint _tmp8__length1 = 0;
+ gchar** _tmp9_ = NULL;
+ gint _tmp9__length1 = 0;
+ gboolean _tmp13_ = FALSE;
+#line 89 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
duplicate_service = FALSE;
-#line 60 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp9_ = id_card;
-#line 60 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp10_ = id_card_get_services (_tmp9_, &_tmp10__length1);
-#line 60 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp11_ = _tmp10_;
-#line 60 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp11__length1 = _tmp10__length1;
-#line 391 "moonshot-identity-request.c"
+#line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp7_ = id_card;
+#line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp8_ = id_card_get_services (_tmp7_, &_tmp8__length1);
+#line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp9_ = _tmp8_;
+#line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp9__length1 = _tmp8__length1;
+#line 430 "moonshot-identity-request.c"
{
gchar** service_collection = NULL;
gint service_collection_length1 = 0;
gint _service_collection_size_ = 0;
gint service_it = 0;
-#line 60 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- service_collection = _tmp11_;
-#line 60 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- service_collection_length1 = _tmp11__length1;
-#line 60 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- for (service_it = 0; service_it < _tmp11__length1; service_it = service_it + 1) {
-#line 403 "moonshot-identity-request.c"
- gchar* _tmp12_;
+#line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ service_collection = _tmp9_;
+#line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ service_collection_length1 = _tmp9__length1;
+#line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ for (service_it = 0; service_it < _tmp9__length1; service_it = service_it + 1) {
+#line 442 "moonshot-identity-request.c"
+ gchar* _tmp10_ = NULL;
gchar* service = NULL;
-#line 60 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp12_ = g_strdup (service_collection[service_it]);
-#line 60 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- service = _tmp12_;
-#line 410 "moonshot-identity-request.c"
+#line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp10_ = g_strdup (service_collection[service_it]);
+#line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ service = _tmp10_;
+#line 449 "moonshot-identity-request.c"
{
- const gchar* _tmp13_;
- const gchar* _tmp14_;
-#line 62 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp13_ = service;
-#line 62 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp14_ = self->service;
-#line 62 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- if (g_strcmp0 (_tmp13_, _tmp14_) == 0) {
-#line 63 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+ const gchar* _tmp11_ = NULL;
+ const gchar* _tmp12_ = NULL;
+#line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp11_ = service;
+#line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp12_ = self->service;
+#line 93 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ if (g_strcmp0 (_tmp11_, _tmp12_) == 0) {
+#line 94 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
duplicate_service = TRUE;
-#line 422 "moonshot-identity-request.c"
+#line 461 "moonshot-identity-request.c"
}
-#line 60 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 91 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_g_free0 (service);
-#line 426 "moonshot-identity-request.c"
+#line 465 "moonshot-identity-request.c"
}
}
}
-#line 65 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp15_ = duplicate_service;
-#line 65 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- if (_tmp15_ == FALSE) {
-#line 434 "moonshot-identity-request.c"
- IdCard* _tmp16_;
- gchar** _tmp17_;
- gint _tmp17__length1;
- gchar** _tmp18_;
- gint _tmp18__length1;
- gchar** _tmp19_ = NULL;
- gchar** services;
- gint services_length1;
- gint _services_size_;
- gchar** _tmp36_;
- gint _tmp36__length1;
- IdCard* _tmp37_;
- gchar** _tmp38_;
- gint _tmp38__length1;
- gchar** _tmp39_;
- gint _tmp39__length1;
- const gchar* _tmp40_;
- gchar* _tmp41_;
- gchar* _tmp42_;
- IdCard* _tmp43_;
- gchar** _tmp44_;
- gint _tmp44__length1;
- IdentityManagerApp* _tmp45_;
- IdentityManagerModel* _tmp46_;
- IdCard* _tmp47_;
-#line 67 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp16_ = id_card;
-#line 67 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp17_ = id_card_get_services (_tmp16_, &_tmp17__length1);
-#line 67 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp18_ = _tmp17_;
-#line 67 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp18__length1 = _tmp17__length1;
-#line 67 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp19_ = g_new0 (gchar*, (_tmp18__length1 + 1) + 1);
-#line 67 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- services = _tmp19_;
-#line 67 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- services_length1 = _tmp18__length1 + 1;
-#line 67 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 96 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp13_ = duplicate_service;
+#line 96 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ if (_tmp13_ == FALSE) {
+#line 473 "moonshot-identity-request.c"
+ gchar** services = NULL;
+ IdCard* _tmp14_ = NULL;
+ gchar** _tmp15_ = NULL;
+ gint _tmp15__length1 = 0;
+ gchar** _tmp16_ = NULL;
+ gint _tmp16__length1 = 0;
+ gchar** _tmp17_ = NULL;
+ gint services_length1 = 0;
+ gint _services_size_ = 0;
+ gchar** _tmp33_ = NULL;
+ gint _tmp33__length1 = 0;
+ IdCard* _tmp34_ = NULL;
+ gchar** _tmp35_ = NULL;
+ gint _tmp35__length1 = 0;
+ gchar** _tmp36_ = NULL;
+ gint _tmp36__length1 = 0;
+ const gchar* _tmp37_ = NULL;
+ gchar* _tmp38_ = NULL;
+ gchar* _tmp39_ = NULL;
+ IdCard* _tmp40_ = NULL;
+ gchar** _tmp41_ = NULL;
+ gint _tmp41__length1 = 0;
+ IdentityManagerApp* _tmp42_ = NULL;
+ IdentityManagerModel* _tmp43_ = NULL;
+ IdCard* _tmp44_ = NULL;
+ IdCard* _tmp45_ = NULL;
+#line 98 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp14_ = id_card;
+#line 98 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp15_ = id_card_get_services (_tmp14_, &_tmp15__length1);
+#line 98 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp16_ = _tmp15_;
+#line 98 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp16__length1 = _tmp15__length1;
+#line 98 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp17_ = g_new0 (gchar*, (_tmp16__length1 + 1) + 1);
+#line 98 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ services = _tmp17_;
+#line 98 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ services_length1 = _tmp16__length1 + 1;
+#line 98 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_services_size_ = services_length1;
-#line 476 "moonshot-identity-request.c"
+#line 516 "moonshot-identity-request.c"
{
- gint i;
-#line 69 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+ gint i = 0;
+#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
i = 0;
-#line 481 "moonshot-identity-request.c"
+#line 521 "moonshot-identity-request.c"
{
- gboolean _tmp20_;
-#line 69 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp20_ = TRUE;
-#line 69 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+ gboolean _tmp18_ = FALSE;
+#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp18_ = TRUE;
+#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
while (TRUE) {
-#line 488 "moonshot-identity-request.c"
- gboolean _tmp21_;
- gint _tmp23_;
- IdCard* _tmp24_;
- gchar** _tmp25_;
- gint _tmp25__length1;
- gchar** _tmp26_;
- gint _tmp26__length1;
- gchar** _tmp27_;
- gint _tmp27__length1;
- gint _tmp28_;
- IdCard* _tmp29_;
- gchar** _tmp30_;
- gint _tmp30__length1;
- gchar** _tmp31_;
- gint _tmp31__length1;
- gint _tmp32_;
- const gchar* _tmp33_;
- gchar* _tmp34_;
- gchar* _tmp35_;
-#line 69 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp21_ = _tmp20_;
-#line 69 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- if (!_tmp21_) {
-#line 512 "moonshot-identity-request.c"
- gint _tmp22_;
-#line 69 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp22_ = i;
-#line 69 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- i = _tmp22_ + 1;
-#line 518 "moonshot-identity-request.c"
+#line 528 "moonshot-identity-request.c"
+ gint _tmp20_ = 0;
+ IdCard* _tmp21_ = NULL;
+ gchar** _tmp22_ = NULL;
+ gint _tmp22__length1 = 0;
+ gchar** _tmp23_ = NULL;
+ gint _tmp23__length1 = 0;
+ gchar** _tmp24_ = NULL;
+ gint _tmp24__length1 = 0;
+ gint _tmp25_ = 0;
+ IdCard* _tmp26_ = NULL;
+ gchar** _tmp27_ = NULL;
+ gint _tmp27__length1 = 0;
+ gchar** _tmp28_ = NULL;
+ gint _tmp28__length1 = 0;
+ gint _tmp29_ = 0;
+ const gchar* _tmp30_ = NULL;
+ gchar* _tmp31_ = NULL;
+ gchar* _tmp32_ = NULL;
+#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ if (!_tmp18_) {
+#line 549 "moonshot-identity-request.c"
+ gint _tmp19_ = 0;
+#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp19_ = i;
+#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ i = _tmp19_ + 1;
+#line 555 "moonshot-identity-request.c"
}
-#line 69 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp20_ = FALSE;
-#line 69 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp23_ = i;
-#line 69 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp24_ = id_card;
-#line 69 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp25_ = id_card_get_services (_tmp24_, &_tmp25__length1);
-#line 69 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp26_ = _tmp25_;
-#line 69 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp26__length1 = _tmp25__length1;
-#line 69 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- if (!(_tmp23_ < _tmp26__length1)) {
-#line 69 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp18_ = FALSE;
+#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp20_ = i;
+#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp21_ = id_card;
+#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp22_ = id_card_get_services (_tmp21_, &_tmp22__length1);
+#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp23_ = _tmp22_;
+#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp23__length1 = _tmp22__length1;
+#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ if (!(_tmp20_ < _tmp23__length1)) {
+#line 100 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
break;
-#line 536 "moonshot-identity-request.c"
+#line 573 "moonshot-identity-request.c"
}
-#line 70 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp27_ = services;
-#line 70 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp27__length1 = services_length1;
-#line 70 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp28_ = i;
-#line 70 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp29_ = id_card;
-#line 70 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp30_ = id_card_get_services (_tmp29_, &_tmp30__length1);
-#line 70 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp31_ = _tmp30_;
-#line 70 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp31__length1 = _tmp30__length1;
-#line 70 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp32_ = i;
-#line 70 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp33_ = _tmp31_[_tmp32_];
-#line 70 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp34_ = g_strdup (_tmp33_);
-#line 70 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _g_free0 (_tmp27_[_tmp28_]);
-#line 70 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp27_[_tmp28_] = _tmp34_;
-#line 70 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp35_ = _tmp27_[_tmp28_];
-#line 564 "moonshot-identity-request.c"
+#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp24_ = services;
+#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp24__length1 = services_length1;
+#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp25_ = i;
+#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp26_ = id_card;
+#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp27_ = id_card_get_services (_tmp26_, &_tmp27__length1);
+#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp28_ = _tmp27_;
+#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp28__length1 = _tmp27__length1;
+#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp29_ = i;
+#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp30_ = _tmp28_[_tmp29_];
+#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp31_ = g_strdup (_tmp30_);
+#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _g_free0 (_tmp24_[_tmp25_]);
+#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp24_[_tmp25_] = _tmp31_;
+#line 101 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp32_ = _tmp24_[_tmp25_];
+#line 601 "moonshot-identity-request.c"
}
}
}
-#line 72 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp36_ = services;
-#line 72 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp36__length1 = services_length1;
-#line 72 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp37_ = id_card;
-#line 72 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp38_ = id_card_get_services (_tmp37_, &_tmp38__length1);
-#line 72 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp39_ = _tmp38_;
-#line 72 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp39__length1 = _tmp38__length1;
-#line 72 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp40_ = self->service;
-#line 72 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp41_ = g_strdup (_tmp40_);
-#line 72 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _g_free0 (_tmp36_[_tmp39__length1]);
-#line 72 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp36_[_tmp39__length1] = _tmp41_;
-#line 72 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp42_ = _tmp36_[_tmp39__length1];
-#line 73 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp43_ = id_card;
-#line 73 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp44_ = services;
-#line 73 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp44__length1 = services_length1;
-#line 73 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- id_card_set_services (_tmp43_, _tmp44_, _tmp44__length1);
-#line 75 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp45_ = self->priv->parent_app;
-#line 75 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp46_ = _tmp45_->model;
-#line 75 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp47_ = id_card;
-#line 75 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- identity_manager_model_update_card (_tmp46_, _tmp47_);
-#line 65 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 103 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp33_ = services;
+#line 103 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp33__length1 = services_length1;
+#line 103 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp34_ = id_card;
+#line 103 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp35_ = id_card_get_services (_tmp34_, &_tmp35__length1);
+#line 103 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp36_ = _tmp35_;
+#line 103 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp36__length1 = _tmp35__length1;
+#line 103 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp37_ = self->service;
+#line 103 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp38_ = g_strdup (_tmp37_);
+#line 103 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _g_free0 (_tmp33_[_tmp36__length1]);
+#line 103 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp33_[_tmp36__length1] = _tmp38_;
+#line 103 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp39_ = _tmp33_[_tmp36__length1];
+#line 104 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp40_ = id_card;
+#line 104 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp41_ = services;
+#line 104 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp41__length1 = services_length1;
+#line 104 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ id_card_set_services (_tmp40_, _tmp41_, _tmp41__length1);
+#line 106 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp42_ = self->priv->parent_app;
+#line 106 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp43_ = _tmp42_->model;
+#line 106 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp44_ = id_card;
+#line 106 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp45_ = identity_manager_model_update_card (_tmp43_, _tmp44_);
+#line 106 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _g_object_unref0 (self->id_card);
+#line 106 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ self->id_card = _tmp45_;
+#line 96 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
services = (_vala_array_free (services, services_length1, (GDestroyNotify) g_free), NULL);
-#line 608 "moonshot-identity-request.c"
+#line 649 "moonshot-identity-request.c"
}
}
-#line 79 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp48_ = self->priv->callback;
-#line 79 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp48__target = self->priv->callback_target;
-#line 79 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- g_return_if_fail (_tmp48_ != NULL);
-#line 80 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp49_ = self->priv->callback;
-#line 80 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp49__target = self->priv->callback_target;
-#line 80 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- _tmp49_ (self, _tmp49__target);
-#line 623 "moonshot-identity-request.c"
+#line 110 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp46_ = self->priv->callback;
+#line 110 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp46__target = self->priv->callback_target;
+#line 110 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ g_return_if_fail (_tmp46_ != NULL);
+#line 111 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp47_ = self->priv->callback;
+#line 111 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp47__target = self->priv->callback_target;
+#line 111 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ _tmp47_ (self, _tmp47__target);
+#line 664 "moonshot-identity-request.c"
}
static void identity_request_class_init (IdentityRequestClass * klass) {
-#line 3 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
identity_request_parent_class = g_type_class_peek_parent (klass);
-#line 3 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
g_type_class_add_private (klass, sizeof (IdentityRequestPrivate));
-#line 3 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
G_OBJECT_CLASS (klass)->finalize = identity_request_finalize;
-#line 634 "moonshot-identity-request.c"
+#line 675 "moonshot-identity-request.c"
}
static void identity_request_instance_init (IdentityRequest * self) {
-#line 3 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->priv = IDENTITY_REQUEST_GET_PRIVATE (self);
-#line 4 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 35 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->id_card = NULL;
-#line 5 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 36 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->complete = FALSE;
-#line 6 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 37 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->select_default = FALSE;
-#line 14 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 45 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->priv->callback = NULL;
-#line 649 "moonshot-identity-request.c"
+#line 690 "moonshot-identity-request.c"
}
static void identity_request_finalize (GObject* obj) {
IdentityRequest * self;
-#line 3 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
- self = IDENTITY_REQUEST (obj);
-#line 4 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_IDENTITY_REQUEST, IdentityRequest);
+#line 35 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_g_object_unref0 (self->id_card);
-#line 8 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 39 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_identity_manager_app_unref0 (self->priv->parent_app);
-#line 9 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 40 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_g_free0 (self->nai);
-#line 10 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 41 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_g_free0 (self->password);
-#line 11 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 42 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
_g_free0 (self->service);
-#line 12 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 43 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
__g_slist_free__g_object_unref0_0 (self->candidates);
-#line 14 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 45 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
(self->priv->callback_target_destroy_notify == NULL) ? NULL : (self->priv->callback_target_destroy_notify (self->priv->callback_target), NULL);
-#line 14 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 45 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->priv->callback = NULL;
-#line 14 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 45 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->priv->callback_target = NULL;
-#line 14 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 45 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
self->priv->callback_target_destroy_notify = NULL;
-#line 3 "/build/slave/submodule_amd64/build/ui/src/moonshot-identity-request.vala"
+#line 34 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-request.vala"
G_OBJECT_CLASS (identity_request_parent_class)->finalize (obj);
-#line 679 "moonshot-identity-request.c"
+#line 720 "moonshot-identity-request.c"
}