Cleanup the vala code of gtk3 panel and tool by:
[platform/upstream/ibus.git] / ui / gtk3 / application.vala
index b54821c..fd9ade7 100644 (file)
  * Boston, MA  02111-1307  USA
  */
 
-using IBus;
-using GLib;
-using Gtk;
-
-public extern const string GETTEXT_PACKAGE;
-public extern const string GLIB_LOCALE_DIR;
-
 class Application {
     private IBus.Bus m_bus;
     private Panel m_panel;
     private IBus.Config m_config;
 
     public Application(string[] argv) {
-        GLib.Intl.bindtextdomain(GETTEXT_PACKAGE, GLIB_LOCALE_DIR);
-        GLib.Intl.bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
+        GLib.Intl.bindtextdomain(Config.GETTEXT_PACKAGE,
+                                 Config.GLIB_LOCALE_DIR);
+        GLib.Intl.bind_textdomain_codeset(Config.GETTEXT_PACKAGE, "UTF-8");
         IBus.init();
         Gtk.init(ref argv);