refactor: use gdk_display_beep() on Linux (#44734)

* refactor: use gdk_display_beep() to beep on Linux

* chore: make a stub declaration for gdk_display_beep()

* chore: remove unused file electron_gtk.sigs

* chore: remove unused #includes to make gn check happy
This commit is contained in:
Charles Kerr 2024-11-20 15:24:59 -06:00 committed by GitHub
parent 15c3064780
commit 85e2622b68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 17 deletions

View file

@ -0,0 +1 @@
void gdk_display_beep(GdkDisplay* display);

View file

@ -1,7 +0,0 @@
GtkFileChooserNative* gtk_file_chooser_native_new(const gchar* title, GtkWindow* parent, GtkFileChooserAction action, const gchar* accept_label, const gchar* cancel_label);
void gtk_native_dialog_set_modal(GtkNativeDialog* self, gboolean modal);
void gtk_native_dialog_show(GtkNativeDialog* self);
void gtk_native_dialog_hide(GtkNativeDialog* self);
gint gtk_native_dialog_run(GtkNativeDialog* self);
void gtk_native_dialog_destroy(GtkNativeDialog* self);
GType gtk_native_dialog_get_type(void);