fix 'gtk_window_set_titlebar() called on a realized window' warning
This commit is contained in:
parent
a844e9f5dc
commit
0d1b8f5285
|
@ -34,6 +34,7 @@ public class Tootle.MainWindow: Gtk.Window {
|
|||
primary_stack.hexpand = true;
|
||||
primary_stack.vexpand = true;
|
||||
header = new Tootle.HeaderBar ();
|
||||
set_titlebar (header);
|
||||
|
||||
grid = new Gtk.Grid ();
|
||||
grid.set_size_request (400, 500);
|
||||
|
@ -50,7 +51,6 @@ public class Tootle.MainWindow: Gtk.Window {
|
|||
title: "Tootle",
|
||||
resizable: true
|
||||
);
|
||||
set_titlebar (header);
|
||||
window_position = WindowPosition.CENTER;
|
||||
|
||||
Tootle.accounts.switched.connect(on_account_switched);
|
||||
|
|
Loading…
Reference in New Issue