diff options
author | Milan Crha <mcrha@redhat.com> | 2009-10-13 22:24:10 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-10-13 22:24:10 +0800 |
commit | e06b88c4fda627599d7c1a33ddec0a35a4374e4f (patch) | |
tree | a862b4d3909923719ab03936ec60dfc00f185ba8 /plugins/face | |
parent | dc2953040b0fb9576411d2f145e7e6ff11dd989a (diff) | |
download | gsoc2013-evolution-e06b88c4fda627599d7c1a33ddec0a35a4374e4f.tar.gz gsoc2013-evolution-e06b88c4fda627599d7c1a33ddec0a35a4374e4f.tar.zst gsoc2013-evolution-e06b88c4fda627599d7c1a33ddec0a35a4374e4f.zip |
Bug #594471 - Shouldn't call e_error_new/run with NULL 'parent'
Diffstat (limited to 'plugins/face')
-rw-r--r-- | plugins/face/face.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |