Skip to content

Commit 1bbadd3

Browse files
zhangxianwei8monsta
authored andcommitted
Remove "monitor" pointer from debug information
Signed-off-by: Zhang Xianwei <zhang.xianwei8@zte.com.cn>
1 parent ef8f73d commit 1bbadd3

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
@@ -1539,8 +1539,8 @@ gs_manager_create_window_for_monitor (GSManager *manager,
15391539
display = gdk_monitor_get_display (monitor);
15401540
gdk_monitor_get_geometry (monitor, &rect);
15411541

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

15451545
window = gs_window_new (display, monitor, manager->priv->lock_active);
15461546

src/gs-window-x11.c

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

388388
g_assert (gtk_widget_get_realized (widget));
389389

390-
gs_debug ("Move and/or resize window on monitor %d: x=%d y=%d w=%d h=%d",
391-
window->priv->monitor,
390+
gs_debug ("Move and/or resize window: x=%d y=%d w=%d h=%d",
392391
window->priv->geometry.x,
393392
window->priv->geometry.y,
394393
window->priv->geometry.width,

0 commit comments

Comments
 (0)