Skip to content
Snippets Groups Projects
Commit 2b5db48a authored by edgrif's avatar edgrif
Browse files

fix my own stupid mistake, wrong params for map-event callback.

parent 6c377bdd
No related branches found
No related tags found
No related merge requests found
......@@ -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 ;
}
......
......@@ -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,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment