Skip to content

Commit e8d8b36

Browse files
zhangxianwei8monsta
authored andcommitted
Remove "monitor" pointer from debug information
Signed-off-by: Zhang Xianwei <[email protected]>
1 parent 322a7c5 commit e8d8b36

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

‎src/gs-manager.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,8 +1533,8 @@ gs_manager_create_window_for_monitor (GSManager *manager,
15331533
display = gdk_monitor_get_display (monitor);
15341534
gdk_monitor_get_geometry (monitor, &rect);
15351535

1536-
gs_debug ("Creating a window for the monitor [%d,%d] (%dx%d)",
1537-
monitor, rect.x, rect.y, rect.width, rect.height);
1536+
gs_debug ("Creating a window [%d,%d] (%dx%d)",
1537+
rect.x, rect.y, rect.width, rect.height);
15381538

15391539
window = gs_window_new (display, monitor, manager->priv->lock_active);
15401540

‎src/gs-window-x11.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,7 @@ gs_window_move_resize_window (GSWindow *window,
382382

383383
g_assert (gtk_widget_get_realized (widget));
384384

385-
gs_debug ("Move and/or resize window on monitor %d: x=%d y=%d w=%d h=%d",
386-
window->priv->monitor,
385+
gs_debug ("Move and/or resize window: x=%d y=%d w=%d h=%d",
387386
window->priv->geometry.x,
388387
window->priv->geometry.y,
389388
window->priv->geometry.width,

0 commit comments

Comments
 (0)