unbreak with upcoming gobject-introspection.

patches have been pushed upstream.
This commit is contained in:
jasper 2013-03-28 13:08:58 +00:00
parent 79f06cf883
commit 1ac23e39b8
3 changed files with 56 additions and 2 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.10 2013/03/11 11:10:52 espie Exp $
# $OpenBSD: Makefile,v 1.11 2013/03/28 13:08:58 jasper Exp $
COMMENT= canvas widget for GTK+ based on Cairo
GNOME_PROJECT= goocanvas
GNOME_VERSION= 2.0.1
PKGNAME= goocanvas2-${GNOME_VERSION}
REVISION= 0
REVISION= 1
SHARED_LIBS += goocanvas-2.0 0.0 # 11.0
CATEGORIES= graphics

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-src_goocanvasitem_c,v 1.1 2013/03/28 13:08:58 jasper Exp $
From 2088843efb50f05b8965340eddbf7c0103c6eef1 Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
Date: Thu, 28 Mar 2013 10:22:08 +0000
Subject: Use GObject.Object instead of GLib.Object in introspection annotations
--- src/goocanvasitem.c.orig Thu Mar 28 11:19:56 2013
+++ src/goocanvasitem.c Thu Mar 28 11:20:44 2013
@@ -397,7 +397,7 @@ goo_canvas_item_base_init (gpointer g_iface)
/**
* GooCanvasItem::child-notify
* @item: the item that received the signal.
- * @pspec: (type GLib.ParamSpec): the #GParamSpec of the changed child property.
+ * @pspec: (type GObject.ParamSpec): the #GParamSpec of the changed child property.
*
* Emitted for each child property that has changed.
* The signal's detail holds the property name.

View File

@ -0,0 +1,36 @@
$OpenBSD: patch-src_goocanvasitemmodel_c,v 1.1 2013/03/28 13:08:58 jasper Exp $
From 2088843efb50f05b8965340eddbf7c0103c6eef1 Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
Date: Thu, 28 Mar 2013 10:22:08 +0000
Subject: Use GObject.Object instead of GLib.Object in introspection annotations
--- src/goocanvasitemmodel.c.orig Thu Mar 28 11:20:01 2013
+++ src/goocanvasitemmodel.c Thu Mar 28 11:20:31 2013
@@ -186,7 +186,7 @@ goo_canvas_item_model_base_init (gpointer g_iface)
/**
* GooCanvasItemModel::child-notify
* @item: the item model that received the signal.
- * @pspec: (type GLib.ParamSpec): the #GParamSpec of the changed child property.
+ * @pspec: (type GObject.ParamSpec): the #GParamSpec of the changed child property.
*
* Emitted for each child property that has changed.
* The signal's detail holds the property name.
@@ -1126,7 +1126,7 @@ goo_canvas_item_model_class_install_child_property (GO
*
* It finds a child property of a canvas item class by name.
*
- * Returns: (type GLib.ParamSpec) (transfer none): The #GParamSpec of the child
+ * Returns: (type GObject.ParamSpec) (transfer none): The #GParamSpec of the child
* property or %NULL if @class has no child property with that name.
*/
GParamSpec*
@@ -1152,7 +1152,7 @@ goo_canvas_item_model_class_find_child_property (GObje
*
* It returns all child properties of a canvas item class.
*
- * Returns: (array length=n_properties) (element-type GLib.ParamSpec) (transfer container):
+ * Returns: (array length=n_properties) (element-type GObject.ParamSpec) (transfer container):
* a newly allocated array of #GParamSpec*. The array must be freed with g_free().
*/
GParamSpec**