summaryrefslogtreecommitdiff
path: root/eel/eel-background.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-12-03 21:59:35 +0200
committerJasmine Hassan <[email protected]>2012-12-03 21:59:35 +0200
commit2665b684fda835cfa6a485b6e2c8c0a98190facb (patch)
treeb47b0816e8ed67229eb5c5fb6de5b2178889ed12 /eel/eel-background.c
parentdf3d039e68b2d2bc5a3a8ec6cb1c97483096bc6b (diff)
downloadcaja-2665b684fda835cfa6a485b6e2c8c0a98190facb.tar.bz2
caja-2665b684fda835cfa6a485b6e2c8c0a98190facb.tar.xz
[eel-background] remove debug messages prev added to screen_size_changed
The issue that was being debugged (crashes on VM window resize) is now fixed.
Diffstat (limited to 'eel/eel-background.c')
-rw-r--r--eel/eel-background.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/eel/eel-background.c b/eel/eel-background.c
index a77834d8..c2ee1828 100644
--- a/eel/eel-background.c
+++ b/eel/eel-background.c
@@ -652,32 +652,15 @@ eel_background_transitioned (MateBG *bg, gpointer user_data)
g_signal_emit (G_OBJECT (self), signals[APPEARANCE_CHANGED], 0);
}
-#define VERBOSE
-
static void
screen_size_changed (GdkScreen *screen, EelBackground *background)
{
int w, h;
- /* Find the monitor where our desktop window is, then get its geometry */
-/*
- GdkRectangle rect;
- gint monitor;
- GdkWindow *window = gdk_screen_get_root_window(screen);
- monitor = gdk_screen_get_monitor_at_window (screen, window);
- gdk_screen_get_monitor_geometry (screen, monitor, &rect);
- g_message ("Resized GdkWindow = %dx%d\n", rect.width, rect.height);
-*/
drawable_get_adjusted_size (background, &w, &h);
if (w != background->details->bg_entire_width ||
h != background->details->bg_entire_height)
{
-#ifdef VERBOSE
- g_message ("size changed: %dx%d -> %dx%d. Emitting changed signal.\n",
- background->details->bg_entire_width,
- background->details->bg_entire_height,
- w, h);
-#endif
g_signal_emit (background, signals[APPEARANCE_CHANGED], 0);
}
}