[gnome-latex] App: no longer use TeplAbstractFactoryVala
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-latex] App: no longer use TeplAbstractFactoryVala
- Date: Sun, 19 Apr 2020 12:45:26 +0000 (UTC)
commit b84d5b2ea0ea521390e965325a526086f14ab2e1
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Apr 19 14:37:17 2020 +0200
App: no longer use TeplAbstractFactoryVala
src/glatex_app.vala | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/glatex_app.vala b/src/glatex_app.vala
index 31584a8..20d55f7 100644
--- a/src/glatex_app.vala
+++ b/src/glatex_app.vala
@@ -324,10 +324,9 @@ public class GlatexApp : Gtk.Application
public MainWindow create_window ()
{
- Tepl.AbstractFactoryVala factory = Tepl.AbstractFactory.get_singleton ()
- as Tepl.AbstractFactoryVala;
+ Tepl.AbstractFactory factory = Tepl.AbstractFactory.get_singleton ();
- return factory.create_main_window_vala (this) as MainWindow;
+ return factory.create_main_window (this) as MainWindow;
}
public void open_documents (File[] files)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]