aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2014-07-09 12:54:42 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2014-07-09 12:54:42 -0400
commitf0716b43984a724f5efd75f1a0d4d0c82d9a1c3b (patch)
tree7b4291377550de0588623f18836d2772ec935b27 /src/textadept.c
parent7591a0599da60b8ead9df4e1789b69b4cd30778a (diff)
downloadtextadept-f0716b43984a724f5efd75f1a0d4d0c82d9a1c3b.tar.gz
textadept-f0716b43984a724f5efd75f1a0d4d0c82d9a1c3b.zip
Refactored bits of the Makefile and added Scintillua et. al. versioning.
Diffstat (limited to 'src/textadept.c')
-rw-r--r--src/textadept.c6
1 files changed, 3 insertions, 3 deletions
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);