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