[gtranslator] Remove debug statements



commit 2a0e7f8020462193d4635c6cdf2c4078f2964bb1
Author: Seán de Búrca <leftmostcat gmail com>
Date:   Tue Feb 3 00:49:00 2015 -0700

    Remove debug statements

 src/gtr-application.c   |    2 --
 src/gtr-context.c       |    2 --
 src/gtr-message-table.c |    2 --
 src/gtr-notebook.c      |    2 --
 src/gtr-po.c            |    3 ---
 src/gtr-tab.c           |    3 ---
 src/gtr-view.c          |    2 --
 src/gtr-window.c        |    4 ----
 8 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/src/gtr-application.c b/src/gtr-application.c
index 7d7dc19..fcd57d3 100644
--- a/src/gtr-application.c
+++ b/src/gtr-application.c
@@ -230,8 +230,6 @@ gtr_application_dispose (GObject * object)
 {
   GtrApplicationPrivate *priv = GTR_APPLICATION (object)->priv;
 
-  DEBUG_PRINT ("Disposing app");
-
   g_clear_object (&priv->settings);
   g_clear_object (&priv->window_settings);
   g_clear_object (&priv->icon_factory);
diff --git a/src/gtr-context.c b/src/gtr-context.c
index 67bfd64..2b953ac 100644
--- a/src/gtr-context.c
+++ b/src/gtr-context.c
@@ -453,8 +453,6 @@ gtr_context_panel_dispose (GObject *object)
 
   priv = gtr_context_panel_get_instance_private(panel);
 
-  DEBUG_PRINT ("Dispose context");
-
   g_clear_object (&priv->hand_cursor);
   g_clear_object (&priv->regular_cursor);
 
diff --git a/src/gtr-message-table.c b/src/gtr-message-table.c
index f2da11e..0b597f7 100644
--- a/src/gtr-message-table.c
+++ b/src/gtr-message-table.c
@@ -242,8 +242,6 @@ gtr_message_table_init (GtrMessageTable * table)
 static void
 gtr_message_table_finalize (GObject * object)
 {
-  DEBUG_PRINT ("Finalize message table");
-
   G_OBJECT_CLASS (gtr_message_table_parent_class)->finalize (object);
 }
 
diff --git a/src/gtr-notebook.c b/src/gtr-notebook.c
index 712a4c1..4a0a59a 100644
--- a/src/gtr-notebook.c
+++ b/src/gtr-notebook.c
@@ -106,8 +106,6 @@ gtr_notebook_init (GtrNotebook * notebook)
 static void
 gtr_notebook_finalize (GObject * object)
 {
-  DEBUG_PRINT ("Finalize notebook");
-
   G_OBJECT_CLASS (gtr_notebook_parent_class)->finalize (object);
 }
 
diff --git a/src/gtr-po.c b/src/gtr-po.c
index 0a83785..9130a89 100644
--- a/src/gtr-po.c
+++ b/src/gtr-po.c
@@ -1236,9 +1236,6 @@ gtr_po_get_untranslated_count (GtrPo * po)
 {
   g_return_val_if_fail (GTR_IS_PO (po), -1);
 
-  /*DEBUG_PRINT ("length: %d | translated: %d | fuzzy: %d | untranslated: %d", g_list_length 
(po->priv->messages),
-     po->priv->translated, po->priv->fuzzy, (g_list_length (po->priv->messages) - po->priv->translated - 
po->priv->fuzzy)); */
-
   return (g_list_length (po->priv->messages) - po->priv->translated -
           po->priv->fuzzy);
 }
diff --git a/src/gtr-tab.c b/src/gtr-tab.c
index 4632280..dd47b11 100644
--- a/src/gtr-tab.c
+++ b/src/gtr-tab.c
@@ -603,7 +603,6 @@ gtr_tab_finalize (GObject * object)
   GtrTabPrivate *priv;
 
   priv = gtr_tab_get_instance_private (tab);
-  DEBUG_PRINT ("Finalize tab");
 
   if (priv->timer != NULL)
     g_timer_destroy (priv->timer);
@@ -619,8 +618,6 @@ gtr_tab_dispose (GObject * object)
 {
   GtrTabPrivate *priv;
 
-  DEBUG_PRINT ("Dispose tab");
-
   priv = gtr_tab_get_instance_private (GTR_TAB (object));
 
   g_clear_object (&priv->po);
diff --git a/src/gtr-view.c b/src/gtr-view.c
index 7f58ee9..451b139 100644
--- a/src/gtr-view.c
+++ b/src/gtr-view.c
@@ -170,8 +170,6 @@ gtr_view_dispose (GObject * object)
   GtrView *view = GTR_VIEW (object);
   GtrViewPrivate *priv;
 
-  DEBUG_PRINT ("Dispose view");
-
   priv = gtr_view_get_instance_private (view);
 
   g_clear_object (&priv->editor_settings);
diff --git a/src/gtr-window.c b/src/gtr-window.c
index 366313e..9ca8822 100644
--- a/src/gtr-window.c
+++ b/src/gtr-window.c
@@ -666,8 +666,6 @@ gtr_window_dispose (GObject * object)
   GtrWindow *window = GTR_WINDOW (object);
   GtrWindowPrivate *priv = gtr_window_get_instance_private(window);
 
-  DEBUG_PRINT ("window dispose");
-
   if (!priv->dispose_has_run)
     {
       save_panes_state (window);
@@ -684,8 +682,6 @@ gtr_window_dispose (GObject * object)
 static void
 gtr_window_finalize (GObject * object)
 {
-  DEBUG_PRINT ("Finalize window");
-
   G_OBJECT_CLASS (gtr_window_parent_class)->finalize (object);
 }
 


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