Surround debug variable with #ifdef to silence gcc.

This commit is contained in:
Jeff Garzik 1998-11-30 19:35:38 +00:00
parent 060978e069
commit 471afbe62b
8 changed files with 26 additions and 0 deletions

View File

@ -8,6 +8,9 @@
Mon Nov 30 12:17:10 1998 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtksignal.c:
Surround debug variable with #ifdef to silence gcc.
* gtk/gtknotebook.c (gtk_notebook_reorder_child):
Added initializer to quiet gcc warning.
Added assertion to check for null pointer deref.

View File

@ -8,6 +8,9 @@
Mon Nov 30 12:17:10 1998 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtksignal.c:
Surround debug variable with #ifdef to silence gcc.
* gtk/gtknotebook.c (gtk_notebook_reorder_child):
Added initializer to quiet gcc warning.
Added assertion to check for null pointer deref.

View File

@ -8,6 +8,9 @@
Mon Nov 30 12:17:10 1998 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtksignal.c:
Surround debug variable with #ifdef to silence gcc.
* gtk/gtknotebook.c (gtk_notebook_reorder_child):
Added initializer to quiet gcc warning.
Added assertion to check for null pointer deref.

View File

@ -8,6 +8,9 @@
Mon Nov 30 12:17:10 1998 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtksignal.c:
Surround debug variable with #ifdef to silence gcc.
* gtk/gtknotebook.c (gtk_notebook_reorder_child):
Added initializer to quiet gcc warning.
Added assertion to check for null pointer deref.

View File

@ -8,6 +8,9 @@
Mon Nov 30 12:17:10 1998 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtksignal.c:
Surround debug variable with #ifdef to silence gcc.
* gtk/gtknotebook.c (gtk_notebook_reorder_child):
Added initializer to quiet gcc warning.
Added assertion to check for null pointer deref.

View File

@ -8,6 +8,9 @@
Mon Nov 30 12:17:10 1998 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtksignal.c:
Surround debug variable with #ifdef to silence gcc.
* gtk/gtknotebook.c (gtk_notebook_reorder_child):
Added initializer to quiet gcc warning.
Added assertion to check for null pointer deref.

View File

@ -8,6 +8,9 @@
Mon Nov 30 12:17:10 1998 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtksignal.c:
Surround debug variable with #ifdef to silence gcc.
* gtk/gtknotebook.c (gtk_notebook_reorder_child):
Added initializer to quiet gcc warning.
Added assertion to check for null pointer deref.

View File

@ -1335,7 +1335,12 @@ gtk_signal_handler_insert (GtkObject *object,
}
}
#ifdef G_ENABLE_DEBUG
/* value typically set via gdb */
static GtkObject *gtk_trace_signal_object = NULL;
#endif /* G_ENABLE_DEBUG */
static void
gtk_signal_real_emit (GtkObject *object,