Add better error checking when loading invalid hex files
[emu8051.git] / src / gtk / viewmenu.c
index b4ce153..fa1fd14 100644 (file)
@@ -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");
        }
 }