From 611ed0f3cfe8cfe29d8ed8e0830905cef96d9082 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 24 Apr 2009 10:19:11 -0400 Subject: Fix the "Recent Documents" menu in CompEditor. --- composer/e-composer-private.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'composer') diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c index fd345d6410..a6fe8720f5 100644 --- a/composer/e-composer-private.c +++ b/composer/e-composer-private.c @@ -53,7 +53,7 @@ composer_setup_recent_menu (EMsgComposer *composer) { EAttachmentView *view; GtkUIManager *manager; - GtkAction *action = NULL; + GtkAction *action; const gchar *action_name; const gchar *path; guint merge_id; @@ -71,10 +71,9 @@ composer_setup_recent_menu (EMsgComposer *composer) gtk_action_group_add_action ( composer->priv->composer_actions, action); - gtk_ui_manager_add_ui ( + gtk_ui_manager_add_ui ( manager, merge_id, path, - action_name, - action_name, + action_name, action_name, GTK_UI_MANAGER_AUTO, FALSE); } -- cgit