From 02850012dd399581a69f9d3773509f0e1b09b24c Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Mon, 1 Jun 2020 15:51:10 -0300 Subject: [PATCH] Enabling use of v3270_property_action with generic widgets. --- src/terminal/actions/property.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/terminal/actions/property.c b/src/terminal/actions/property.c index 091cdff..e8c0f60 100644 --- a/src/terminal/actions/property.c +++ b/src/terminal/actions/property.c @@ -250,7 +250,9 @@ action->pspec = pspec; action->parent.group.id = action_group; - v3270_action_set_terminal_widget(G_ACTION(action), widget); + if(GTK_IS_V3270(widget)) { + v3270_action_set_terminal_widget(G_ACTION(action), widget); + } return V3270_SIMPLE_ACTION(action); } -- libgit2 0.21.2