aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-dialog-utils.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-11-08 06:37:32 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-11-08 06:37:32 +0800
commit4f21ad07f064cb6872373a57106f435572e89744 (patch)
tree064bd9e4d5a8d34cca0e78611d505404d68abe45 /e-util/e-dialog-utils.c
parentae673aa3f19a965e8a62e24171e19a5c2ba4819f (diff)
downloadgsoc2013-evolution-4f21ad07f064cb6872373a57106f435572e89744.tar.gz
gsoc2013-evolution-4f21ad07f064cb6872373a57106f435572e89744.tar.zst
gsoc2013-evolution-4f21ad07f064cb6872373a57106f435572e89744.zip
pass extra pixbuf param
2002-11-07 JP Rosevear <jpr@ximian.com> * e-categories-config.c (e_categories_config_get_icon_for): pass extra pixbuf param * e-categories-config.h: use G_*_DECLS * e-dialog-utils.c (save_ok): update g_file_test params * Makefile.am: Compile some additional files svn path=/trunk/; revision=18646
Diffstat (limited to 'e-util/e-dialog-utils.c')
-rw-r--r--e-util/e-dialog-utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/e-util/e-dialog-utils.c b/e-util/e-dialog-utils.c
index 4e77cce646..47b80c87e6 100644
--- a/e-util/e-dialog-utils.c
+++ b/e-util/e-dialog-utils.c
@@ -26,6 +26,7 @@
#include "widgets/misc/e-bonobo-widget.h"
+#include <glib.h>
#include <gdk/gdkx.h>
#include <gdk/gdkprivate.h>
#include <gdk/gdk.h>
@@ -34,7 +35,6 @@
#include <gtk/gtksignal.h>
#include <gtk/gtkfilesel.h>
-#include <libgnome/gnome-defs.h>
#include <libgnome/gnome-i18n.h>
#include <libgnome/gnome-util.h>
#include <libgnomeui/gnome-dialog-util.h>
@@ -225,13 +225,13 @@ save_ok (GtkWidget *widget, gpointer data)
{
GtkWidget *fs;
char **filename = data;
- char *path;
+ const char *path;
int btn = GNOME_YES;
fs = gtk_widget_get_toplevel (widget);
path = gtk_file_selection_get_filename (GTK_FILE_SELECTION (fs));
- if (g_file_test (path, G_FILE_TEST_ISFILE)) {
+ if (g_file_test (path, G_FILE_TEST_IS_REGULAR)) {
GtkWidget *dlg;
dlg = gnome_question_dialog_modal (_("A file by that name already exists.\n"