[gedit] Fix typo introduced with the doc menu idle.



commit 930db4181a1d112e16a5322140b94cf6b980a71d
Author: Paolo Borelli <pborelli gnome org>
Date:   Sun Jun 26 23:37:49 2011 +0200

    Fix typo introduced with the doc menu idle.

 gedit/gedit-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index bb34f9d..7d546ab 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -300,7 +300,7 @@ gedit_window_dispose (GObject *object)
 		window->priv->recents_handler_id = 0;
 	}
 
-	if (window->priv->update_documents_list_menu_id == 0)
+	if (window->priv->update_documents_list_menu_id != 0)
 	{
 		g_source_remove (window->priv->update_documents_list_menu_id);
 		window->priv->update_documents_list_menu_id = 0;



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