mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-06 03:18:19 +00:00
funny typos
This commit is contained in:
@@ -50,7 +50,7 @@ pub const CommandPalette = extern struct {
|
||||
/// action contains pointers to allocated data so if a receiver of this
|
||||
/// signal needs to keep the action around it will need to clone the
|
||||
/// action or there may be use-after-free errors.
|
||||
pub const tigger = struct {
|
||||
pub const trigger = struct {
|
||||
pub const name = "trigger";
|
||||
pub const connect = impl.connect;
|
||||
const impl = gobject.ext.defineSignal(
|
||||
@@ -240,7 +240,7 @@ pub const CommandPalette = extern struct {
|
||||
|
||||
// Signal that an an action has been selected. Signals are synchronous
|
||||
// so we shouldn't need to worry about cloning the action.
|
||||
signals.tigger.impl.emit(
|
||||
signals.trigger.impl.emit(
|
||||
self,
|
||||
null,
|
||||
.{&action},
|
||||
@@ -290,7 +290,7 @@ pub const CommandPalette = extern struct {
|
||||
});
|
||||
|
||||
// Signals
|
||||
signals.tigger.impl.register(.{});
|
||||
signals.trigger.impl.register(.{});
|
||||
|
||||
// Virtual methods
|
||||
gobject.Object.virtual_methods.dispose.implement(class, &dispose);
|
||||
|
@@ -1593,7 +1593,7 @@ pub const Window = extern struct {
|
||||
|
||||
// Listen to the activate signal to know if the user selected an option in
|
||||
// the command palette.
|
||||
_ = CommandPalette.signals.tigger.connect(
|
||||
_ = CommandPalette.signals.trigger.connect(
|
||||
command_palette,
|
||||
*Window,
|
||||
signalCommandPaletteTrigger,
|
||||
|
Reference in New Issue
Block a user