aboutsummaryrefslogtreecommitdiffstats
path: root/stamp.h.in
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-11-25 06:27:08 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-01 03:29:25 +0800
commitae8f6d681c0512089f9259de0fd1b270396991d5 (patch)
tree45955945a454da85b89f7b2aae3a3554904c64b5 /stamp.h.in
parent407f96826f41fe5d74d7224be99dff59492d8ee4 (diff)
downloadgsoc2013-evolution-ae8f6d681c0512089f9259de0fd1b270396991d5.tar
gsoc2013-evolution-ae8f6d681c0512089f9259de0fd1b270396991d5.tar.gz
gsoc2013-evolution-ae8f6d681c0512089f9259de0fd1b270396991d5.tar.bz2
gsoc2013-evolution-ae8f6d681c0512089f9259de0fd1b270396991d5.tar.lz
gsoc2013-evolution-ae8f6d681c0512089f9259de0fd1b270396991d5.tar.xz
gsoc2013-evolution-ae8f6d681c0512089f9259de0fd1b270396991d5.tar.zst
gsoc2013-evolution-ae8f6d681c0512089f9259de0fd1b270396991d5.zip
Refactor error reporting to separate error from dialogs
Previously, Most things reported errors directly. This is evidenced by the fact that e_error_new() returns a GtkDialog*. This patch attempts to de-couple error-reporting from the UI. It introduces a simple stuct (EError) that describes the error which is returned much like a GError by passing it as an output parameter to a function. e_error_new() now returns a newly-allocated EError*, but the function signature has changed to no longer accept a parent GtkWidget, so the API change should be detected at compile time. I kept the convenience dialog functions, but renamed them slightly: - e_error_new() -> e_error_new_dialog() - e_error_run() -> e_error_run_dialog() Build is currently broken because nothing has been ported to use this new API yet. https://bugzilla.gnome.org/show_bug.cgi?id=602963
Diffstat (limited to 'stamp.h.in')
0 files changed, 0 insertions, 0 deletions