[gtranslator] Bump api version to 3.0. Let's follow the gtk+ 3 movement ; )



commit 55e2b931d58ff90d8a50ee8d6868e7fbc77bd5a9
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Mar 28 22:22:04 2011 +0200

    Bump api version to 3.0. Let's follow the gtk+ 3 movement ;)

 configure.ac                                       |    2 +-
 .../gtr-alternate-language.plugin.desktop.in       |    2 +-
 plugins/charmap/gtr-charmap.plugin.desktop.in      |    2 +-
 plugins/codeview/gtr-codeview.plugin.desktop.in    |    2 +-
 plugins/dictionary/gtr-dict.plugin.desktop.in      |    2 +-
 .../fullscreen/gtr-fullscreen.plugin.desktop.in    |    2 +-
 .../gtr-insert-params.plugin.desktop.in            |    2 +-
 plugins/open-tran/gtr-open-tran.plugin.desktop.in  |    2 +-
 src/Makefile.am                                    |   14 +++++++-------
 src/gtr-plugins-engine.c                           |    2 +-
 10 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 50ef4ba..a386a21 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,7 +10,7 @@ AC_CONFIG_SRCDIR([src/main.c])
 AC_CONFIG_HEADER([config.h])
 AC_CONFIG_MACRO_DIR([m4])
 
-GTR_API_VERSION=2.0
+GTR_API_VERSION=3.0
 AC_SUBST(GTR_API_VERSION)
 
 AM_INIT_AUTOMAKE([1.10 check-news])
diff --git a/plugins/alternate-language/gtr-alternate-language.plugin.desktop.in b/plugins/alternate-language/gtr-alternate-language.plugin.desktop.in
index 07425fa..62edec5 100644
--- a/plugins/alternate-language/gtr-alternate-language.plugin.desktop.in
+++ b/plugins/alternate-language/gtr-alternate-language.plugin.desktop.in
@@ -1,6 +1,6 @@
 [Plugin]
 Module=alternatelang
-IAge=2
+IAge=3
 _Name=Alternate Language
 _Description=Load an alternate language.
 Authors=Ignacio Casal Quinteiro <icq gnome org>
diff --git a/plugins/charmap/gtr-charmap.plugin.desktop.in b/plugins/charmap/gtr-charmap.plugin.desktop.in
index 84cf7bb..3949c5f 100644
--- a/plugins/charmap/gtr-charmap.plugin.desktop.in
+++ b/plugins/charmap/gtr-charmap.plugin.desktop.in
@@ -1,7 +1,7 @@
 [Plugin]
 Loader=python
 Module=charmap
-IAge=2
+IAge=3
 _Name=Character Map
 _Description=Insert special characters just by clicking on them.
 Icon=gucharmap
diff --git a/plugins/codeview/gtr-codeview.plugin.desktop.in b/plugins/codeview/gtr-codeview.plugin.desktop.in
index eaf8713..9178227 100644
--- a/plugins/codeview/gtr-codeview.plugin.desktop.in
+++ b/plugins/codeview/gtr-codeview.plugin.desktop.in
@@ -1,6 +1,6 @@
 [Plugin]
 Module=sourcecodeview
-IAge=2
+IAge=3
 _Name=Source Code View
 _Description=Show the message in the source code.
 Authors=Ignacio Casal Quinteiro <icq gnome org>
diff --git a/plugins/dictionary/gtr-dict.plugin.desktop.in b/plugins/dictionary/gtr-dict.plugin.desktop.in
index 6759e9e..ec260e1 100644
--- a/plugins/dictionary/gtr-dict.plugin.desktop.in
+++ b/plugins/dictionary/gtr-dict.plugin.desktop.in
@@ -1,6 +1,6 @@
 [Plugin]
 Module=dict
-IAge=2
+IAge=3
 _Name=Dictionary
 _Description=Look up words in a dictionary.
 Icon=gnome-dictionary
