From deaa090367c89128490a9247a7d0fd5d1b21149c Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Tue, 31 Jan 2012 12:56:27 +0900 Subject: [PATCH] Minor fixes when generating GIR. BUG=none TEST=manually Review URL: https://codereview.appspot.com/5600052 --- src/Makefile.am | 4 ++-- src/ibusengine.h | 6 +++--- src/ibusfactory.h | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 6f0321c..68950ff 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -165,12 +165,12 @@ BUILT_SOURCES = \ if HAVE_INTROSPECTION introspection_files = \ $(ibus_public_headers) \ - $(ibus_c_sources) \ + $(ibus_sources) \ ibusenumtypes.c \ ibusenumtypes.h \ $(NULL) IBus-1.0.gir: $(libibus) Makefile -IBus_1_0_gir_SCANNERFLAGS = --pkg=glib-2.0 $(IBUS_GIR_SCANNERFLAGS) +IBus_1_0_gir_SCANNERFLAGS = --pkg=ibus-1.0 $(IBUS_GIR_SCANNERFLAGS) IBus_1_0_gir_INCLUDES = GLib-2.0 GObject-2.0 Gio-2.0 IBus_1_0_gir_LIBS = $(libibus) IBus_1_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_files)) diff --git a/src/ibusengine.h b/src/ibusengine.h index ac56248..9ee3462 100644 --- a/src/ibusengine.h +++ b/src/ibusengine.h @@ -408,9 +408,9 @@ void ibus_engine_delete_surrounding_text(IBusEngine *engine, /** * ibus_engine_get_surrounding_text: * @engine: An IBusEngine. - * @text: (allow-none): Location to store surrounding text. - * @cursor_pos: (allow-none): Cursor position in characters in @text. - * @anchor_pos: (allow-none): Anchor position of selection in @text. + * @text: (out) (transfer none) (allow-none): Location to store surrounding text. + * @cursor_pos: (out) (allow-none): Cursor position in characters in @text. + * @anchor_pos: (out) (allow-none): Anchor position of selection in @text. * * Get surrounding text. * diff --git a/src/ibusfactory.h b/src/ibusfactory.h index 03d1dea..e5e6fba 100644 --- a/src/ibusfactory.h +++ b/src/ibusfactory.h @@ -127,6 +127,7 @@ struct _IBusFactoryClass { /*< private >*/ IBusServiceClass parent; + /*< public >*/ /* signals */ IBusEngine * (* create_engine) -- 2.7.4