Index: gcalctool/gtk.c
===================================================================
RCS file: /cvs/gnome/gcalctool/gcalctool/gtk.c,v
retrieving revision 1.151
diff -u -r1.151 gtk.c
--- gcalctool/gtk.c	3 Jan 2005 21:49:30 -0000	1.151
+++ gcalctool/gtk.c	21 Jan 2005 20:59:07 -0000
@@ -2072,11 +2072,11 @@
 
 /*ARGSUSED*/
 static void 
-menu_button_button_press_cb(GtkWidget *widget, 
-                            GdkEventButton *event, gpointer data)
+menu_button_button_press_cb(GtkButton *widget, gpointer data)
 {
     struct button *n;
     GtkWidget *menu;
+    GdkEventButton *event = (GdkEventButton *) gtk_get_current_event();
 
     if (event->button != 1) {
         return;
@@ -2140,7 +2140,7 @@
     gtk_container_add(GTK_CONTAINER(button), hbox);
  
     gtk_widget_set_events(button, GDK_BUTTON_PRESS_MASK);
-    g_signal_connect(G_OBJECT(button), "button-press-event",
+    g_signal_connect(G_OBJECT(button), "clicked",
                      G_CALLBACK(menu_button_button_press_cb), (gpointer) n);
     g_signal_connect(G_OBJECT(button), "key-press-event",
                      G_CALLBACK(menu_button_key_press_cb), (gpointer) n);
