[Xfce4-commits] <ristretto:master> Remove debug output

Stephan Arts noreply at xfce.org
Mon Nov 15 20:26:01 CET 2010


Updating branch refs/heads/master
         to 565519daa73bc7a737739b3ea618d076b159c7be (commit)
       from 83c6c8c5be9cdb58c35e2d1a8b3046ae2bbcef8d (commit)

commit 565519daa73bc7a737739b3ea618d076b159c7be
Author: Stephan Arts <stephan at xfce.org>
Date:   Mon Nov 15 20:07:29 2010 +0100

    Remove debug output

 TODO              |    4 ++--
 src/image.c       |    2 +-
 src/main_window.c |    1 -
 src/thumbnailer.c |    1 -
 4 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/TODO b/TODO
index 14e25ff..ba678b5 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,6 @@
 - Implement preferences dialog
 - Generate and save thumbnails (DONE)
-    - Listen to Ready signal
+    - Listen to Ready signal (DONE)
 
 - Support setting wallpapers
     - nautilus
@@ -12,7 +12,7 @@
 - Write comments
 
 - Improve thumbnailbar
-- Save thumbnailbar size
+- Save thumbnailbar size (DONE)
 
 - Support image collections
     - Export to tarball/zip
diff --git a/src/image.c b/src/image.c
index 2e45a98..9b3c2ce 100644
--- a/src/image.c
+++ b/src/image.c
@@ -314,7 +314,7 @@ rstto_image_new (GFile *file)
 gboolean
 rstto_image_load (RsttoImage *image, gboolean empty_cache, gdouble scale, gboolean preload, GError **error)
 {
-    g_debug("%s: %f", __FUNCTION__, scale);
+    /* g_debug("%s: %f", __FUNCTION__, scale); */
     RsttoImageCache *cache;
 
     g_return_val_if_fail (image != NULL, FALSE);
diff --git a/src/main_window.c b/src/main_window.c
index 029ca7c..c84d3d8 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -702,7 +702,6 @@ rstto_main_window_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
     /* if the panel-position is unset, set it */
     if (gtk_paned_get_position (GTK_PANED(window->priv->vpaned_top)) == 0)
     {
-        g_debug ("set size");
         gtk_paned_set_position (GTK_PANED(window->priv->vpaned_top), rstto_settings_get_uint_property(window->priv->settings_manager, "thumbnailbar-size"));
         gtk_paned_set_position (GTK_PANED(window->priv->vpaned_bottom), window->priv->vpaned_bottom->allocation.height - rstto_settings_get_uint_property(window->priv->settings_manager, "thumbnailbar-size"));
 
diff --git a/src/thumbnailer.c b/src/thumbnailer.c
index 721e98f..ad6452b 100644
--- a/src/thumbnailer.c
+++ b/src/thumbnailer.c
@@ -341,7 +341,6 @@ cb_rstto_thumbnailer_request_finished (DBusGProxy *proxy, gint handle, gpointer
 static void
 cb_rstto_thumbnailer_thumbnail_ready (DBusGProxy *proxy, gint handle, const gchar **uri, gpointer data)
 {
-    /* g_debug("Ready"); */
     RsttoThumbnailer *thumbnailer = RSTTO_THUMBNAILER (data);
     RsttoThumbnail *thumbnail;
     RsttoImage *image;



More information about the Xfce4-commits mailing list