main-window,new-call-box: Move origin store from MainWindow to NewCallBox

The main window has no need to store origins now so this simplifies
things dramatically.
This commit is contained in:
Bob Ham
2018-10-05 11:27:55 +00:00
parent 21d45ec9d7
commit f4eae98458
5 changed files with 137 additions and 222 deletions

View File

@@ -25,6 +25,8 @@
#ifndef CALLS_NEW_CALL_BOX_H__
#define CALLS_NEW_CALL_BOX_H__
#include "calls-provider.h"
#include <gtk/gtk.h>
G_BEGIN_DECLS
@@ -33,6 +35,8 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (CallsNewCallBox, calls_new_call_box, CALLS, NEW_CALL_BOX, GtkBox);
CallsNewCallBox * calls_new_call_box_new (CallsProvider *provider);
G_END_DECLS
#endif /* CALLS_NEW_CALL_BOX_H__ */