[ghex] hexwidget: Fix dumb regression in adjustment callback
- From: Logan Rathbone <larathbone src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ghex] hexwidget: Fix dumb regression in adjustment callback
- Date: Tue, 3 May 2022 02:24:02 +0000 (UTC)
commit 895929a61c5874d8c6c22f246e18ceb92f7826f8
Author: Logan Rathbone <poprocks gmail com>
Date: Mon May 2 22:23:15 2022 -0400
hexwidget: Fix dumb regression in adjustment callback
src/gtkhex.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gtkhex.c b/src/gtkhex.c
index 85eb3ad..f1ebe78 100644
--- a/src/gtkhex.c
+++ b/src/gtkhex.c
@@ -1224,7 +1224,7 @@ adj_value_changed_cb (GtkAdjustment *adj, HexWidget *self)
{
int dx, dy;
- if (! gtk_widget_is_drawable (self->xdisp) ||
+ if (! gtk_widget_is_drawable (self->xdisp) &&
! gtk_widget_is_drawable (self->adisp))
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]