if (ui->config->hide_on_startup)
gtk_widget_show_all(ui->main_box);
else
- gtk_widget_show_all(ui->main_window);
+ ui_window_show(ui);
#else
- gtk_widget_show_all(ui->main_window);
+ ui_window_show(ui);
#endif
}
else
menu_bar_show(1, ui);
}
+
+void ui_window_show(struct ui_psensor *ui)
+{
+ gtk_widget_show_all(ui->main_window);
+
+}
*/
void ui_window_update(struct ui_psensor *);
+/* Show the main psensor window. */
+void ui_window_show(struct ui_psensor *);
+
/* Must be called to terminate Psensor UI. */
void ui_psensor_quit(struct ui_psensor *ui);