]> git.cworth.org Git - kub/commitdiff
Fix typo (should be motion_notify_event, not button_motion_event)
authorCarl Worth <cworth@cworth.org>
Wed, 14 Mar 2007 14:33:10 +0000 (07:33 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 14 Mar 2007 14:33:10 +0000 (07:33 -0700)
This is some naming inconsistency in GTK+ that makes it confusing
to program, (probably left over from naming inconsistency in Xlib).

kub.c

diff --git a/kub.c b/kub.c
index 9494a466914ee64632d202053419adc907d820f4..e879e8b1f5f86c5bbf52e8149806669f43392093 100644 (file)
--- 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);