[caribou] Remove print statements from gtk



commit 1bc2479ec4edae627030282b8021d04dac015c85
Author: Nohemi Fernandez <nf68 cornell edu>
Date:   Fri Jul 1 13:32:25 2011 -0500

    Remove print statements from gtk

 im/gtk3/caribou-imcontext.vala |   15 ++++-----------
 1 files changed, 4 insertions(+), 11 deletions(-)
---
diff --git a/im/gtk3/caribou-imcontext.vala b/im/gtk3/caribou-imcontext.vala
index 778014c..c929cb4 100644
--- a/im/gtk3/caribou-imcontext.vala
+++ b/im/gtk3/caribou-imcontext.vala
@@ -27,7 +27,7 @@ namespace Caribou {
 #endif
         }
 
-        private Atk.Object? find_focused_accessible (Atk.Object acc) {          
+        private Atk.Object? find_focused_accessible (Atk.Object acc) {
             Atk.StateSet state = acc.ref_state_set ();
 
             bool match = (state.contains_state (Atk.StateType.EDITABLE) &&
@@ -82,9 +82,8 @@ namespace Caribou {
 
                     if (widget is Gtk.Editable) {
                         /* Well behaved app */
-                        stdout.printf ("Well behaved app!\n");
                         get_origin_geometry (window, out x, out y, out w, out h);
-                    } else { 
+                    } else {
                         Atk.Object acc = widget.get_accessible ();
                         if (acc.get_role () == Atk.Role.REDUNDANT_OBJECT) {
                             /* It is probably Gecko */
@@ -96,9 +95,6 @@ namespace Caribou {
                         }
                     }
 
-                    stdout.printf ("focus_in %p %s %d %d %d %d\n", this,
-                                   window.is_visible ().to_string (), x, y, w, h);
-
                     try {
                         keyboard.show ();
                         keyboard.set_entry_location (x, y, w, h);
@@ -108,11 +104,9 @@ namespace Caribou {
                     return false;
                 });
         }
-                
+
 
         public override void focus_out () {
-            stdout.printf ("focus_out %p %s\n", this,
-                           window.is_visible ().to_string ());
             try {
                 keyboard.hide ();
             } catch (IOError e) {
@@ -130,7 +124,6 @@ namespace Caribou {
             } catch (Error e) {
                 stderr.printf ("%s\n", e.message);
             }
-            stdout.printf ("set_client_window %p %p\n", this, window);
         }
     }
-}
\ No newline at end of file
+}



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