summaryrefslogtreecommitdiff
path: root/src/gui_beval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_beval.c')
-rw-r--r--src/gui_beval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_beval.c b/src/gui_beval.c
index f19c1e017..0f08649f6 100644
--- a/src/gui_beval.c
+++ b/src/gui_beval.c
@@ -371,6 +371,7 @@ addEventHandler(GtkWidget *target, BalloonEval *beval)
static void
removeEventHandler(BalloonEval *beval)
{
+ /* LINTED: avoid warning: dubious operation on enum */
gtk_signal_disconnect_by_func((GtkObject*)(beval->target),
GTK_SIGNAL_FUNC(target_event_cb),
beval);
@@ -378,6 +379,7 @@ removeEventHandler(BalloonEval *beval)
if (gtk_socket_id == 0 && gui.mainwin != NULL
&& gtk_widget_is_ancestor(beval->target, gui.mainwin))
{
+ /* LINTED: avoid warning: dubious operation on enum */
gtk_signal_disconnect_by_func((GtkObject*)(gui.mainwin),
GTK_SIGNAL_FUNC(mainwin_event_cb),
beval);