[dia] Remove GLIB_CHECK_VERSION checks up to 2.8.0.
- From: Hans Breuer <hans src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [dia] Remove GLIB_CHECK_VERSION checks up to 2.8.0.
- Date: Sat, 1 Aug 2009 16:50:51 +0000 (UTC)
commit ba5773015db2de730787bee38e416110e129f21f
Author: Adam Buchbinder <adam buchbinder gmail com>
Date: Tue Jul 28 16:17:49 2009 -0400
Remove GLIB_CHECK_VERSION checks up to 2.8.0.
We can do this because configure.in currently assumes >=2.12.
Signed-off-by: Hans Breuer <hans breuer org>
app/load_save.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/load_save.c b/app/load_save.c
index d8c7586..2f37452 100644
--- a/app/load_save.c
+++ b/app/load_save.c
@@ -988,7 +988,7 @@ diagram_data_save(DiagramData *data, const char *user_filename)
int ret = 0;
/* Once we depend on GTK 2.8+, we can use these tests. */
-#if GLIB_CHECK_VERSION(2,8,0) && !defined G_OS_WIN32
+#if !defined G_OS_WIN32
/* Check that we're allowed to write to the target file at all. */
/* not going to work with 'My Docments' - read-only but still useable, see bug #504469 */
if ( g_file_test(filename, G_FILE_TEST_EXISTS)
@@ -1021,7 +1021,7 @@ diagram_data_save(DiagramData *data, const char *user_filename)
tmpname = g_strconcat(dirname,"__diaXXXXXX",NULL);
bakname = g_strconcat(filename,"~",NULL);
-#if GLIB_CHECK_VERSION(2,8,0) && !defined G_OS_WIN32
+#if !defined G_OS_WIN32
/* Check that we can create the other files */
if ( g_file_test(dirname, G_FILE_TEST_EXISTS)
&& g_access(dirname, W_OK) != 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]