diff options
Diffstat (limited to 'plugins/save-calendar')
-rw-r--r-- | plugins/save-calendar/rdf-format.c | 2 | ||||
-rw-r--r-- | plugins/save-calendar/save-calendar.c | 12 |
2 files changed, 1 insertions, 13 deletions
diff --git a/plugins/save-calendar/rdf-format.c b/plugins/save-calendar/rdf-format.c index d28d2ef587..fd6a263287 100644 --- a/plugins/save-calendar/rdf-format.c +++ b/plugins/save-calendar/rdf-format.c @@ -207,7 +207,7 @@ do_save_calendar_rdf (FormatHandler *handler, ESourceSelector *selector, ECalSou if (stream && e_cal_get_object_list_as_comp (source_client, "#t", &objects, NULL)) { xmlBufferPtr buffer=xmlBufferCreate(); xmlDocPtr doc = xmlNewDoc((xmlChar *) "1.0"); - xmlNodePtr fnode = doc->children; + xmlNodePtr fnode; doc->children = xmlNewDocNode (doc, NULL, (const guchar *)"rdf:RDF", NULL); xmlSetProp (doc->children, (const guchar *)"xmlns:rdf", (const guchar *)"http://www.w3.org/1999/02/22-rdf-syntax-ns#"); diff --git a/plugins/save-calendar/save-calendar.c b/plugins/save-calendar/save-calendar.c index 212a439877..c8901b2d87 100644 --- a/plugins/save-calendar/save-calendar.c +++ b/plugins/save-calendar/save-calendar.c @@ -312,8 +312,6 @@ gboolean calendar_save_as_init (GtkUIManager *ui_manager, EShellView *shell_view) { - EShell *shell; - EShellSettings *shell_settings; EShellWindow *shell_window; GtkActionGroup *action_group; GtkAction *action; @@ -322,8 +320,6 @@ calendar_save_as_init (GtkUIManager *ui_manager, const gchar *name; shell_window = e_shell_view_get_shell_window (shell_view); - shell = e_shell_window_get_shell (shell_window); - shell_settings = e_shell_get_shell_settings (shell); name = "calendar-save-as"; tooltip = _("Save the selected calendar to disk"); @@ -347,8 +343,6 @@ gboolean memo_list_save_as_init (GtkUIManager *ui_manager, EShellView *shell_view) { - EShell *shell; - EShellSettings *shell_settings; EShellWindow *shell_window; GtkActionGroup *action_group; GtkAction *action; @@ -357,8 +351,6 @@ memo_list_save_as_init (GtkUIManager *ui_manager, const gchar *name; shell_window = e_shell_view_get_shell_window (shell_view); - shell = e_shell_window_get_shell (shell_window); - shell_settings = e_shell_get_shell_settings (shell); name = "memo-list-save-as"; tooltip = _("Save the selected memo list to disk"); @@ -382,8 +374,6 @@ gboolean task_list_save_as_init (GtkUIManager *ui_manager, EShellView *shell_view) { - EShell *shell; - EShellSettings *shell_settings; EShellWindow *shell_window; GtkActionGroup *action_group; GtkAction *action; @@ -392,8 +382,6 @@ task_list_save_as_init (GtkUIManager *ui_manager, const gchar *name; shell_window = e_shell_view_get_shell_window (shell_view); - shell = e_shell_window_get_shell (shell_window); - shell_settings = e_shell_get_shell_settings (shell); name = "task-list-save-as"; tooltip = _("Save the selected task list to disk"); |