[gnome-builder] ide-buffer: remove superfluous GLib version check
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] ide-buffer: remove superfluous GLib version check
- Date: Sun, 6 Nov 2016 23:10:19 +0000 (UTC)
commit 1e0227e1e474c2a5c569924f2ef0f9adabb8dd59
Author: Sebastien Lafargue <slafargue gnome org>
Date: Mon Nov 7 00:08:04 2016 +0100
ide-buffer: remove superfluous GLib version check
Not needed now that we require GLib >= 2.50
libide/buffers/ide-buffer.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libide/buffers/ide-buffer.c b/libide/buffers/ide-buffer.c
index e3d8ed6..233b3c6 100644
--- a/libide/buffers/ide-buffer.c
+++ b/libide/buffers/ide-buffer.c
@@ -769,19 +769,15 @@ ide_buffer__file_monitor_changed (IdeBuffer *self,
case G_FILE_MONITOR_EVENT_CREATED:
case G_FILE_MONITOR_EVENT_DELETED:
case G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED:
-#if GLIB_CHECK_VERSION(2,45,0)
case G_FILE_MONITOR_EVENT_RENAMED:
-#endif
IDE_TRACE_MSG ("buffer change event = %d", (int)event);
ide_buffer_queue_modify_check (self);
break;
case G_FILE_MONITOR_EVENT_PRE_UNMOUNT:
case G_FILE_MONITOR_EVENT_UNMOUNTED:
-#if GLIB_CHECK_VERSION(2,45,0)
case G_FILE_MONITOR_EVENT_MOVED_IN:
case G_FILE_MONITOR_EVENT_MOVED_OUT:
-#endif
default:
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]