remove unused assign to none in gpower2

This commit is contained in:
LordMZTE 2022-05-16 14:58:27 +02:00
parent a8bb69a25c
commit aab7b56794
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -14,8 +14,6 @@ pub const GuiState = struct {
};
pub fn activate(app: *c.GtkApplication, state: *GuiState) callconv(.C) void {
_ = state;
const win = c.gtk_application_window_new(app);
c.gtk_window_set_title(u.c(*c.GtkWindow, win), "gpower2");
c.gtk_window_set_modal(u.c(*c.GtkWindow, win), 1);