/soc/2013/ankitkv/gobjectification: 53531102aa3a: g-ir-scanner g...
Ankit Vani
a at nevitus.org
Sun Sep 29 08:32:14 EDT 2013
Changeset: 53531102aa3a8910cb686a373159afa07bd2523b
Author: Ankit Vani <a at nevitus.org>
Date: 2013-09-29 18:02 +0530
Branch: soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/53531102aa3a
Description:
g-ir-scanner gives a critical warning for PurpleMedia not being a GObject with USE_VV not defined
diffstat:
libpurple/media/backend-iface.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diffs (24 lines):
diff --git a/libpurple/media/backend-iface.c b/libpurple/media/backend-iface.c
--- a/libpurple/media/backend-iface.c
+++ b/libpurple/media/backend-iface.c
@@ -55,12 +55,17 @@ purple_media_backend_base_init(gpointer
NULL,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
g_object_interface_install_property(iface,
- g_param_spec_object("media",
- "Purple Media",
+#ifdef USE_VV
+ g_param_spec_object(
+#else
+ g_param_spec_pointer(
+#endif
+ "media", "Purple Media",
"The media object that this backend is bound to.",
+#ifdef USE_VV
PURPLE_TYPE_MEDIA,
+#endif
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
-
purple_media_backend_signals[S_ERROR] =
g_signal_new("error", G_TYPE_FROM_CLASS(iface),
G_SIGNAL_RUN_LAST, 0, NULL, NULL,
More information about the Commits
mailing list