diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-08-18 03:44:17 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-08-18 03:44:17 +0800 |
commit | d5ea07e5bebd33b4189115284bc48b71f0eb57b2 (patch) | |
tree | 9924e56fe9480ea98873e1141de158a47e442b72 | |
parent | 7473860c9fc3aa301cbb51da28928e63e74117b1 (diff) | |
download | gsoc2013-evolution-d5ea07e5bebd33b4189115284bc48b71f0eb57b2.tar.gz gsoc2013-evolution-d5ea07e5bebd33b4189115284bc48b71f0eb57b2.tar.zst gsoc2013-evolution-d5ea07e5bebd33b4189115284bc48b71f0eb57b2.zip |
Compile fixes
svn path=/trunk/; revision=12172
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/importers/evolution-mbox-importer.c | 6 | ||||
-rw-r--r-- | shell/e-shell-folder-selection-dialog.c | 4 | ||||
-rw-r--r-- | shell/e-shell-startup-wizard.c | 6 | ||||
-rw-r--r-- | shell/e-shell.c | 1 | ||||
-rw-r--r-- | widgets/misc/Makefile.am | 1 |
6 files changed, 17 insertions, 5 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 206a45d89b..0f0aafc9aa 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,7 @@ +2001-08-17 Iain Holmes <iain@ximian.com> + + * importers/evolution-mbox-importer.c (load_file_fn): Fix warnings. + 2001-08-17 JP Rosevear <jpr@ximian.com> * component-factory.c (owner_set_cb): don't init the config here diff --git a/mail/importers/evolution-mbox-importer.c b/mail/importers/evolution-mbox-importer.c index d3f6322b9b..28d1ca5e31 100644 --- a/mail/importers/evolution-mbox-importer.c +++ b/mail/importers/evolution-mbox-importer.c @@ -41,6 +41,8 @@ #include "mail/mail-importer.h" #include "mail-tools.h" +#include "e-util/e-path.h" + #define IMPORTER_DEBUG #ifdef IMPORTER_DEBUG #define IN g_print ("=====> %s (%d)\n", __FUNCTION__, __LINE__) @@ -236,8 +238,8 @@ load_file_fn (EvolutionImporter *eimporter, if (folderpath == NULL || *folderpath == '\0') { importer->folder = mail_tool_get_local_inbox (NULL); } else { - char *parent; - const char *name, *fullpath, *homedir, *tmp; + char *parent, *tmp, *fullpath; + const char *name, *homedir; BonoboListener *listener; CamelException *ex; diff --git a/shell/e-shell-folder-selection-dialog.c b/shell/e-shell-folder-selection-dialog.c index 213dbd5557..e436880dbd 100644 --- a/shell/e-shell-folder-selection-dialog.c +++ b/shell/e-shell-folder-selection-dialog.c @@ -116,6 +116,10 @@ folder_creation_dialog_result_cb (EShell *shell, dialog = E_SHELL_FOLDER_SELECTION_DIALOG (data); priv = dialog->priv; + if (priv == NULL) { + return; + } + if (result == E_SHELL_FOLDER_CREATION_DIALOG_RESULT_SUCCESS) e_storage_set_view_set_current_folder (E_STORAGE_SET_VIEW (priv->storage_set_view), path); diff --git a/shell/e-shell-startup-wizard.c b/shell/e-shell-startup-wizard.c index 72a10c7c19..18b7b59287 100644 --- a/shell/e-shell-startup-wizard.c +++ b/shell/e-shell-startup-wizard.c @@ -318,6 +318,8 @@ finish_func (GnomeDruidPage *page, data->cancel = FALSE; gtk_widget_destroy (data->dialog); gtk_main_quit (); + + return TRUE; } static void @@ -480,9 +482,9 @@ make_timezone_page (SWData *data) page->page = glade_xml_get_widget (data->wizard, "timezone-page"); g_return_val_if_fail (page->page != NULL, NULL); - page->vbox = GNOME_DRUID_PAGE_STANDARD (page->page)->vbox; + page->vbox = GTK_WIDGET (GNOME_DRUID_PAGE_STANDARD (page->page)->vbox); - page->etd = e_timezone_dialog_new (); + page->etd = GTK_OBJECT (e_timezone_dialog_new ()); e_timezone_dialog_reparent (page->etd, page->vbox); return page; diff --git a/shell/e-shell.c b/shell/e-shell.c index 704147ecac..357236ba7f 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -979,7 +979,6 @@ e_shell_construct (EShell *shell, e_shortcuts_add_default_group (priv->shortcuts); g_free (shortcut_path); - return E_SHELL_CONSTRUCT_RESULT_OK; } diff --git a/widgets/misc/Makefile.am b/widgets/misc/Makefile.am index f8d6246f5b..798ed16228 100644 --- a/widgets/misc/Makefile.am +++ b/widgets/misc/Makefile.am @@ -6,6 +6,7 @@ INCLUDES = \ -I$(top_srcdir)/widgets/shortcut-bar \ $(EXTRA_GNOME_CFLAGS) \ -DMAP_DIR=\""$(datadir)/images/evolution"\" \ + -DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \ -DG_LOG_DOMAIN=__FILE__ noinst_LIBRARIES = \ |