[almanah] core: Remove unused variables from AlmanahApplication



commit fb3b0eddb3a57097712ee494dd04b0fd3867b8ae
Author: Philip Withnall <philip tecnocode co uk>
Date:   Mon Apr 18 17:41:31 2011 +0100

    core: Remove unused variables from AlmanahApplication

 src/application.c |   21 ---------------------
 1 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/src/application.c b/src/application.c
index 519f9a6..023c085 100644
--- a/src/application.c
+++ b/src/application.c
@@ -46,12 +46,6 @@ struct _AlmanahApplicationPrivate {
 	AlmanahEventManager *event_manager;
 
 	AlmanahMainWindow *main_window;
-
-	GtkWidget *search_dialog;
-	GtkWidget *date_entry_dialog;
-#ifdef ENABLE_ENCRYPTION
-	GtkWidget *preferences_dialog;
-#endif /* ENABLE_ENCRYPTION */
 };
 
 enum {
@@ -118,21 +112,6 @@ dispose (GObject *object)
 {
 	AlmanahApplicationPrivate *priv = ALMANAH_APPLICATION (object)->priv;
 
-	/* TODO */
-	if (priv->search_dialog != NULL)
-		gtk_widget_destroy (priv->search_dialog);
-	priv->search_dialog = NULL;
-
-	if (priv->date_entry_dialog != NULL)
-		gtk_widget_destroy (priv->date_entry_dialog);
-	priv->date_entry_dialog = NULL;
-
-#ifdef ENABLE_ENCRYPTION
-	if (priv->preferences_dialog != NULL)
-		gtk_widget_destroy (priv->preferences_dialog);
-	priv->preferences_dialog = NULL;
-#endif /* ENABLE_ENCRYPTION */
-
 	if (priv->main_window != NULL)
 		gtk_widget_destroy (GTK_WIDGET (priv->main_window));
 	priv->main_window = NULL;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]