Skip to content

Commit e835a4b

Browse files
jiahaogjorgefspereira
authored andcommitted
Fix formatting (flutter#3023)
A new version of the formatter or something might have rolled in, causing CI to break
1 parent 36cc43b commit e835a4b

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

packages/shared_preferences/shared_preferences_linux/example/linux/flutter/generated_plugin_registrant.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@
44

55
#include "generated_plugin_registrant.h"
66

7-
8-
void fl_register_plugins(FlPluginRegistry* registry) {
9-
}
7+
void fl_register_plugins(FlPluginRegistry* registry) {}

packages/shared_preferences/shared_preferences_linux/example/linux/my_application.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION)
1414
static void my_application_activate(GApplication* application) {
1515
GtkWindow* window =
1616
GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application)));
17-
GtkHeaderBar *header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
17+
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
1818
gtk_widget_show(GTK_WIDGET(header_bar));
1919
gtk_header_bar_set_title(header_bar, "example");
2020
gtk_header_bar_set_show_close_button(header_bar, TRUE);

packages/url_launcher/url_launcher/example/linux/flutter/generated_plugin_registrant.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
void fl_register_plugins(FlPluginRegistry* registry) {
1010
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
11-
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
11+
fl_plugin_registry_get_registrar_for_plugin(registry,
12+
"UrlLauncherPlugin");
1213
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
1314
}

packages/url_launcher/url_launcher/example/linux/my_application.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION)
1414
static void my_application_activate(GApplication* application) {
1515
GtkWindow* window =
1616
GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application)));
17-
GtkHeaderBar *header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
17+
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
1818
gtk_widget_show(GTK_WIDGET(header_bar));
1919
gtk_header_bar_set_title(header_bar, "example");
2020
gtk_header_bar_set_show_close_button(header_bar, TRUE);

packages/url_launcher/url_launcher_linux/example/linux/flutter/generated_plugin_registrant.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
void fl_register_plugins(FlPluginRegistry* registry) {
1010
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
11-
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
11+
fl_plugin_registry_get_registrar_for_plugin(registry,
12+
"UrlLauncherPlugin");
1213
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
1314
}

packages/url_launcher/url_launcher_linux/example/linux/my_application.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION)
1414
static void my_application_activate(GApplication* application) {
1515
GtkWindow* window =
1616
GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application)));
17-
GtkHeaderBar *header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
17+
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
1818
gtk_widget_show(GTK_WIDGET(header_bar));
1919
gtk_header_bar_set_title(header_bar, "example");
2020
gtk_header_bar_set_show_close_button(header_bar, TRUE);

0 commit comments

Comments
 (0)