Skip to content

Commit 37b4b7b

Browse files
committed
fix builds
1 parent 6576f94 commit 37b4b7b

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

src/cascadia/TerminalApp/TasksPaneContent.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33

44
#include "pch.h"
55
#include "TasksPaneContent.h"
6-
#include "PaneArgs.h"
76
#include "TasksPaneContent.g.cpp"
8-
#include "TaskViewModel.g.cpp"
97
#include "FilteredTask.g.cpp"
108

119
using namespace winrt::Windows::Foundation;
@@ -74,7 +72,7 @@ namespace winrt::TerminalApp::implementation
7472
{
7573
return *this;
7674
}
77-
winrt::Windows::Foundation::Size TasksPaneContent::MinSize()
75+
winrt::Windows::Foundation::Size TasksPaneContent::MinimumSize()
7876
{
7977
return { 1, 1 };
8078
}

src/cascadia/TerminalApp/TasksPaneContent.h

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#pragma once
55
#include "TasksPaneContent.g.h"
6-
#include "TaskViewModel.g.h"
76
#include "FilteredTask.g.h"
87
#include "FilteredCommand.h"
98
#include "ActionPaletteItem.h"
@@ -18,7 +17,7 @@ namespace winrt::TerminalApp::implementation
1817

1918
void UpdateSettings(const winrt::Microsoft::Terminal::Settings::Model::CascadiaSettings& settings);
2019

21-
winrt::Windows::Foundation::Size MinSize();
20+
winrt::Windows::Foundation::Size MinimumSize();
2221
void Focus(winrt::Windows::UI::Xaml::FocusState reason = winrt::Windows::UI::Xaml::FocusState::Programmatic);
2322
void Close();
2423
winrt::Microsoft::Terminal::Settings::Model::NewTerminalArgs GetNewTerminalArgs(const bool asContent) const;
@@ -88,7 +87,7 @@ namespace winrt::TerminalApp::implementation
8887
c.UpdateFilter(filter);
8988
}
9089

91-
_PropertyChangedHandlers(*this, Windows::UI::Xaml::Data::PropertyChangedEventArgs{ L"Visibility" });
90+
PropertyChanged.raise(*this, Windows::UI::Xaml::Data::PropertyChangedEventArgs{ L"Visibility" });
9291
}
9392

9493
winrt::hstring Input()
@@ -138,5 +137,4 @@ namespace winrt::TerminalApp::implementation
138137
namespace winrt::TerminalApp::factory_implementation
139138
{
140139
BASIC_FACTORY(TasksPaneContent);
141-
BASIC_FACTORY(TaskViewModel);
142140
}

src/cascadia/TerminalApp/TerminalTab.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@ namespace winrt::TerminalApp::implementation
12611261
const auto content{ pane->GetContent() };
12621262
if (const auto termContent{ content.try_as<winrt::TerminalApp::TerminalPaneContent>() })
12631263
{
1264-
const auto& termControl{ termContent.GetTerminal() };
1264+
const auto& termControl{ termContent.GetTermControl() };
12651265
_rootPane->WalkTree([termControl](const auto& p) {
12661266
if (const auto& taskPane{ p->GetContent().try_as<TasksPaneContent>() })
12671267
{

0 commit comments

Comments
 (0)