diff --git a/plugins/fullscreen/gtr-fullscreen.plugin.desktop.in b/plugins/fullscreen/gtr-fullscreen.plugin.desktop.in
index 37df5e2..502dd0e 100644
--- a/plugins/fullscreen/gtr-fullscreen.plugin.desktop.in
+++ b/plugins/fullscreen/gtr-fullscreen.plugin.desktop.in
@@ -1,6 +1,6 @@
 [Plugin]
 Module=fullscreen
-IAge=2
+IAge=3
 _Name=Fullscreen
 _Description=Place window in the fullscreen state.
 Authors=Ignacio Casal Quinteiro <icq gnome org>
diff --git a/plugins/insert-params/gtr-insert-params.plugin.desktop.in b/plugins/insert-params/gtr-insert-params.plugin.desktop.in
index 0995d4d..7417159 100644
--- a/plugins/insert-params/gtr-insert-params.plugin.desktop.in
+++ b/plugins/insert-params/gtr-insert-params.plugin.desktop.in
@@ -1,6 +1,6 @@
 [Plugin]
 Module=insertparams
-IAge=2
+IAge=3
 _Name=Insert Params or Tags
 _Description=Parameters and tags detection featuring easy insertion.
 Authors=Ignacio Casal Quinteiro <icq gnome org>
diff --git a/plugins/open-tran/gtr-open-tran.plugin.desktop.in b/plugins/open-tran/gtr-open-tran.plugin.desktop.in
index 9da5811..7adca50 100644
--- a/plugins/open-tran/gtr-open-tran.plugin.desktop.in
+++ b/plugins/open-tran/gtr-open-tran.plugin.desktop.in
@@ -1,6 +1,6 @@
 [Plugin]
 Module=opentran
-IAge=2
+IAge=3
 _Name=Open Tran
 _Description=Look for phrases in Open tran memory translation database.
 Icon=open-tran
diff --git a/src/Makefile.am b/src/Makefile.am
index 22f7f7a..175a4ba 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -160,15 +160,15 @@ CLEANFILES = $(BUILT_SOURCES)
 
 if HAVE_INTROSPECTION
 -include $(INTROSPECTION_MAKEFILE)
-INTROSPECTION_GIRS = Gtranslator-2.0.gir
+INTROSPECTION_GIRS = Gtranslator-3.0.gir
 
-Gtranslator-2.0.gir: gtranslator
+Gtranslator-3.0.gir: gtranslator
 INTROSPECTION_SCANNER_ARGS = -I$(top_srcdir) --warn-all --identifier-prefix=Gtr
-Gtranslator_2_0_gir_NAMESPACE = Gtranslator
-Gtranslator_2_0_gir_VERSION = 2.0
-Gtranslator_2_0_gir_PROGRAM = $(builddir)/gtranslator
-Gtranslator_2_0_gir_FILES = $(INST_H_FILES) $(libgtranslator_c_files)
-Gtranslator_2_0_gir_INCLUDES = Gtk-3.0 GtkSource-3.0
+Gtranslator_3_0_gir_NAMESPACE = Gtranslator
+Gtranslator_3_0_gir_VERSION = 3.0
+Gtranslator_3_0_gir_PROGRAM = $(builddir)/gtranslator
+Gtranslator_3_0_gir_FILES = $(INST_H_FILES) $(libgtranslator_c_files)
+Gtranslator_3_0_gir_INCLUDES = Gtk-3.0 GtkSource-3.0
 
 girdir = $(datadir)/gtranslator/gir-1.0
 gir_DATA = $(INTROSPECTION_GIRS)
diff --git a/src/gtr-plugins-engine.c b/src/gtr-plugins-engine.c
index 68e69c2..96de3ac 100644
--- a/src/gtr-plugins-engine.c
+++ b/src/gtr-plugins-engine.c
@@ -73,7 +73,7 @@ gtr_plugins_engine_init (GtrPluginsEngine * engine)
                                   "girepository-1.0", NULL);
 
   if (!g_irepository_require_private (g_irepository_get_default (),
-                                      typelib_dir, "Gtranslator", "2.0", 0, &error))
+                                      typelib_dir, "Gtranslator", "3.0", 0, &error))
     {
       g_warning ("Could not load Gtr repository: %s", error->message);
       g_error_free (error);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]