Added empty GsweTimestamp and GsweMoment objects to AgWindow
This commit is contained in:
parent
4f62c07dc0
commit
5b35976699
@ -2,6 +2,8 @@
|
|||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
#include <libgd/gd.h>
|
#include <libgd/gd.h>
|
||||||
|
|
||||||
|
#include <swe-glib.h>
|
||||||
|
|
||||||
#include "ag-app.h"
|
#include "ag-app.h"
|
||||||
#include "ag-window.h"
|
#include "ag-window.h"
|
||||||
|
|
||||||
@ -28,6 +30,9 @@ struct _AgWindowPrivate {
|
|||||||
gint tab_aspects;
|
gint tab_aspects;
|
||||||
gint tab_points;
|
gint tab_points;
|
||||||
gint tab_edit;
|
gint tab_edit;
|
||||||
|
|
||||||
|
GsweTimestamp *timestamp;
|
||||||
|
GsweMoment *moment;
|
||||||
};
|
};
|
||||||
|
|
||||||
G_DEFINE_TYPE(AgWindow, ag_window, GTK_TYPE_APPLICATION_WINDOW);
|
G_DEFINE_TYPE(AgWindow, ag_window, GTK_TYPE_APPLICATION_WINDOW);
|
||||||
@ -101,6 +106,9 @@ ag_window_init(AgWindow *window)
|
|||||||
|
|
||||||
window->priv = priv = GET_PRIVATE(window);
|
window->priv = priv = GET_PRIVATE(window);
|
||||||
|
|
||||||
|
priv->timestamp = NULL;
|
||||||
|
priv->moment = NULL;
|
||||||
|
|
||||||
gtk_window_set_hide_titlebar_when_maximized(GTK_WINDOW(window), TRUE);
|
gtk_window_set_hide_titlebar_when_maximized(GTK_WINDOW(window), TRUE);
|
||||||
|
|
||||||
priv->builder = gtk_builder_new();
|
priv->builder = gtk_builder_new();
|
||||||
|
Loading…
Reference in New Issue
Block a user