summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Xianwei <[email protected]>2018-08-14 16:47:37 +0800
committermonsta <[email protected]>2018-09-22 14:29:51 +0300
commite8d8b36757136061fb4a169e78e624e1846adebe (patch)
tree666b59cd1f1dd74706b95d48289643df70814598
parent322a7c56d7bcd8fecce3ab95524f469024509130 (diff)
downloadmate-screensaver-e8d8b36757136061fb4a169e78e624e1846adebe.tar.bz2
mate-screensaver-e8d8b36757136061fb4a169e78e624e1846adebe.tar.xz
Remove "monitor" pointer from debug information
Signed-off-by: Zhang Xianwei <[email protected]>
-rw-r--r--src/gs-manager.c4
-rw-r--r--src/gs-window-x11.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/src/gs-manager.c b/src/gs-manager.c
index 7993539..81397f8 100644
--- a/src/gs-manager.c
+++ b/src/gs-manager.c
@@ -1533,8 +1533,8 @@ gs_manager_create_window_for_monitor (GSManager *manager,
display = gdk_monitor_get_display (monitor);
gdk_monitor_get_geometry (monitor, &rect);
- gs_debug ("Creating a window for the monitor [%d,%d] (%dx%d)",
- monitor, rect.x, rect.y, rect.width, rect.height);
+ gs_debug ("Creating a window [%d,%d] (%dx%d)",
+ rect.x, rect.y, rect.width, rect.height);
window = gs_window_new (display, monitor, manager->priv->lock_active);
diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index c15c15a..b1c8a14 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -382,8 +382,7 @@ gs_window_move_resize_window (GSWindow *window,
g_assert (gtk_widget_get_realized (widget));
- gs_debug ("Move and/or resize window on monitor %d: x=%d y=%d w=%d h=%d",
- window->priv->monitor,
+ gs_debug ("Move and/or resize window: x=%d y=%d w=%d h=%d",
window->priv->geometry.x,
window->priv->geometry.y,
window->priv->geometry.width,