[clutter/clutter-1.8] Revert "Warning messages": it was pushed by purely stupidity



commit e13825c2bdf486cbaef0c1800472004f6ba76d35
Author: Alejandro PiÃeiro <apinheiro igalia com>
Date:   Tue Feb 14 17:07:17 2012 +0100

    Revert "Warning messages": it was pushed by purely stupidity
    
    This reverts commit 755216cbbecbd36c506c40599787b7d623201436.

 clutter/cally/cally-actor.c |    5 -----
 clutter/clutter-actor.c     |    2 --
 clutter/clutter-stage.c     |   13 +------------
 3 files changed, 1 insertions(+), 19 deletions(-)
---
diff --git a/clutter/cally/cally-actor.c b/clutter/cally/cally-actor.c
index 17ead1c..b3bf24f 100644
--- a/clutter/cally/cally-actor.c
+++ b/clutter/cally/cally-actor.c
@@ -102,7 +102,6 @@
 
 #include <glib.h>
 #include <clutter/clutter.h>
-#include "clutter-actor-private.h"
 
 #ifdef HAVE_CLUTTER_GLX
 #include <clutter/x11/clutter-x11.h>
@@ -1137,8 +1136,6 @@ cally_actor_focus_clutter (ClutterActor *actor,
   CallyActor      *cally_actor = NULL;
   CallyActorClass *klass       = NULL;
 
-  g_print ("[cally] focus change %s:%i\n", _clutter_actor_get_debug_name (actor), GPOINTER_TO_INT (data));
-
   cally_actor = CALLY_ACTOR (clutter_actor_get_accessible (actor));
   klass = CALLY_ACTOR_GET_CLASS (cally_actor);
   if (klass->focus_clutter)
@@ -1158,8 +1155,6 @@ cally_actor_real_focus_clutter (ClutterActor *actor,
   in = GPOINTER_TO_INT (data);
   cally_actor = CALLY_ACTOR (clutter_actor_get_accessible (actor));
 
-  g_print ("[cally] real focus change %s:%i\n", _clutter_actor_get_debug_name (actor), in);
-
   g_signal_emit_by_name (cally_actor, "focus_event", in, &return_val);
   atk_focus_tracker_notify (ATK_OBJECT (cally_actor));
 
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index f6c9dfd..cbc6c63 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -10689,8 +10689,6 @@ clutter_actor_grab_key_focus (ClutterActor *self)
 
   g_return_if_fail (CLUTTER_IS_ACTOR (self));
 
-  g_print ("[clutter] grab_key_focus %s\n", _clutter_actor_get_debug_name (self));
-
   stage = _clutter_actor_get_stage_internal (self);
   if (stage != NULL)
     clutter_stage_set_key_focus (CLUTTER_STAGE (stage), self);
diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c
index 59370ed..e8471bb 100644
--- a/clutter/clutter-stage.c
+++ b/clutter/clutter-stage.c
@@ -2856,11 +2856,6 @@ clutter_stage_set_key_focus (ClutterStage *stage,
   g_return_if_fail (CLUTTER_IS_STAGE (stage));
   g_return_if_fail (actor == NULL || CLUTTER_IS_ACTOR (actor));
 
-  if (actor != NULL)
-    g_print ("[clutter-stage] set_key_focus %s\n", _clutter_actor_get_debug_name (actor));
-  else
-    g_print ("[clutter-stage] set_key_focus %s\n", "NULL");
-
   priv = stage->priv;
 
   if (priv->key_focused_actor == actor)
@@ -2901,16 +2896,10 @@ clutter_stage_set_key_focus (ClutterStage *stage,
       g_object_weak_ref (G_OBJECT (actor),
 			 on_key_focused_weak_notify,
 			 stage);
-
-      g_print ("[clutter-stage] actor!=NULL emitting key-focus-in for actor %s\n", _clutter_actor_get_debug_name (actor));
       g_signal_emit_by_name (priv->key_focused_actor, "key-focus-in");
-
     }
   else
-    {
-      g_print ("[clutter-stage] actor==NULL emitting key-focus-in\n");
-      g_signal_emit_by_name (stage, "key-focus-in");
-    }
+    g_signal_emit_by_name (stage, "key-focus-in");
 
   g_object_notify (G_OBJECT (stage), "key-focus");
 }



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