summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Frécinaux <code@istique.net>2011-08-26 11:22:09 +0200
committerJohn (J5) Palmieri <johnp@redhat.com>2011-09-13 16:42:49 -0400
commit93e12cc2eb7e7f2c18971da86e9c9452d3f566b7 (patch)
treebd3e6ad97a54a2f91c0f29dfaaf0ddcd16888153
parente1c71092af6e2cffa36248519adfceac1874051d (diff)
downloadpygobject-93e12cc2eb7e7f2c18971da86e9c9452d3f566b7.tar.gz
Remove deprecated API from pygobject.h
https://bugzilla.gnome.org/show_bug.cgi?id=657416
-rw-r--r--gi/_gobject/pygobject.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/gi/_gobject/pygobject.h b/gi/_gobject/pygobject.h
index 82a3d83f..917a8421 100644
--- a/gi/_gobject/pygobject.h
+++ b/gi/_gobject/pygobject.h
@@ -9,10 +9,7 @@
G_BEGIN_DECLS
-/* This is deprecated, don't use */
-#define PYGIL_API_IS_BUGGY FALSE
-
- /* PyGClosure is a _private_ structure */
+/* PyGClosure is a _private_ structure */
typedef void (* PyClosureExceptionHandler) (GValue *ret, guint n_param_values, const GValue *params);
typedef struct _PyGClosure PyGClosure;
typedef struct _PyGObjectData PyGObjectData;
@@ -213,8 +210,6 @@ struct _PyGObject_Functions *_PyGObject_API;
#define pyg_type_wrapper_new (_PyGObject_API->type_wrapper_new)
#define pyg_enum_get_value (_PyGObject_API->enum_get_value)
#define pyg_flags_get_value (_PyGObject_API->flags_get_value)
-/* This is deprecated, call pyg_register_gtype_custom directly instead */
-#define pyg_register_boxed_custom pyg_register_gtype_custom
#define pyg_register_gtype_custom (_PyGObject_API->register_gtype_custom)
#define pyg_value_from_pyobject (_PyGObject_API->value_from_pyobject)
#define pyg_value_as_pyobject (_PyGObject_API->value_as_pyobject)
@@ -392,18 +387,6 @@ pygobject_init(int req_major, int req_minor, int req_micro)
return gobject;
}
-/* deprecated macro, use pygobject_init() instead. */
-#define init_pygobject() G_STMT_START { \
- if (!pygobject_init(-1, -1, -1)) \
- return; \
-} G_STMT_END
-
-/* deprecated macro, use pygobject_init() instead. */
-#define init_pygobject_check(req_major, req_minor, req_micro) G_STMT_START { \
- if (!pygobject_init(req_major, req_minor, req_micro)) \
- return; \
-} G_STMT_END
-
/**
* PYLIST_FROMGLIBLIST:
* @type: the type of the GLib list e.g. #GList or #GSList