From 5b35976699be7206cf9b43fa1e7e36f7724c5a53 Mon Sep 17 00:00:00 2001 From: "Gergely POLONKAI (W00d5t0ck)" Date: Mon, 9 Sep 2013 11:24:39 +0200 Subject: [PATCH] Added empty GsweTimestamp and GsweMoment objects to AgWindow --- src/ag-window.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ag-window.c b/src/ag-window.c index 807cfe1..808a446 100644 --- a/src/ag-window.c +++ b/src/ag-window.c @@ -2,6 +2,8 @@ #include #include +#include + #include "ag-app.h" #include "ag-window.h" @@ -28,6 +30,9 @@ struct _AgWindowPrivate { gint tab_aspects; gint tab_points; gint tab_edit; + + GsweTimestamp *timestamp; + GsweMoment *moment; }; 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); + priv->timestamp = NULL; + priv->moment = NULL; + gtk_window_set_hide_titlebar_when_maximized(GTK_WINDOW(window), TRUE); priv->builder = gtk_builder_new();