aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/face
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2007-09-14 23:29:05 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-09-14 23:29:05 +0800
commit5ad1bf8506772c6e02da2e48391d0a9e03b80048 (patch)
treed1842e355beb2431b16c587a5add7434ef24179b /plugins/face
parent3cf65fa9b41612c0a126503fae88b85a9f3d8ae0 (diff)
downloadgsoc2013-evolution-5ad1bf8506772c6e02da2e48391d0a9e03b80048.tar.gz
gsoc2013-evolution-5ad1bf8506772c6e02da2e48391d0a9e03b80048.tar.zst
gsoc2013-evolution-5ad1bf8506772c6e02da2e48391d0a9e03b80048.zip
Remove the --enable-file-chooser configure option.
GtkFileChooser has been around since 2004. svn path=/trunk/; revision=34257
Diffstat (limited to 'plugins/face')
-rw-r--r--plugins/face/ChangeLog8
-rw-r--r--plugins/face/face.c9
2 files changed, 8 insertions, 9 deletions
diff --git a/plugins/face/ChangeLog b/plugins/face/ChangeLog
index 5ba3b6cdbd..a86f11a977 100644
--- a/plugins/face/ChangeLog
+++ b/plugins/face/ChangeLog
@@ -1,3 +1,11 @@
+2007-09-14 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #476231
+
+ * face.c:
+ Remove non-USE_GTKFILECHOOSER code.
+ GtkFileChooser has been around since 2004.
+
2007-07-18 Sankar P <psankar@novell.com>
* face.c: (org_gnome_composer_face):
diff --git a/plugins/face/face.c b/plugins/face/face.c
index 20277ca08d..9e17fecc43 100644
--- a/plugins/face/face.c
+++ b/plugins/face/face.c
@@ -51,7 +51,6 @@ void org_gnome_composer_face (EPlugin * ep, EMMenuTargetWidget * t)
const char *image_filename;
gsize length;
-#ifdef USE_GTKFILECHOOSER
GtkFileFilter *filter;
filesel = gtk_file_chooser_dialog_new (_
@@ -69,16 +68,8 @@ void org_gnome_composer_face (EPlugin * ep, EMMenuTargetWidget * t)
gtk_file_filter_add_mime_type (filter, "image/png");
gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (filesel), filter);
-#else
- filesel = gtk_file_selection_new (_("Select a (48*48) png of size < 720bytes"));
-#endif
-
if (GTK_RESPONSE_OK == gtk_dialog_run (GTK_DIALOG (filesel))) {
-#ifdef USE_GTKFILECHOOSER
image_filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (filesel));
-#else
- image_filename = gtk_file_selection_get_filename (GTK_FILE_SELECTION (filesel));
-#endif
error = NULL;
file_contents = NULL;