aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-22 08:15:05 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-22 08:15:05 +0800
commit5a17239841168aee903d25471960b1ade1907849 (patch)
treefbf05ddbab9ad821e129e4cbc02be52bc1868c5b /widgets
parent4a24673d08e1e21c928afc61ff532a1e2d03a63b (diff)
downloadgsoc2013-evolution-5a17239841168aee903d25471960b1ade1907849.tar.gz
gsoc2013-evolution-5a17239841168aee903d25471960b1ade1907849.tar.zst
gsoc2013-evolution-5a17239841168aee903d25471960b1ade1907849.zip
ugh, too drunk to remember to commit this last night
2004-05-21 Not Zed <NotZed@Ximian.com> * e-error.c (e_error_default_parent): uh, fix the sense of the if-we-dont-have-it test. svn path=/trunk/; revision=26039
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog2
-rw-r--r--widgets/misc/e-error.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 5eee093db6..8c3ece65a4 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -4,6 +4,8 @@
fallback.
(e_error_newv): if parent is null, see if we have a default still
alive, and use that. warn if not.
+ (e_error_default_parent): uh, fix the sense of the
+ if-we-dont-have-it test.
2004-05-20 JP Rosevear <jpr@novell.com>
diff --git a/widgets/misc/e-error.c b/widgets/misc/e-error.c
index 9310ef9bfc..3ced3adfa7 100644
--- a/widgets/misc/e-error.c
+++ b/widgets/misc/e-error.c
@@ -592,7 +592,7 @@ remove_parent(GtkWidget *w, GtkWidget *parent)
void
e_error_default_parent(struct _GtkWindow *parent)
{
- if (g_slist_find(ee_parent_list, parent) != NULL) {
+ if (g_slist_find(ee_parent_list, parent) == NULL) {
ee_parent_list = g_slist_prepend(ee_parent_list, parent);
g_signal_connect(parent, "destroy", G_CALLBACK(remove_parent), parent);
}