X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fgtk%2Fhelpmenu.c;h=aa8e413e1c132bb1eec732955f6586f49d092c13;hb=d755f9638255472107ae445f4f82d8fcd3446b20;hp=4a8d9dc5377a157e16b03439948e2ff15c345d4f;hpb=1eb382f72510d50b3636fb88c4bfaf17183672b6;p=emu8051.git diff --git a/src/gtk/helpmenu.c b/src/gtk/helpmenu.c index 4a8d9dc..aa8e413 100644 --- a/src/gtk/helpmenu.c +++ b/src/gtk/helpmenu.c @@ -39,18 +39,13 @@ #include "messagebox.h" #include "helpmenu.h" -#define PACKAGE_COPYRIGHT "(c) Hugo Villeneuve" - -static void -HelpCommandsEvent(gchar *string) -{ - ShowMessage("Command Line Options", COMMAND_LINE_OPTIONS, - GTK_JUSTIFY_LEFT, MESSAGE_DIALOG_FIXED_FONT); -} - static void HelpAboutEvent(GtkWidget *widget, gpointer data) { + /* Remove compiler warning about unused variables. */ + (void) widget; + (void) data; + const char *authors[] = { "Hugo Villeneuve ", "Jonathan St-André", @@ -81,7 +76,7 @@ HelpAboutEvent(GtkWidget *widget, gpointer data) "title", "About Dialog", "version", PACKAGE_VERSION, "logo-icon-name", PACKAGE_TARNAME, - "comments", get_package_description(), + "comments", PACKAGE_DESCRIPTION, "authors", authors, "website", PACKAGE_URL, "copyright", PACKAGE_COPYRIGHT, @@ -98,14 +93,6 @@ HelpAddMenu(GtkWidget *menu_bar) menu = gtk_menu_new(); - /* Create the 'Help Command Line Options' item. */ - item = gtk_menu_item_new_with_label("Command Line Options"); - gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); - /* Attach the callback functions to the activate signal. */ - g_signal_connect(item, "activate", G_CALLBACK(HelpCommandsEvent), NULL); - - AddMenuSeparator(menu); - /* Create the 'Help About' item. */ item = gtk_menu_item_new_with_label("About " PACKAGE); gtk_menu_shell_append(GTK_MENU_SHELL(menu), item);