diff --git a/src/app-utils/gnc-component-manager.c b/src/app-utils/gnc-component-manager.c index ecb17e6dea..d6d307fd1e 100644 --- a/src/app-utils/gnc-component-manager.c +++ b/src/app-utils/gnc-component-manager.c @@ -64,7 +64,7 @@ typedef struct /** Static Variables ************************************************/ static guint suspend_counter = 0; -static gint next_component_id = 0; +static gint next_component_id = 1; static GList *components = NULL; static ComponentEventInfo changes = { NULL, NULL, FALSE }; diff --git a/src/engine/gnc-event.c b/src/engine/gnc-event.c index 8ad2b2d528..f2c20cfc14 100644 --- a/src/engine/gnc-event.c +++ b/src/engine/gnc-event.c @@ -41,7 +41,7 @@ typedef struct /** Static Variables ************************************************/ static guint suspend_counter = 0; -static gint next_handler_id = 0; +static gint next_handler_id = 1; static GList *handlers = NULL; /* This static indicates the debugging module that this .o belongs to. */