From 72d92012349e75c3075f37b7233ddeb9c70e7a19 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 24 Sep 2017 21:45:11 -0400 Subject: mq_tab_new(): Accept source argument Also rename mq_tab_new_relative()'s last argument --- (limited to 'src') diff --git a/src/tab.c b/src/tab.c index 1fdd2ee..753a6b8 100644 --- a/src/tab.c +++ b/src/tab.c @@ -323,7 +323,7 @@ init_non_root(MqApplication *application, gchar *uri) } MqTab * -mq_tab_new(MqApplication *application, gchar *uri) +mq_tab_new(MqApplication *application, gchar *uri, MqTab *source) { MqTab *tab; @@ -333,7 +333,7 @@ mq_tab_new(MqApplication *application, gchar *uri) } MqTab * -mq_tab_new_relative(MqApplication *application, gchar *uri, MqTab *parent) +mq_tab_new_relative(MqApplication *application, gchar *uri, MqTab *source) { MqTab *tab; diff --git a/src/tab.h b/src/tab.h index 213e286..20259ab 100644 --- a/src/tab.h +++ b/src/tab.h @@ -52,10 +52,10 @@ struct MqTab { }; MqTab * -mq_tab_new(MqApplication *application, gchar *uri); +mq_tab_new(MqApplication *application, gchar *uri, MqTab *source); MqTab * -mq_tab_new_relative(MqApplication *application, gchar *uri, MqTab *parent); +mq_tab_new_relative(MqApplication *application, gchar *uri, MqTab *source); MqTab * mq_tab_new_root(void) -- cgit v0.9.1