Minor fixes when generating GIR.
authorDaiki Ueno <ueno@unixuser.org>
Tue, 31 Jan 2012 03:56:27 +0000 (12:56 +0900)
committerDaiki Ueno <ueno@unixuser.org>
Tue, 31 Jan 2012 03:56:27 +0000 (12:56 +0900)
BUG=none
TEST=manually

Review URL: https://codereview.appspot.com/5600052

src/Makefile.am
src/ibusengine.h
src/ibusfactory.h

index 6f0321c..68950ff 100644 (file)
@@ -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))
index ac56248..9ee3462 100644 (file)
@@ -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.
  *
index 03d1dea..e5e6fba 100644 (file)
@@ -127,6 +127,7 @@ struct _IBusFactoryClass {
     /*< private >*/
     IBusServiceClass parent;
 
+    /*< public >*/
     /* signals */
     IBusEngine *
                 (* create_engine)