funny typos

This commit is contained in:
Mitchell Hashimoto
2025-08-05 09:38:08 -07:00
parent cf77897388
commit 19fde96d30
2 changed files with 4 additions and 4 deletions

View File

@@ -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);

View File

@@ -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,