No need to set window's position twice
authorRicardo Mones <ricardo@mones.org>
Fri, 19 Jan 2018 11:53:26 +0000 (12:53 +0100)
committerRicardo Mones <ricardo@mones.org>
Fri, 19 Jan 2018 11:53:26 +0000 (12:53 +0100)
It's already set on line 200 :-)

src/prefs_summaries.c

index 7e131dc..27f07d5 100644 (file)
@@ -304,8 +304,6 @@ static GtkWidget *date_format_create(GtkButton *button, void *data)
                         G_CALLBACK(date_format_entry_on_change),
                         label3);
 
-       gtk_window_set_position(GTK_WINDOW(datefmt_win), GTK_WIN_POS_CENTER);
-
        gtk_widget_show(datefmt_win);
        manage_window_set_transient(GTK_WINDOW(datefmt_win));
        gtk_window_set_modal(GTK_WINDOW(datefmt_win), TRUE);