diff --git a/configuration.cc b/configuration.cc index afc6e10..bbe359e 100644 --- a/configuration.cc +++ b/configuration.cc @@ -341,7 +341,7 @@ void Configuration::LoadConfig(std::string filename) { gtk_window_move (GTK_WINDOW(wnd), x, y); gtk_window_resize (GTK_WINDOW(wnd), w, h); gtk_widget_show(wnd); - if (!show) gtk_widget_hide(wnd); + // g_object_set (wnd, "visible", &show, NULL); } } } diff --git a/posctl.cc b/posctl.cc index fd2e0b9..db0fd90 100644 --- a/posctl.cc +++ b/posctl.cc @@ -69,7 +69,6 @@ void cb_posctl_show_window (GtkWidget *widget, gpointer data) { printf ("%s:%d %s\n", __FILE__, __LINE__, __FUNCTION__); GtkWidget *wnd = GTK_WIDGET(gtk_builder_get_object (GTK_BUILDER(_builder_), "window-posctl")); - gtk_widget_show(wnd); }