[gtk+/gtk-2-24] Avoid a false positive deprecation notice
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] Avoid a false positive deprecation notice
- Date: Mon, 25 Jan 2016 10:43:57 +0000 (UTC)
commit 383673643ba43014640f5640f2d4793eba0a9409
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Jan 25 10:41:48 2016 +0000
Avoid a false positive deprecation notice
The comment on the #endif is tripping the deprecation state inside
the gtk-doc parser for gtk_container_get_children().
gtk/gtkcontainer.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcontainer.h b/gtk/gtkcontainer.h
index 127de5a..ac169c2 100644
--- a/gtk/gtkcontainer.h
+++ b/gtk/gtkcontainer.h
@@ -128,7 +128,8 @@ void gtk_container_foreach_full (GtkContainer *container,
GtkCallbackMarshal marshal,
gpointer callback_data,
GDestroyNotify notify);
-#endif /* GTK_DISABLE_DEPRECATED */
+#endif
+
GList* gtk_container_get_children (GtkContainer *container);
#ifndef GTK_DISABLE_DEPRECATED
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]