remove dep on window_size
This commit is contained in:
parent
dd9b9fdc62
commit
4bbf694479
8 changed files with 2 additions and 29 deletions
|
|
@ -11,7 +11,6 @@
|
|||
#include <screen_retriever_linux/screen_retriever_linux_plugin.h>
|
||||
#include <url_launcher_linux/url_launcher_plugin.h>
|
||||
#include <window_manager/window_manager_plugin.h>
|
||||
#include <window_size/window_size_plugin.h>
|
||||
|
||||
void fl_register_plugins(FlPluginRegistry* registry) {
|
||||
g_autoptr(FlPluginRegistrar) dynamic_system_colors_registrar =
|
||||
|
|
@ -29,7 +28,4 @@ void fl_register_plugins(FlPluginRegistry* registry) {
|
|||
g_autoptr(FlPluginRegistrar) window_manager_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "WindowManagerPlugin");
|
||||
window_manager_plugin_register_with_registrar(window_manager_registrar);
|
||||
g_autoptr(FlPluginRegistrar) window_size_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "WindowSizePlugin");
|
||||
window_size_plugin_register_with_registrar(window_size_registrar);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ list(APPEND FLUTTER_PLUGIN_LIST
|
|||
screen_retriever_linux
|
||||
url_launcher_linux
|
||||
window_manager
|
||||
window_size
|
||||
)
|
||||
|
||||
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ static void my_application_activate(GApplication* application) {
|
|||
}
|
||||
}
|
||||
#endif
|
||||
gtk_widget_set_size_request(GTK_WIDGET(window), 500, 500);
|
||||
if (use_header_bar) {
|
||||
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
||||
gtk_widget_show(GTK_WIDGET(header_bar));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue