aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/eab-gui-util.h
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-12-15 00:44:16 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:11 +0800
commit4231716442dc6bca34a563a17c068d126b37ea7c (patch)
tree53d1367972f62f1f867fcf0f06909af0b31c2484 /addressbook/gui/widgets/eab-gui-util.h
parentf18f55f251bcf12d7320b2f442daa0dcb1c40908 (diff)
downloadgsoc2013-evolution-4231716442dc6bca34a563a17c068d126b37ea7c.tar
gsoc2013-evolution-4231716442dc6bca34a563a17c068d126b37ea7c.tar.gz
gsoc2013-evolution-4231716442dc6bca34a563a17c068d126b37ea7c.tar.bz2
gsoc2013-evolution-4231716442dc6bca34a563a17c068d126b37ea7c.tar.lz
gsoc2013-evolution-4231716442dc6bca34a563a17c068d126b37ea7c.tar.xz
gsoc2013-evolution-4231716442dc6bca34a563a17c068d126b37ea7c.tar.zst
gsoc2013-evolution-4231716442dc6bca34a563a17c068d126b37ea7c.zip
Show common addressbook and calendar errors in an alert sink
Diffstat (limited to 'addressbook/gui/widgets/eab-gui-util.h')
-rw-r--r--addressbook/gui/widgets/eab-gui-util.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/addressbook/gui/widgets/eab-gui-util.h b/addressbook/gui/widgets/eab-gui-util.h
index e1fd43fdf3..45c7d40b79 100644
--- a/addressbook/gui/widgets/eab-gui-util.h
+++ b/addressbook/gui/widgets/eab-gui-util.h
@@ -26,22 +26,25 @@
#include <gtk/gtk.h>
#include <libebook/e-book.h>
+#include "e-util/e-alert-sink.h"
G_BEGIN_DECLS
-void eab_error_dialog (const gchar *msg,
+void eab_error_dialog (EAlertSink *alert_sink,
+ const gchar *msg,
const GError *error);
void eab_load_error_dialog (GtkWidget *parent,
+ EAlertSink *alert_sink,
ESource *source,
const GError *error);
-void eab_search_result_dialog (GtkWidget *parent,
+void eab_search_result_dialog (EAlertSink *alert_sink,
EBookViewStatus status,
const gchar *error_msg);
gint eab_prompt_save_dialog (GtkWindow *parent);
void eab_transfer_contacts (EBook *source_book,
GList *contacts, /* adopted */
gboolean delete_from_source,
- GtkWindow *parent_window);
+ EAlertSink *alert_sink);
gchar * eab_suggest_filename (GList *contact_list);
ESource * eab_select_source (ESource *except_source,
const gchar *title,