[ghex/gtk4-port: 33/91] Fix bug to get basic find/replace working
- From: Logan Rathbone <larathbone src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ghex/gtk4-port: 33/91] Fix bug to get basic find/replace working
- Date: Thu, 12 Aug 2021 23:35:10 +0000 (UTC)
commit 55f3c9522ab47240a60d7b71bc2133fc400876d8
Author: Logan Rathbone <poprocks gmail com>
Date: Thu Jan 14 02:53:44 2021 -0500
Fix bug to get basic find/replace working
src/findreplace.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/findreplace.c b/src/findreplace.c
index 162b5ddb..6fb92ff4 100644
--- a/src/findreplace.c
+++ b/src/findreplace.c
@@ -681,20 +681,20 @@ replace_dialog_init (ReplaceDialog *self)
self->next = gtk_button_new_with_mnemonic (_("Find _Next"));
g_signal_connect (G_OBJECT (self->next),
"clicked", G_CALLBACK(replace_next_cb),
- NULL);
+ self);
gtk_box_append (GTK_BOX(self->hbox), self->next);
gtk_widget_set_receives_default (self->next, TRUE);
self->replace = gtk_button_new_with_mnemonic (_("_Replace"));
g_signal_connect (G_OBJECT (self->replace),
"clicked", G_CALLBACK(replace_one_cb),
- NULL);
+ self);
gtk_box_append (GTK_BOX(self->hbox), self->replace);
self->replace_all= gtk_button_new_with_mnemonic (_("Replace _All"));
g_signal_connect (G_OBJECT (self->replace_all),
"clicked", G_CALLBACK(replace_all_cb),
- NULL);
+ self);
gtk_box_append (GTK_BOX(self->hbox), self->replace_all);
self->close = gtk_button_new_with_mnemonic (_("_Close"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]