main: change prototype for main_new()

terminology-1.6
Boris Faure 3 years ago
parent 0f5e928e37
commit c130c6f683
  1. 2
      src/bin/controls.c
  2. 2
      src/bin/main.h
  3. 3
      src/bin/win.c

@ -101,7 +101,7 @@ _cb_ct_new(void *data,
void *_event EINA_UNUSED)
{
Controls_Ctx *ctx = data;
main_new(ctx->win, ctx->term);
main_new(ctx->term);
}
static void

@ -4,7 +4,7 @@
#include "config.h"
Config * main_config_get(void);
void main_new(Evas_Object *win, Evas_Object *term);
void main_new(Evas_Object *term);
void main_new_with_dir(Evas_Object *win, Evas_Object *term, const char *wdir);
void main_split_h(Evas_Object *win, Evas_Object *term, const char *cmd);
void main_split_v(Evas_Object *win, Evas_Object *term, const char *cmd);

@ -3668,8 +3668,7 @@ _cb_close(void *data,
}
void
main_new(Evas_Object *_win EINA_UNUSED,
Evas_Object *term)
main_new(Evas_Object *term)
{
Term *tm;

Loading…
Cancel
Save