aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-alert-dialog.h
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-12-09 04:14:26 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-09 04:38:00 +0800
commite0ee2c648c2b101c3e8f1600fe9dcadf34963a63 (patch)
tree8699065dd24ea9f9d044e0e66c2d2f7d303bfcfb /e-util/e-alert-dialog.h
parent5a90243de020efcc86e0a93698bdeaf932cc88ba (diff)
downloadgsoc2013-evolution-e0ee2c648c2b101c3e8f1600fe9dcadf34963a63.tar
gsoc2013-evolution-e0ee2c648c2b101c3e8f1600fe9dcadf34963a63.tar.gz
gsoc2013-evolution-e0ee2c648c2b101c3e8f1600fe9dcadf34963a63.tar.bz2
gsoc2013-evolution-e0ee2c648c2b101c3e8f1600fe9dcadf34963a63.tar.lz
gsoc2013-evolution-e0ee2c648c2b101c3e8f1600fe9dcadf34963a63.tar.xz
gsoc2013-evolution-e0ee2c648c2b101c3e8f1600fe9dcadf34963a63.tar.zst
gsoc2013-evolution-e0ee2c648c2b101c3e8f1600fe9dcadf34963a63.zip
Use EAlert API in EAlertActivity rather than using g_object_get_data
previously we were storing the EAlert's primary and secondary text in the dialog object (using g_object_set_data_full). Since EAlertDialog encapsulates an EAlert and we have access to the underlying EAlert object, we can just use the EAlert API to get the primary and secondary text rather than storing duplicates copies of it in the dialog.
Diffstat (limited to 'e-util/e-alert-dialog.h')
-rw-r--r--e-util/e-alert-dialog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/e-util/e-alert-dialog.h b/e-util/e-alert-dialog.h
index d70a76a951..df87c90f99 100644
--- a/e-util/e-alert-dialog.h
+++ b/e-util/e-alert-dialog.h
@@ -76,6 +76,7 @@ gint e_alert_run_dialog(GtkWindow *parent, EAlert *alert);
gint e_alert_run_dialog_for_args (GtkWindow *parent, const gchar *tag, const gchar *arg0, ...);
guint e_alert_dialog_count_buttons (EAlertDialog *dialog);
+EAlert *e_alert_dialog_get_alert (EAlertDialog *dialog);
G_END_DECLS