diff --git a/src/zmapControl/zmapControlRemoteReceive.c b/src/zmapControl/zmapControlRemoteReceive.c index fe49d1e144542a006795db08d6fe3184ac37aa75..0b1b8d924a51d5db8fdefe88826911a7173a8414 100755 --- a/src/zmapControl/zmapControlRemoteReceive.c +++ b/src/zmapControl/zmapControlRemoteReceive.c @@ -28,9 +28,9 @@ * Exported functions: See zmapControl_P.h * * HISTORY: - * Last edited: Feb 4 16:23 2010 (edgrif) + * Last edited: Feb 8 15:19 2010 (edgrif) * Created: Thu Jul 12 14:54:30 2007 (rds) - * CVS info: $Id: zmapControlRemoteReceive.c,v 1.8 2010-02-04 16:58:03 edgrif Exp $ + * CVS info: $Id: zmapControlRemoteReceive.c,v 1.9 2010-02-08 15:23:35 edgrif Exp $ *------------------------------------------------------------------- */ @@ -157,12 +157,17 @@ static char *actions_G[ZMAPCONTROL_REMOTE_UNKNOWN + 1] = NULL }; -void zmapControlRemoteInstaller(GtkWidget *widget, ZMap zmap) + + + +void zmapControlRemoteInstaller(GtkWidget *widget, GdkEvent *event, gpointer user_data) { + ZMap zmap = (ZMap)user_data ; + zMapXRemoteInitialiseWidget(widget, PACKAGE_NAME, ZMAP_DEFAULT_REQUEST_ATOM_NAME, ZMAP_DEFAULT_RESPONSE_ATOM_NAME, - control_execute_command, zmap); + control_execute_command, zmap) ; return ; } diff --git a/src/zmapControl/zmapControl_P.h b/src/zmapControl/zmapControl_P.h index 4b1a168ba1798d5ac7d727f521a3ea45c3d23d86..57b14361b151937fd26b9cdb40aaa26c6cbc067f 100755 --- a/src/zmapControl/zmapControl_P.h +++ b/src/zmapControl/zmapControl_P.h @@ -25,9 +25,9 @@ * Description: Private header for interface that creates/manages/destroys * instances of ZMaps. * HISTORY: - * Last edited: Feb 4 16:26 2010 (edgrif) + * Last edited: Feb 8 15:17 2010 (edgrif) * Created: Thu Jul 24 14:39:06 2003 (edgrif) - * CVS info: $Id: zmapControl_P.h,v 1.74 2010-02-04 16:59:07 edgrif Exp $ + * CVS info: $Id: zmapControl_P.h,v 1.75 2010-02-08 15:23:35 edgrif Exp $ *------------------------------------------------------------------- */ #ifndef ZMAP_CONTROL_P_H @@ -207,7 +207,7 @@ void zmapControlDoKill(ZMap zmap) ; void zmapControlLoadCB (ZMap zmap) ; void zmapControlResetCB (ZMap zmap) ; -void zmapControlRemoteInstaller(GtkWidget *widget, ZMap zmap) ; +void zmapControlRemoteInstaller(GtkWidget *widget, GdkEvent *event, gpointer user_data) ; gboolean zmapControlRemoteAlertClient(ZMap zmap, char *action, GArray *xml_events, ZMapXMLObjTagFunctions start_handlers,