[libpeas] Do not expose the old peas_extension_set_call* API to g-ir-scanner
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Do not expose the old peas_extension_set_call* API to g-ir-scanner
- Date: Wed, 21 Sep 2011 09:32:22 +0000 (UTC)
commit 0cef9606b4eebe757388d75cec70a53c3e852682
Author: Garrett Regier <garrettregier gmail com>
Date: Thu Sep 1 16:59:02 2011 -0700
Do not expose the old peas_extension_set_call* API to g-ir-scanner
We hide all the peas_extension_set_call* API as this
deprecated API is not in a good shape for GI anyway.
libpeas/peas-extension-set.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libpeas/peas-extension-set.h b/libpeas/peas-extension-set.h
index af97a84..4d89eee 100644
--- a/libpeas/peas-extension-set.h
+++ b/libpeas/peas-extension-set.h
@@ -112,7 +112,7 @@ typedef void (*PeasExtensionSetForeachFunc) (PeasExtensionSet *set,
*/
GType peas_extension_set_get_type (void) G_GNUC_CONST;
-#ifndef PEAS_DISABLE_DEPRECATED
+#if !defined(PEAS_DISABLE_DEPRECATED) && !defined(__GI_SCANNER__)
gboolean peas_extension_set_call (PeasExtensionSet *set,
const gchar *method_name,
...);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]