From f0716b43984a724f5efd75f1a0d4d0c82d9a1c3b Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 9 Jul 2014 12:54:42 -0400 Subject: Refactored bits of the Makefile and added Scintillua et. al. versioning. --- src/textadept.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/textadept.c') diff --git a/src/textadept.c b/src/textadept.c index 31959e2c..ebc48bc2 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -263,7 +263,7 @@ static int lL_event(lua_State *L, const char *name, ...) { } #if GTK -#if (GLIB_CHECK_VERSION(2,28,0) && SINGLE_INSTANCE) +#if GLIB_CHECK_VERSION(2,28,0) /** Processes a remote Textadept's command line arguments. */ static int a_command_line(GApplication*_, GApplicationCommandLine *cmdline, void*__) { @@ -2421,7 +2421,7 @@ int main(int argc, char **argv) { #endif #if GTK -#if (GLIB_CHECK_VERSION(2,28,0) && SINGLE_INSTANCE) +#if GLIB_CHECK_VERSION(2,28,0) int force = FALSE; for (int i = 0; i < argc; i++) if (strcmp("-f", argv[i]) == 0 || strcmp("--force", argv[i]) == 0) { @@ -2446,7 +2446,7 @@ int main(int argc, char **argv) { #endif #if GTK -#if (GLIB_CHECK_VERSION(2,28,0) && SINGLE_INSTANCE) +#if GLIB_CHECK_VERSION(2,28,0) gtk_main(); } else g_application_run(app, argc, argv); g_object_unref(app); -- cgit v1.2.3