summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-24 21:45:11 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-24 21:45:11 (EDT)
commit72d92012349e75c3075f37b7233ddeb9c70e7a19 (patch)
treef53939bbb2f057944c1d67eacdcda07d1b399804 /src
parent17d5285b82738863d5b8f49efc668db7f495e76c (diff)
downloadmarquee-72d92012349e75c3075f37b7233ddeb9c70e7a19.zip
marquee-72d92012349e75c3075f37b7233ddeb9c70e7a19.tar.gz
marquee-72d92012349e75c3075f37b7233ddeb9c70e7a19.tar.bz2
mq_tab_new(): Accept source argument
Also rename mq_tab_new_relative()'s last argument
Diffstat (limited to 'src')
-rw-r--r--src/tab.c4
-rw-r--r--src/tab.h4
2 files changed, 4 insertions, 4 deletions
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)