From 7d059f058ddcb67baa6921c66389381968ea080c Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 14 Mar 2007 07:33:10 -0700 Subject: [PATCH] Fix typo (should be motion_notify_event, not button_motion_event) This is some naming inconsistency in GTK+ that makes it confusing to program, (probably left over from naming inconsistency in Xlib). --- kub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kub.c b/kub.c index 9494a46..e879e8b 100644 --- a/kub.c +++ b/kub.c @@ -528,7 +528,7 @@ int main(int argc, char *argv[]) G_CALLBACK (on_button_press_event), &game); g_signal_connect (G_OBJECT (window), "button_release_event", G_CALLBACK (on_button_release_event), &game); - g_signal_connect (G_OBJECT (window), "button_motion_event", + g_signal_connect (G_OBJECT (window), "motion_notify_event", G_CALLBACK (on_button_motion_event), &game); -- 2.43.0