diff --git a/plugins/debug-manager/sharedlib.c b/plugins/debug-manager/sharedlib.c
index 7c9fbcb..418cbd2 100644
--- a/plugins/debug-manager/sharedlib.c
+++ b/plugins/debug-manager/sharedlib.c
@@ -287,7 +287,7 @@ sharedlibs_show (Sharedlibs* sl)
 		}
 		else
 		{
-			gdk_window_move(sl->widgets.window->window, sl->win_pos_x,
+			gtk_window_move(GTK_WINDOW(sl->widgets.window), sl->win_pos_x,
 									 sl->win_pos_y);
 			gtk_window_set_default_size(GTK_WINDOW(sl->widgets.window),
 										sl->win_width, sl->win_height);
diff --git a/plugins/debug-manager/signals.c b/plugins/debug-manager/signals.c
index 8e7bef4..c006f3e 100644
--- a/plugins/debug-manager/signals.c
+++ b/plugins/debug-manager/signals.c
@@ -423,7 +423,7 @@ signals_show (Signals * sg)
 		}
 		else
 		{
-			gdk_window_move (sg->widgets.window->window, sg->win_pos_x,
+			gtk_window_move (GTK_WINDOW (sg->widgets.window), sg->win_pos_x,
 									  sg->win_pos_y);
 			gtk_window_set_default_size (GTK_WINDOW (sg->widgets.window),
 										 sg->win_width, sg->win_height);
