Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
2005-10-28 Veerapuram Varadhan <vvaradhan@novell.com>
Browse files Browse the repository at this point in the history
	Fixes 316120, b.x.c: 76185
	* gsf/Gsf.metadata: Hide the Get/Set methods for DocProp value.
	* gsf/DocProp.custom: Tweaks to work around odd API in libgsf that returns GValue*.  This uses the glue code as the workaround.
	* glue/gsf-doc-prop-glue.c: Wrapper for gsf_doc_prop_get_val and gsf_doc_prop_set_val functions.
	* glue/gsf-doc-prop-glue.h: Glue header.
	* glue/Makefile.am: Make script.
	* makefile.am: build glue code
	* configure.in: -- ditto --
	

svn path=/trunk/gsf-sharp/; revision=52341
  • Loading branch information
joeshaw committed Oct 28, 2005
1 parent 174b216 commit a8d5e84
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
13 changes: 12 additions & 1 deletion ChangeLog
@@ -1,4 +1,15 @@
2004-08-18 Joe Shaw <joeshaw@novell.com>
2005-10-28 Veerapuram Varadhan <vvaradhan@novell.com>

Fixes 316120, b.x.c: 76185
* gsf/Gsf.metadata: Hide the Get/Set methods for DocProp value.
* gsf/DocProp.custom: Tweaks to work around odd API in libgsf that returns GValue*. This uses the glue code as the workaround.
* glue/gsf-doc-prop-glue.c: Wrapper for gsf_doc_prop_get_val and gsf_doc_prop_set_val functions.
* glue/gsf-doc-prop-glue.h: Glue header.
* glue/Makefile.am: Make script.
* makefile.am: build glue code
* configure.in: -- ditto --

2005-08-18 Joe Shaw <joeshaw@novell.com>

* gsf/makefile.am: Install gsf-api.xml into gapi-2.0 dir in
$datadir, not whatever prefix gtk-sharp is in.
Expand Down
1 change: 1 addition & 0 deletions configure.in
Expand Up @@ -85,4 +85,5 @@ gsf/AssemblyInfo.cs
gsf/gsf-sharp.dll.config
gsf/makefile
gsf-sharp.pc
glue/Makefile
])
6 changes: 5 additions & 1 deletion gsf/Gsf.metadata
Expand Up @@ -57,6 +57,11 @@

<!-- And now clean up the API a bit -->
<attr path="/api/namespace/struct[@cname='GsfDocProp']/method[@name='GetVal']/return-type" name="type">const-GValue*</attr>

<attr path="/api/namespace/struct[@cname='GsfDocProp']/method[@cname='gsf_doc_prop_get_val']" name="hidden">1</attr>
<attr path="/api/namespace/struct[@cname='GsfDocProp']/method[@cname='gsf_doc_prop_set_val']" name="hidden">1</attr>
<attr path="/api/namespace/struct[@cname='GsfDocProp']/property[@name='Val']" name="hidden">1</attr>

<attr path="/api/namespace/object[@cname='GsfInput']/method[@name='Size']" name="name">GetSize</attr>
<attr path="/api/namespace/object[@cname='GsfInput']/method[@name='Remaining']" name="name">GetRemaining</attr>
<attr path="/api/namespace/object[@cname='GsfInput']/method[@name='Eof']" name="name">GetEof</attr>
Expand All @@ -75,5 +80,4 @@
<attr path="/api/namespace/object[@cname='GsfOutputStdio']/constructor[@cname='gsf_output_stdio_new_valist']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GsfInputMemory']/constructor[@cname='gsf_input_memory_new_from_iochannel']" name="hidden">1</attr>
<attr path="/api/namespace/boxed[@cname='GsfTimestamp']/field[@name='Date']" name="hidden">1</attr>

</metadata>
2 changes: 1 addition & 1 deletion gsf/makefile.am
Expand Up @@ -4,7 +4,7 @@ APIS= gsf-api.xml

ASSEMBLIES= /pkg:gtk-sharp-2.0

CUSTOM_FILES = Global.custom Input.custom Output.custom
CUSTOM_FILES = Global.custom Input.custom Output.custom DocProp.custom

EXTRA_DIST = $(sources) Gsf.metadata gsf-api.raw AssemblyInfo.cs.in $(CUSTOM_FILES)

Expand Down
2 changes: 1 addition & 1 deletion makefile.am
@@ -1,5 +1,5 @@

SUBDIRS= gsf
SUBDIRS= gsf glue
EXTRA_DIST= gsf-sharp.pc.in gtk-sharp.snk

pkgconfigdir = @libdir@/pkgconfig
Expand Down

0 comments on commit a8d5e84

Please sign in to comment.