Skip to content
Permalink
Browse files

Remove "monitor" pointer from debug information

Signed-off-by: Zhang Xianwei <zhang.xianwei8@zte.com.cn>
  • Loading branch information...
zhangxianwei8 authored and monsta committed Aug 14, 2018
1 parent 322a7c5 commit e8d8b36757136061fb4a169e78e624e1846adebe
Showing with 3 additions and 4 deletions.
  1. +2 −2 src/gs-manager.c
  2. +1 −2 src/gs-window-x11.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);

@@ -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,

0 comments on commit e8d8b36

Please sign in to comment.
You can’t perform that action at this time.