[caribou/imcontext: 4/9] convert to Vala, yo.
- From: Eitan Isaacson <eitani src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [caribou/imcontext: 4/9] convert to Vala, yo.
- Date: Sat, 4 Jun 2011 21:09:45 +0000 (UTC)
commit 6cb8723ae1cab54102e0ee5cf0194d750e4195d2
Author: Eitan Isaacson <eitan monotonous org>
Date: Fri Jun 3 10:59:29 2011 -0700
convert to Vala, yo.
im/gtk3/Makefile.am | 12 ++-
im/gtk3/caribou-imcontext.c | 146 ----------------------------------------
im/gtk3/caribou-imcontext.h | 35 ----------
im/gtk3/caribou-imcontext.vala | 4 +
4 files changed, 12 insertions(+), 185 deletions(-)
---
diff --git a/im/gtk3/Makefile.am b/im/gtk3/Makefile.am
index 9e69b24..5f2780f 100644
--- a/im/gtk3/Makefile.am
+++ b/im/gtk3/Makefile.am
@@ -2,10 +2,14 @@ immoduledir = @GTK3_IM_MODULEDIR@
immodule_LTLIBRARIES = im-caribou.la
im_caribou_la_SOURCES = \
- caribou-im.c \
- caribou-imcontext.c \
- caribou-imcontext.h \
- $(NULL)
+ caribou-im.c \
+ caribou-imcontext.vala \
+ $(NULL)
+
+im_caribou_la_VALAFLAGS = \
+ -h caribou-imcontext.h \
+ --pkg gtk+-3.0 \
+ $(VALAGLAFS)
im_caribou_la_CFLAGS = \
@GTK3_CFLAGS@ \
diff --git a/im/gtk3/caribou-imcontext.vala b/im/gtk3/caribou-imcontext.vala
new file mode 100644
index 0000000..9af874c
--- /dev/null
+++ b/im/gtk3/caribou-imcontext.vala
@@ -0,0 +1,4 @@
+namespace Caribou {
+ class IMContext : Gtk.IMContext {
+ }
+}
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]