From e06b88c4fda627599d7c1a33ddec0a35a4374e4f Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 13 Oct 2009 16:24:10 +0200 Subject: Bug #594471 - Shouldn't call e_error_new/run with NULL 'parent' --- plugins/face/face.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/face') diff --git a/plugins/face/face.c b/plugins/face/face.c index 1bb56c2bff..3e462da5b1 100644 --- a/plugins/face/face.c +++ b/plugins/face/face.c @@ -97,7 +97,7 @@ action_face_cb (GtkAction *action, if (height != 48 || width != 48) { d (printf ("\n\a Invalid Image Size. Please choose a 48*48 image\n\a")); - e_error_run (NULL, "org.gnome.evolution.plugins.face:invalid-image-size", NULL, NULL); + e_error_run (GTK_WINDOW (filesel), "org.gnome.evolution.plugins.face:invalid-image-size", NULL, NULL); } else { file_contents = g_base64_encode ((guchar *) file_contents, length); g_file_set_contents (filename, file_contents, -1, &error); @@ -105,12 +105,12 @@ action_face_cb (GtkAction *action, } } else { d (printf ("File too big")); - e_error_run (NULL, "org.gnome.evolution.plugins.face:invalid-file-size", NULL, NULL); + e_error_run (GTK_WINDOW (filesel), "org.gnome.evolution.plugins.face:invalid-file-size", NULL, NULL); } } else { d (printf ("\n\a File cannot be read\n\a")); - e_error_run (NULL, "org.gnome.evolution.plugins.face:file-not-found", NULL, NULL); + e_error_run (GTK_WINDOW (filesel), "org.gnome.evolution.plugins.face:file-not-found", NULL, NULL); } } gtk_widget_destroy (filesel); -- cgit