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:
Gergely Polonkai 2014-07-15 16:43:56 +02:00
parent 2656df25cb
commit 39881908b7

View File

@ -907,9 +907,6 @@ ag_window_init(AgWindow *window)
priv->chart = 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(window),