[gtk+] GtkWidget: Fix typo in #ifdef
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkWidget: Fix typo in #ifdef
- Date: Thu, 10 Sep 2015 09:48:41 +0000 (UTC)
commit a6982cc76ea0528962ddc76171f01f8073c06c59
Author: Timm Bäder <mail baedert org>
Date: Thu Sep 10 11:47:34 2015 +0200
GtkWidget: Fix typo in #ifdef
It's ENABLE, not ENABEL. Also fix the corresponding #endif comments.
gtk/gtkwidget.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index e6250bd..76207da 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]