Did not need the signal-name argument for g-signal-connect.
authorMatt Birkholz <matt@birkholz.chandler.az.us>
Wed, 17 Aug 2011 22:02:15 +0000 (15:02 -0700)
committerMatt Birkholz <matt@birkholz.chandler.az.us>
Wed, 17 Aug 2011 22:02:15 +0000 (15:02 -0700)
src/gtk/gio.scm

index b8d05157a40f0ff009651062b726fd86ba3d1599..0c5a5c484fed46c286d15fea9dd8b70074a1f10c 100644 (file)
@@ -1091,16 +1091,13 @@ USA.
           (%trace ";mount-finish-callback #t "queue"\n")
           (%queue! queue #t))))))
 
-(define (attach-mount-signal-handlers gmount-op gfile)
-  (g-signal-connect gmount-op (C-callback "ask_password")
-                   (make-mount-password-callback gfile)
-                   'ask-password)
-  (g-signal-connect gmount-op (C-callback "ask_question")
-                   (make-mount-question-callback gfile)
-                   'ask-question)
-  (g-signal-connect gmount-op (C-callback "show_processes")
-                   (make-mount-processes-callback gfile)
-                   'show-processes))
+(define (attach-mount-signal-handlers gmountop gfile)
+  (g-signal-connect gmountop (C-callback "ask_password")
+                   (make-mount-password-callback gfile))
+  (g-signal-connect gmountop (C-callback "ask_question")
+                   (make-mount-question-callback gfile))
+  (g-signal-connect gmountop (C-callback "show_processes")
+                   (make-mount-processes-callback gfile)))
 
 (define (make-mount-password-callback gfile)
   (named-lambda (mount-password-callback gmountop message user domain flags)