[gtk+/treeview-refactor: 254/257] GtkArg is deprecated since 2.2



commit a512143bab1ace6854095f19bf9c3f57b52d4bae
Author: Javier Jardón <jjardon gnome org>
Date:   Tue Nov 16 06:43:16 2010 +0100

    GtkArg is deprecated since 2.2

 gtk/gtktypeutils.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktypeutils.h b/gtk/gtktypeutils.h
index 51760cf..1221a04 100644
--- a/gtk/gtktypeutils.h
+++ b/gtk/gtktypeutils.h
@@ -77,11 +77,13 @@ typedef void (*GtkCallbackMarshal)  (GObject      *object,
 typedef gchar * (*GtkTranslateFunc) (const gchar  *path,
 				     gpointer      func_data);
 
-#if defined (GTK_COMPILATION)
+#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
 /**
  * GtkArg:
  *
  * This is a structure that we use to pass in typed values (and names).
+ *
+ * Deprecated: 2.2:
  */
 struct _GtkArg
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]