vala
[moonshot-ui.git] / src / moonshot-identity-management-view.c
index 93d4bb0..b07f215 100644 (file)
@@ -1,4 +1,4 @@
-/* moonshot-identity-management-view.c generated by valac 0.24.0, the Vala compiler
+/* moonshot-identity-management-view.c generated by valac 0.26.1, the Vala compiler
  * generated from moonshot-identity-management-view.vala, do not modify */
 
 /*
@@ -269,7 +269,7 @@ GType id_card_get_type (void) G_GNUC_CONST;
 enum  {
        IDENTITY_MANAGER_VIEW_DUMMY_PROPERTY
 };
-static GType identity_manager_view_columns_get_type (void) G_GNUC_UNUSED;
+static GType identity_manager_view_columns_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
 static void _g_object_unref0_ (gpointer var);
 static void _g_queue_free__g_object_unref0_ (GQueue* self);
 #define IDENTITY_MANAGER_VIEW_WINDOW_WIDTH 400
@@ -341,9 +341,9 @@ void custom_vbox_add_id_card_widget (CustomVBox* self, IdCardWidget* id_card_wid
 static void _identity_manager_view_details_identity_cb_id_card_widget_details_id (IdCardWidget* _sender, gpointer self);
 static void identity_manager_view_remove_identity_cb (IdentityManagerView* self, IdCardWidget* id_card_widget);
 static void _identity_manager_view_remove_identity_cb_id_card_widget_remove_id (IdCardWidget* _sender, gpointer self);
-static void __lambda5_ (IdentityManagerView* self, IdCardWidget* w);
+static void __lambda6_ (IdentityManagerView* self, IdCardWidget* w);
 void identity_manager_view_send_identity_cb (IdentityManagerView* self, IdCard* id);
-static void ___lambda5__id_card_widget_send_id (IdCardWidget* _sender, gpointer self);
+static void ___lambda6__id_card_widget_send_id (IdCardWidget* _sender, gpointer self);
 void custom_vbox_receive_expanded_event (CustomVBox* self, IdCardWidget* id_card_widget);
 static void _custom_vbox_receive_expanded_event_id_card_widget_expanded (IdCardWidget* _sender, gpointer self);
 static void _identity_manager_view_fill_details_id_card_widget_expanded (IdCardWidget* _sender, gpointer self);
@@ -365,9 +365,9 @@ gboolean id_card_IsNoIdentity (IdCard* self);
 void identity_request_return_identity (IdentityRequest* self, IdCard* id_card);
 static void identity_manager_view_label_make_bold (IdentityManagerView* self, GtkLabel* label);
 static void _vala_PangoFontDescription_free (PangoFontDescription* self);
-static void ____lambda4_ (IdentityManagerView* self, GtkButton* remove_button);
+static void ____lambda5_ (IdentityManagerView* self, GtkButton* remove_button);
 static void _g_slist_free__g_free0_ (GSList* self);
-static void _____lambda4__gtk_button_clicked (GtkButton* _sender, gpointer self);
+static void _____lambda5__gtk_button_clicked (GtkButton* _sender, gpointer self);
 static void identity_manager_view_on_about_action (IdentityManagerView* self);
 static GtkActionEntry* identity_manager_view_create_actions (IdentityManagerView* self, int* result_length1);
 static void _vala_array_add1 (GtkActionEntry** array, int* length, int* size, const GtkActionEntry* value);
@@ -534,17 +534,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
        gboolean result = FALSE;
        const gchar* _tmp0_ = NULL;
        gchar* _tmp1_ = NULL;
-#line 1274 "/usr/share/vala-0.24/vapi/glib-2.0.vapi"
+#line 1278 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
        g_return_val_if_fail (self != NULL, FALSE);
-#line 1274 "/usr/share/vala-0.24/vapi/glib-2.0.vapi"
+#line 1278 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
        g_return_val_if_fail (needle != NULL, FALSE);
-#line 1275 "/usr/share/vala-0.24/vapi/glib-2.0.vapi"
+#line 1279 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
        _tmp0_ = needle;
-#line 1275 "/usr/share/vala-0.24/vapi/glib-2.0.vapi"
+#line 1279 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
        _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1275 "/usr/share/vala-0.24/vapi/glib-2.0.vapi"
+#line 1279 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
        result = _tmp1_ != NULL;
-#line 1275 "/usr/share/vala-0.24/vapi/glib-2.0.vapi"
+#line 1279 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
        return result;
 #line 550 "moonshot-identity-management-view.c"
 }
@@ -2052,7 +2052,7 @@ static void _identity_manager_view_remove_identity_cb_id_card_widget_remove_id (
 }
 
 
-static void __lambda5_ (IdentityManagerView* self, IdCardWidget* w) {
+static void __lambda6_ (IdentityManagerView* self, IdCardWidget* w) {
        IdCardWidget* _tmp0_ = NULL;
        IdCard* _tmp1_ = NULL;
        IdCard* _tmp2_ = NULL;
@@ -2070,9 +2070,9 @@ static void __lambda5_ (IdentityManagerView* self, IdCardWidget* w) {
 }
 
 
-static void ___lambda5__id_card_widget_send_id (IdCardWidget* _sender, gpointer self) {
+static void ___lambda6__id_card_widget_send_id (IdCardWidget* _sender, gpointer self) {
 #line 371 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-management-view.vala"
-       __lambda5_ ((IdentityManagerView*) self, _sender);
+       __lambda6_ ((IdentityManagerView*) self, _sender);
 #line 2077 "moonshot-identity-management-view.c"
 }
 
@@ -2119,7 +2119,7 @@ static IdCardWidget* identity_manager_view_add_id_card_widget (IdentityManagerVi
 #line 370 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-management-view.vala"
        g_signal_connect_object (id_card_widget, "remove-id", (GCallback) _identity_manager_view_remove_identity_cb_id_card_widget_remove_id, self, 0);
 #line 371 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-management-view.vala"
-       g_signal_connect_object (id_card_widget, "send-id", (GCallback) ___lambda5__id_card_widget_send_id, self, 0);
+       g_signal_connect_object (id_card_widget, "send-id", (GCallback) ___lambda6__id_card_widget_send_id, self, 0);
 #line 372 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-management-view.vala"
        _tmp3_ = self->priv->custom_vbox;
 #line 372 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-management-view.vala"
@@ -3244,7 +3244,7 @@ static void _g_slist_free__g_free0_ (GSList* self) {
 }
 
 
-static void ____lambda4_ (IdentityManagerView* self, GtkButton* remove_button) {
+static void ____lambda5_ (IdentityManagerView* self, GtkButton* remove_button) {
        gchar* candidate = NULL;
        GHashTable* _tmp0_ = NULL;
        GtkButton* _tmp1_ = NULL;
@@ -3558,9 +3558,9 @@ static void ____lambda4_ (IdentityManagerView* self, GtkButton* remove_button) {
 }
 
 
-static void _____lambda4__gtk_button_clicked (GtkButton* _sender, gpointer self) {
+static void _____lambda5__gtk_button_clicked (GtkButton* _sender, gpointer self) {
 #line 622 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-management-view.vala"
-       ____lambda4_ ((IdentityManagerView*) self, _sender);
+       ____lambda5_ ((IdentityManagerView*) self, _sender);
 #line 3564 "moonshot-identity-management-view.c"
 }
 
@@ -3712,7 +3712,7 @@ static void identity_manager_view_fill_services_vbox (IdentityManagerView* self,
 #line 622 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-management-view.vala"
                                _tmp23_ = remove_button;
 #line 622 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-management-view.vala"
-                               g_signal_connect_object (_tmp23_, "clicked", (GCallback) _____lambda4__gtk_button_clicked, self, 0);
+                               g_signal_connect_object (_tmp23_, "clicked", (GCallback) _____lambda5__gtk_button_clicked, self, 0);
 #line 661 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-management-view.vala"
                                _tmp24_ = services_table;
 #line 661 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-management-view.vala"
@@ -4168,7 +4168,7 @@ static void identity_manager_view_create_ui_manager (IdentityManagerView* self)
 #line 784 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-management-view.vala"
                gtk_ui_manager_add_ui_from_string (_tmp5_, IDENTITY_MANAGER_VIEW_layout, (gssize) (-1), &_inner_error_);
 #line 784 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-management-view.vala"
-               if (_inner_error_ != NULL) {
+               if (G_UNLIKELY (_inner_error_ != NULL)) {
 #line 4131 "moonshot-identity-management-view.c"
                        goto __catch4_g_error;
                }
@@ -4198,7 +4198,7 @@ static void identity_manager_view_create_ui_manager (IdentityManagerView* self)
        }
        __finally4:
 #line 782 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-management-view.vala"
-       if (_inner_error_ != NULL) {
+       if (G_UNLIKELY (_inner_error_ != NULL)) {
 #line 782 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-management-view.vala"
                _g_object_unref0 (action_group);
 #line 782 "/home/hartmans/moonshot/moonshot/ui/src/moonshot-identity-management-view.vala"