From: Carl Worth Date: Wed, 14 Mar 2007 14:33:10 +0000 (-0700) Subject: Fix typo (should be motion_notify_event, not button_motion_event) X-Git-Url: https://git.cworth.org/git?p=kub;a=commitdiff_plain;h=7d059f058ddcb67baa6921c66389381968ea080c 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). --- 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);