X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fgtk%2Fhelpmenu.c;h=90c9120fa9a8cc3d48e89b1310319b69e4e003cd;hb=121bcb38f29409f10de63a68d86620c4beb75c97;hp=b280405e046a2078625f981ca0136cb2956c793b;hpb=1466890269b04da08adf7b3640698e75e9593f56;p=emu8051.git diff --git a/src/gtk/helpmenu.c b/src/gtk/helpmenu.c index b280405..90c9120 100644 --- a/src/gtk/helpmenu.c +++ b/src/gtk/helpmenu.c @@ -4,19 +4,7 @@ * Copyright (C) 1999 Jonathan St-André * Copyright (C) 1999 Hugo Villeneuve * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + * This file is released under the GPLv2 */ #if HAVE_CONFIG_H @@ -40,7 +28,7 @@ #include "helpmenu.h" static void -HelpAboutEvent(GtkWidget *widget, gpointer data) +help_about_event(GtkWidget *widget, gpointer data) { /* Remove compiler warning about unused variables. */ (void) widget; @@ -86,7 +74,7 @@ HelpAboutEvent(GtkWidget *widget, gpointer data) } void -HelpAddMenu(GtkWidget *menu_bar) +help_add_menu(GtkWidget *menu_bar) { GtkWidget *item; GtkWidget *menu; @@ -94,10 +82,10 @@ HelpAddMenu(GtkWidget *menu_bar) menu = gtk_menu_new(); /* Create the 'Help About' item. */ - item = gtk_menu_item_new_with_label("About " PACKAGE); + item = gtk_menu_item_new_with_label("About " PACKAGE_NAME); gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); /* Attach the callback functions to the activate signal. */ - g_signal_connect(item, "activate", G_CALLBACK(HelpAboutEvent), NULL); + g_signal_connect(item, "activate", G_CALLBACK(help_about_event), NULL); /* Adding submenu title. */ item = gtk_menu_item_new_with_label("Help");