X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fgtk%2Fviewmenu.c;h=fa1a383948a5d413b728102ff9372de410b10696;hb=75172f0ea557b3d104787c34437a99b1453c56de;hp=b4ce153c82caf50a27ba9d3b4c84011048b42c82;hpb=5e7b849e7d9263ea7e4b06ea95e989fbff251b97;p=emu8051.git diff --git a/src/gtk/viewmenu.c b/src/gtk/viewmenu.c index b4ce153..fa1a383 100644 --- a/src/gtk/viewmenu.c +++ b/src/gtk/viewmenu.c @@ -26,7 +26,7 @@ #include #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"); } }