GtkWidget: Fix typo in #ifdef

It's ENABLE, not ENABEL. Also fix the corresponding #endif comments.
This commit is contained in:
Timm Bäder
2015-09-10 11:47:34 +02:00
parent 3900700479
commit a6982cc76e

View File

@@ -12094,13 +12094,13 @@ gtk_widget_real_destroy (GtkWidget *object)
*/
if (g_getenv ("GTK_WIDGET_ASSERT_COMPONENTS") != NULL)
assertions = build_finalize_assertion_list (widget);
#endif /* G_ENABLE_DEBUG */
#endif /* G_ENABLE_CONSISTENCY_CHECKS */
/* Release references to all automated children */
g_hash_table_destroy (priv->auto_children);
priv->auto_children = NULL;
#ifdef G_ENABEL_CONSISTENCY_CHECKS
#ifdef G_ENABLE_CONSISTENCY_CHECKS
for (l = assertions; l; l = l->next)
{
FinalizeAssertion *assertion = l->data;
@@ -12115,7 +12115,7 @@ gtk_widget_real_destroy (GtkWidget *object)
g_slice_free (FinalizeAssertion, assertion);
}
g_slist_free (assertions);
#endif /* G_ENABLE_DEBUG */
#endif /* G_ENABLE_CONSISTENCY_CHECKS */
/* Set any automatic private data pointers to NULL */
for (class = GTK_WIDGET_GET_CLASS (widget);