Remove unnecessary lines from ag_window_init()
* priv->settings assignment is already done in that function * gtk_window_set_hide_titlebar_when_maximized() is somewhat deprecated with HeaderBars
This commit is contained in:
parent
2656df25cb
commit
39881908b7
@ -907,9 +907,6 @@ ag_window_init(AgWindow *window)
|
|||||||
|
|
||||||
priv->chart = NULL;
|
priv->chart = NULL;
|
||||||
priv->uri = NULL;
|
priv->uri = NULL;
|
||||||
priv->settings = ag_settings_get();
|
|
||||||
|
|
||||||
gtk_window_set_hide_titlebar_when_maximized(GTK_WINDOW(window), TRUE);
|
|
||||||
|
|
||||||
g_action_map_add_action_entries(
|
g_action_map_add_action_entries(
|
||||||
G_ACTION_MAP(window),
|
G_ACTION_MAP(window),
|
||||||
|
Loading…
Reference in New Issue
Block a user