Add up to 4 emulator timers
[emu8051.git] / src / gtk / viewmenu.c
index b4ce153..fa1a383 100644 (file)
@@ -26,7 +26,7 @@
 #include <gtk/gtk.h>
 
 #include "common.h"
-#include "emugtk.h" /* For AddMenuSeparator() function. */
+#include "main.h" /* For AddMenuSeparator() function. */
 #include "messagebox.h"
 #include "viewmenu.h"
 #include "app-config.h"
@@ -43,9 +43,8 @@ void toggle_layout(GtkWidget *widget, gpointer data)
                log_info("  Switching to layout %d", id);
                cfg->layout = id;
 
-               ShowMessage("Notice",
-                           "You must restart for the changes to take effect",
-                           GTK_JUSTIFY_LEFT, MESSAGE_DIALOG_NORMAL_FONT);
+               message_show_information(
+                       "You must restart for the changes to take effect");
        }
 }