From bf16bdc5ae23baf8ad47992e820f47b617fb0beb Mon Sep 17 00:00:00 2001 From: edgrif <edgrif> Date: Fri, 12 Mar 2004 15:13:36 +0000 Subject: [PATCH] Update ZMAP_DEBUG calls --- src/zmapApp/zmapAppconnect.c | 11 ++++++----- src/zmapApp/zmapAppmanage.c | 12 +++++++----- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/zmapApp/zmapAppconnect.c b/src/zmapApp/zmapAppconnect.c index c15fa5bfa..4b7ee2a79 100755 --- a/src/zmapApp/zmapAppconnect.c +++ b/src/zmapApp/zmapAppconnect.c @@ -26,16 +26,17 @@ * Description: * Exported functions: See XXXXXXXXXXXXX.h * HISTORY: - * Last edited: Feb 26 11:10 2004 (edgrif) + * Last edited: Mar 12 14:55 2004 (edgrif) * Created: Thu Jul 24 14:36:37 2003 (edgrif) - * CVS info: $Id: zmapAppconnect.c,v 1.5 2004-03-03 12:09:34 edgrif Exp $ + * CVS info: $Id: zmapAppconnect.c,v 1.6 2004-03-12 15:13:36 edgrif Exp $ *------------------------------------------------------------------- */ #include <stdlib.h> #include <stdio.h> -#include <zmapApp_P.h> #include <ZMap/zmapUtils.h> +#include <zmapApp_P.h> + static void createThreadCB(GtkWidget *widget, gpointer data) ; @@ -106,8 +107,8 @@ static void createThreadCB(GtkWidget *widget, gpointer cb_data) gtk_clist_set_row_data(GTK_CLIST(app_context->clist_widg), row, (gpointer)zmap) ; - ZMAP_DEBUG(("GUI: create thread number %d for zmap \"%s\" for sequence \"%s\"\n", - (row + 1), row_text[0], row_text[1])) ; + ZMAP_DEBUG("GUI: create thread number %d for zmap \"%s\" for sequence \"%s\"\n", + (row + 1), row_text[0], row_text[1]) ; } return ; diff --git a/src/zmapApp/zmapAppmanage.c b/src/zmapApp/zmapAppmanage.c index 8fdb9ba63..b894c57d0 100755 --- a/src/zmapApp/zmapAppmanage.c +++ b/src/zmapApp/zmapAppmanage.c @@ -26,16 +26,18 @@ * Description: * Exported functions: See XXXXXXXXXXXXX.h * HISTORY: - * Last edited: Feb 26 17:57 2004 (edgrif) + * Last edited: Mar 12 14:17 2004 (edgrif) * Created: Thu Jul 24 14:36:47 2003 (edgrif) - * CVS info: $Id: zmapAppmanage.c,v 1.5 2004-03-03 12:10:06 edgrif Exp $ + * CVS info: $Id: zmapAppmanage.c,v 1.6 2004-03-12 15:13:57 edgrif Exp $ *------------------------------------------------------------------- */ #include <stdlib.h> #include <stdio.h> +#include <ZMap/zmapUtils.h> #include <zmapApp_P.h> + static void loadThreadCB(GtkWidget *widget, gpointer cb_data) ; static void stopThreadCB(GtkWidget *widget, gpointer cb_data) ; static void killThreadCB(GtkWidget *widget, gpointer data) ; @@ -152,8 +154,8 @@ static void killThreadCB(GtkWidget *widget, gpointer cb_data) row = gtk_clist_find_row_from_data(GTK_CLIST(app_context->clist_widg), app_context->selected_zmap) ; - ZMAP_DEBUG(("GUI: kill thread for row %d with connection pointer: %x\n", - row, app_context->selected_zmap)) ; + ZMAP_DEBUG("GUI: kill thread for row %d with connection pointer: %x\n", + row, app_context->selected_zmap) ; zMapManagerKill(app_context->zmap_manager, app_context->selected_zmap) ; @@ -218,7 +220,7 @@ static void unselectRow(GtkCList *clist, gint row, gint column, GdkEventButton * app_context->selected_zmap = NULL ; - ZMAP_DEBUG(("GUI: unselect row %d\n", row)) ; + ZMAP_DEBUG("GUI: unselect row %d\n", row) ; return ; } -- GitLab