Skip to content

Commit

Permalink
[file_selector] Update Pigeon version for Linux (flutter#8172)
Browse files Browse the repository at this point in the history
Updates to the latest version of Pigeon, picking up the change to make the declarations of some classes public rather than in the implementation file.

Fixes flutter/flutter#158900
  • Loading branch information
stuartmorgan authored Nov 26, 2024
1 parent e2e55cf commit 8ecf4b0
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
4 changes: 4 additions & 0 deletions packages/file_selector/file_selector_linux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.9.3+2

* Updates Pigeon to resolve a compilation failure with some versions of glib.

## 0.9.3+1

* Fixes a regression in 0.9.3 with handling of canceled dialogs.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Autogenerated from Pigeon (v22.4.1), do not edit directly.
// Autogenerated from Pigeon (v22.6.2), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import, no_leading_underscores_for_local_identifiers

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Autogenerated from Pigeon (v22.4.1), do not edit directly.
// Autogenerated from Pigeon (v22.6.2), do not edit directly.
// See also: https://pub.dev/packages/pigeon

#include "messages.g.h"
Expand Down Expand Up @@ -231,9 +231,6 @@ ffs_platform_file_chooser_options_new_from_list(FlValue* values) {
accept_button_label, select_multiple);
}

G_DECLARE_FINAL_TYPE(FfsMessageCodec, ffs_message_codec, FFS, MESSAGE_CODEC,
FlStandardMessageCodec)

struct _FfsMessageCodec {
FlStandardMessageCodec parent_instance;
};
Expand Down Expand Up @@ -433,9 +430,6 @@ ffs_file_selector_api_show_file_chooser_response_new_error(const gchar* code,
return self;
}

G_DECLARE_FINAL_TYPE(FfsFileSelectorApi, ffs_file_selector_api, FFS,
FILE_SELECTOR_API, GObject)

struct _FfsFileSelectorApi {
GObject parent_instance;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Autogenerated from Pigeon (v22.4.1), do not edit directly.
// Autogenerated from Pigeon (v22.6.2), do not edit directly.
// See also: https://pub.dev/packages/pigeon

#ifndef PIGEON_MESSAGES_G_H_
Expand Down Expand Up @@ -164,6 +164,12 @@ const gchar* ffs_platform_file_chooser_options_get_accept_button_label(
gboolean* ffs_platform_file_chooser_options_get_select_multiple(
FfsPlatformFileChooserOptions* object);

G_DECLARE_FINAL_TYPE(FfsMessageCodec, ffs_message_codec, FFS, MESSAGE_CODEC,
FlStandardMessageCodec)

G_DECLARE_FINAL_TYPE(FfsFileSelectorApi, ffs_file_selector_api, FFS,
FILE_SELECTOR_API, GObject)

G_DECLARE_FINAL_TYPE(FfsFileSelectorApiShowFileChooserResponse,
ffs_file_selector_api_show_file_chooser_response, FFS,
FILE_SELECTOR_API_SHOW_FILE_CHOOSER_RESPONSE, GObject)
Expand Down
4 changes: 2 additions & 2 deletions packages/file_selector/file_selector_linux/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: file_selector_linux
description: Liunx implementation of the file_selector plugin.
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_linux
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 0.9.3+1
version: 0.9.3+2

environment:
sdk: ^3.3.0
Expand All @@ -25,7 +25,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
pigeon: ^22.4.1
pigeon: ^22.6.2

topics:
- files
Expand Down

0 comments on commit 8ecf4b0

Please sign in to comment.