summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-10-26 18:13:25 +0200
committerBoris Faure <billiob@gmail.com>2019-10-26 18:13:25 +0200
commitc130c6f683ae1a552f6411813937e9dbcb824124 (patch)
tree73ef8e614290b92dc1930bd0f0288947dfe6f36b
parent0f5e928e375028fc2eb4f9156dcb0afeb10ebcc6 (diff)
main: change prototype for main_new()
-rw-r--r--src/bin/controls.c2
-rw-r--r--src/bin/main.h2
-rw-r--r--src/bin/win.c3
3 files changed, 3 insertions, 4 deletions
diff --git a/src/bin/controls.c b/src/bin/controls.c
index 279fea3..255eb6b 100644
--- a/src/bin/controls.c
+++ b/src/bin/controls.c
@@ -101,7 +101,7 @@ _cb_ct_new(void *data,
101 void *_event EINA_UNUSED) 101 void *_event EINA_UNUSED)
102{ 102{
103 Controls_Ctx *ctx = data; 103 Controls_Ctx *ctx = data;
104 main_new(ctx->win, ctx->term); 104 main_new(ctx->term);
105} 105}
106 106
107static void 107static void
diff --git a/src/bin/main.h b/src/bin/main.h
index 1a961d4..e870b32 100644
--- a/src/bin/main.h
+++ b/src/bin/main.h
@@ -4,7 +4,7 @@
4#include "config.h" 4#include "config.h"
5 5
6Config * main_config_get(void); 6Config * main_config_get(void);
7void main_new(Evas_Object *win, Evas_Object *term); 7void main_new(Evas_Object *term);
8void main_new_with_dir(Evas_Object *win, Evas_Object *term, const char *wdir); 8void main_new_with_dir(Evas_Object *win, Evas_Object *term, const char *wdir);
9void main_split_h(Evas_Object *win, Evas_Object *term, const char *cmd); 9void main_split_h(Evas_Object *win, Evas_Object *term, const char *cmd);
10void main_split_v(Evas_Object *win, Evas_Object *term, const char *cmd); 10void main_split_v(Evas_Object *win, Evas_Object *term, const char *cmd);
diff --git a/src/bin/win.c b/src/bin/win.c
index 05fdd34..387331b 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -3668,8 +3668,7 @@ _cb_close(void *data,
3668} 3668}
3669 3669
3670void 3670void
3671main_new(Evas_Object *_win EINA_UNUSED, 3671main_new(Evas_Object *term)
3672 Evas_Object *term)
3673{ 3672{
3674 Term *tm; 3673 Term *tm;
3675 3674