[ghex] appwindow: fix ifdef for nag screen
- From: Logan Rathbone <larathbone src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ghex] appwindow: fix ifdef for nag screen
- Date: Wed, 22 Dec 2021 03:18:33 +0000 (UTC)
commit 9d483a5c1550317b0e38e5b1e453685f178b148b
Author: Logan Rathbone <poprocks gmail com>
Date: Tue Dec 21 22:17:42 2021 -0500
appwindow: fix ifdef for nag screen
src/ghex-application-window.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/ghex-application-window.c b/src/ghex-application-window.c
index 642670c..6774576 100644
--- a/src/ghex-application-window.c
+++ b/src/ghex-application-window.c
@@ -35,7 +35,7 @@
#define ACTIVE_GH \
(ghex_application_window_get_hex (self))
-#ifndef EXPERIMENTAL_MMAP
+#ifndef BACKEND_MMAP
static GFile *tmp_global_gfile_for_nag_screen;
#endif
@@ -1978,7 +1978,7 @@ ghex_application_window_add_hex (GHexApplicationWindow *self,
G_CALLBACK(file_saved_cb), self);
}
-#ifndef EXPERIMENTAL_MMAP
+#ifndef BACKEND_MMAP
/* Helper */
static void
nag_screen_response_cb (GtkDialog *nag_screen,
@@ -2072,13 +2072,13 @@ ghex_application_window_open_file (GHexApplicationWindow *self, GFile *file)
{
HexDocument *doc;
GtkHex *gh = NULL;
-#ifndef EXPERIMENTAL_MMAP
+#ifndef BACKEND_MMAP
static gboolean nag_screen_shown = FALSE;
#endif
g_return_if_fail (GHEX_IS_APPLICATION_WINDOW(self));
-#ifndef EXPERIMENTAL_MMAP
+#ifndef BACKEND_MMAP
if (! nag_screen_shown)
/* FIXME: Temporary nag-screen until we get the underlying issues
* sorted. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]