discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=703199ef88fc0763a074994e323cf500a0b113bb

commit 703199ef88fc0763a074994e323cf500a0b113bb
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Jul 6 12:51:38 2015 -0400

    silence printf noise in screensaver and pkgkit module
---
 src/bin/e_comp.c                          |  2 --
 src/modules/packagekit/e_mod_packagekit.c | 22 +++++++++++-----------
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 1691773..c229002 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -848,7 +848,6 @@ _e_comp_screensaver_on(void *data EINA_UNUSED, int type 
EINA_UNUSED, void *event
    Eina_List *l;
    E_Zone *zone;
 
-   printf("_e_comp_screensaver_on\n");
    ecore_frametime = ecore_animator_frametime_get();
    if (e_comp->saver) return ECORE_CALLBACK_RENEW;
    e_comp_override_add();
@@ -872,7 +871,6 @@ _e_comp_screensaver_off(void *data EINA_UNUSED, int type 
EINA_UNUSED, void *even
    E_Zone *zone;
    E_Client *ec;
 
-   printf("_e_comp_screensaver_off\n");
    ecore_animator_frametime_set(ecore_frametime);
    if (!e_comp->saver) return ECORE_CALLBACK_RENEW;
    e_comp_override_del();
diff --git a/src/modules/packagekit/e_mod_packagekit.c 
b/src/modules/packagekit/e_mod_packagekit.c
index d1b1f1d..3aa6caf 100644
--- a/src/modules/packagekit/e_mod_packagekit.c
+++ b/src/modules/packagekit/e_mod_packagekit.c
@@ -46,7 +46,7 @@ packagekit_icon_update(E_PackageKit_Module_Context *ctxt,
           state = "packagekit,state,updated";
      }
 
-   DBG("PKGKIT: IconUpdate, %d updates available (%s)", count, state);
+   //DBG("PKGKIT: IconUpdate, %d updates available (%s)", count, state);
 
    if (count) snprintf(buf, sizeof(buf), "%d", count);
    EINA_LIST_FOREACH(ctxt->instances, l, inst)
@@ -256,7 +256,7 @@ signal_repo_detail_cb(void *data, const Eldbus_Message *msg)
         _store_error(ctxt, "could not get arguments (ssb)");
         return;
      }
-   DBG("PKGKIT: RepoDetail: (%d) %s [ %s ]", enabled, repo_id, desc);
+   //DBG("PKGKIT: RepoDetail: (%d) %s [ %s ]", enabled, repo_id, desc);
 }
 
 static void
@@ -265,7 +265,7 @@ signal_cache_finished_cb(void *data, const Eldbus_Message 
*msg)
    E_PackageKit_Module_Context *ctxt = data;
    const char *error, *error_msg;
 
-   DBG("PKGKIT: Cache Finished CB");
+   //DBG("PKGKIT: Cache Finished CB");
 
    if (eldbus_message_error_get(msg, &error, &error_msg))
      {
@@ -328,10 +328,10 @@ _signal_package_cb(void *data, const Eldbus_Message *msg)
         _store_error(ctxt, "could not get package arguments");
         return;
      }
-   if (PKITV07)
-     { DBG("PKGKIT: Package: (%s) %s [ %s ]", info_str, pkg_id, summary); }
-   else
-     { DBG("PKGKIT: Package: (%d) %s [ %s ]", info, pkg_id, summary); }
+   //if (PKITV07)
+     //{ DBG("PKGKIT: Package: (%s) %s [ %s ]", info_str, pkg_id, summary); }
+   //else
+     //{ DBG("PKGKIT: Package: (%d) %s [ %s ]", info, pkg_id, summary); }
 
    splitted = eina_str_split_full(pkg_id, ";", 2, &num_elements);
    if (num_elements == 2)
@@ -380,7 +380,7 @@ _signal_finished_cb(void *data, const Eldbus_Message *msg)
    E_FREE_FUNC(obj, eldbus_object_unref);
    E_FREE_FUNC(ctxt->error, eina_stringshare_del);
 
-   DBG("PKGKIT: PackageFinished");
+   //DBG("PKGKIT: PackageFinished");
    packagekit_icon_update(ctxt, EINA_FALSE);
 }
 
@@ -452,7 +452,7 @@ 
packagekit_create_transaction_and_exec(E_PackageKit_Module_Context *ctxt,
 {
    Eldbus_Pending *pending;
 
-   DBG("PKGKIT: Version: %d.%d.%d", ctxt->v_maj, ctxt->v_min, ctxt->v_mic);
+   //DBG("PKGKIT: Version: %d.%d.%d", ctxt->v_maj, ctxt->v_min, ctxt->v_mic);
 
    if (ctxt->transaction)
      {
@@ -524,7 +524,7 @@ packagekit_dbus_connect(E_PackageKit_Module_Context *ctxt)
 {
    Eldbus_Object *obj;
 
-   DBG("PKGKIT: dbus_init()");
+   //DBG("PKGKIT: dbus_init()");
    eldbus_init();
 
    ctxt->conn = eldbus_connection_get(ELDBUS_CONNECTION_TYPE_SYSTEM);
@@ -555,7 +555,7 @@ packagekit_dbus_disconnect(E_PackageKit_Module_Context 
*ctxt)
 {
    Eldbus_Object *obj;
 
-   DBG("PKGKIT: dbus_shutdown()");
+   //DBG("PKGKIT: dbus_shutdown()");
 
    if (ctxt->transaction)
      {

-- 


Reply via email to