aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@helixcode.com>2001-01-10 15:37:22 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2001-01-10 15:37:22 +0800
commite845cc1674cd6e48f55cad92b4871e2393013f87 (patch)
tree4a80bec10906980a72aaef552db143163e1efb3e
parentd2f38078eeabbe72821a3c636361b27163ce35c0 (diff)
downloadgsoc2013-evolution-e845cc1674cd6e48f55cad92b4871e2393013f87.tar
gsoc2013-evolution-e845cc1674cd6e48f55cad92b4871e2393013f87.tar.gz
gsoc2013-evolution-e845cc1674cd6e48f55cad92b4871e2393013f87.tar.bz2
gsoc2013-evolution-e845cc1674cd6e48f55cad92b4871e2393013f87.tar.lz
gsoc2013-evolution-e845cc1674cd6e48f55cad92b4871e2393013f87.tar.xz
gsoc2013-evolution-e845cc1674cd6e48f55cad92b4871e2393013f87.tar.zst
gsoc2013-evolution-e845cc1674cd6e48f55cad92b4871e2393013f87.zip
Fix prototype (command_new_view): ditto.
2001-01-10 Miguel de Icaza <miguel@helixcode.com> * e-shell-view-menu.c (command_goto_folder): Fix prototype (command_new_view): ditto. verbs: Use BONOBO_UI_VERB instead of BONOBO_UI_UNSAFE_VERB svn path=/trunk/; revision=7361
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-shell-view-menu.c36
2 files changed, 25 insertions, 18 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index c6befcb49b..06f7ffc18d 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,10 @@
+2001-01-10 Miguel de Icaza <miguel@helixcode.com>
+
+ * e-shell-view-menu.c (command_goto_folder): Fix prototype
+ (command_new_view): ditto.
+
+ verbs: Use BONOBO_UI_VERB instead of BONOBO_UI_UNSAFE_VERB
+
2001-01-04 Dan Winship <danw@helixcode.com>
* evolution-storage.c (evolution_storage_update_folder_by_uri):
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 9dd6deb468..d82d61a56a 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -268,7 +268,7 @@ command_new_folder (BonoboUIComponent *uih,
static void
command_new_view (BonoboUIComponent *uih,
- void *data,
+ gpointer data,
const char *path)
{
EShellView *shell_view;
@@ -315,7 +315,7 @@ folder_selection_dialog_folder_selected_cb (EShellFolderSelectionDialog *folder_
static void
command_goto_folder (BonoboUIComponent *uih,
- void *data,
+ gpointer data,
const char *path)
{
GtkWidget *folder_selection_dialog;
@@ -389,32 +389,32 @@ DEFINE_UNIMPLEMENTED (command_new_contact)
DEFINE_UNIMPLEMENTED (command_new_task_request)
BonoboUIVerb new_verbs [] = {
- BONOBO_UI_UNSAFE_VERB ("NewView", command_new_view),
- BONOBO_UI_UNSAFE_VERB ("NewFolder", command_new_folder),
- BONOBO_UI_UNSAFE_VERB ("NewShortcut", command_new_shortcut),
- BONOBO_UI_UNSAFE_VERB ("NewMailMessage", command_new_mail_message),
-
- BONOBO_UI_UNSAFE_VERB ("NewAppointment", command_new_shortcut),
- BONOBO_UI_UNSAFE_VERB ("NewContact", command_new_contact),
- BONOBO_UI_UNSAFE_VERB ("NewTask", command_new_task_request),
+ BONOBO_UI_VERB ("NewView", command_new_view),
+ BONOBO_UI_VERB ("NewFolder", command_new_folder),
+ BONOBO_UI_VERB ("NewShortcut", command_new_shortcut),
+ BONOBO_UI_VERB ("NewMailMessage", command_new_mail_message),
+
+ BONOBO_UI_VERB ("NewAppointment", command_new_shortcut),
+ BONOBO_UI_VERB ("NewContact", command_new_contact),
+ BONOBO_UI_VERB ("NewTask", command_new_task_request),
BONOBO_UI_VERB_END
};
BonoboUIVerb file_verbs [] = {
- BONOBO_UI_UNSAFE_VERB ("FileGoToFolder", command_goto_folder),
- BONOBO_UI_UNSAFE_VERB ("FileCreateFolder", command_create_folder),
- BONOBO_UI_UNSAFE_VERB ("FileExit", command_quit),
+ BONOBO_UI_VERB ("FileGoToFolder", command_goto_folder),
+ BONOBO_UI_VERB ("FileCreateFolder", command_create_folder),
+ BONOBO_UI_VERB ("FileExit", command_quit),
BONOBO_UI_VERB_END
};
BonoboUIVerb help_verbs [] = {
- BONOBO_UI_UNSAFE_VERB_DATA ("HelpIndex", command_help, "index.html"),
- BONOBO_UI_UNSAFE_VERB_DATA ("HelpGetStarted", command_help, "usage-mainwindow.html"),
- BONOBO_UI_UNSAFE_VERB_DATA ("HelpUsingMail", command_help, "usage-mail.html"),
- BONOBO_UI_UNSAFE_VERB_DATA ("HelpUsingCalendar", command_help, "usage-calendar.html"),
- BONOBO_UI_UNSAFE_VERB_DATA ("HelpUsingContact", command_help, "usage-contact.html"),
+ BONOBO_UI_VERB_DATA ("HelpIndex", command_help, "index.html"),
+ BONOBO_UI_VERB_DATA ("HelpGetStarted", command_help, "usage-mainwindow.html"),
+ BONOBO_UI_VERB_DATA ("HelpUsingMail", command_help, "usage-mail.html"),
+ BONOBO_UI_VERB_DATA ("HelpUsingCalendar", command_help, "usage-calendar.html"),
+ BONOBO_UI_VERB_DATA ("HelpUsingContact", command_help, "usage-contact.html"),
BONOBO_UI_VERB_END
};