[gnome-control-center] background: Add debug to get_screenshot_async()



commit f4a8e0a73c2dc01bcaa8545fa399b944239f4201
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Sep 27 20:37:01 2012 +0200

    background: Add debug to get_screenshot_async()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684985

 panels/background/cc-background-panel.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/panels/background/cc-background-panel.c b/panels/background/cc-background-panel.c
index f343f23..e8d16a1 100644
--- a/panels/background/cc-background-panel.c
+++ b/panels/background/cc-background-panel.c
@@ -302,6 +302,9 @@ get_screenshot_async (CcBackgroundPanel *panel,
   const gchar *method_name;
   GVariant *method_params;
 
+  g_debug ("Trying to capture rectangle %dx%d (at %d,%d)",
+           rectangle->width, rectangle->height, rectangle->x, rectangle->y);
+
   path = g_build_filename (g_get_user_cache_dir (), "gnome-control-center", NULL);
   g_mkdir_with_parents (path, 0700);
 



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