[gnome-packagekit] trivial: remove some debugging that crept in



commit 0b48b4e90251c7589013309d9ba2d5a8745c6091
Author: Richard Hughes <richard hughsie com>
Date:   Thu Jun 10 21:10:47 2010 +0100

    trivial: remove some debugging that crept in

 src/gpk-update-viewer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index 2b807fa..fef49de 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -1473,7 +1473,7 @@ gpk_update_viewer_reconsider_info (GpkUpdateViewer *update_viewer)
 
 	/* not when offline */
 	egg_debug ("network status is %s", pk_network_enum_to_text (state));
-	if (state == PK_NETWORK_ENUM_OFFLINE || 1) {
+	if (state == PK_NETWORK_ENUM_OFFLINE) {
 		gpk_update_viewer_modal_error_with_timeout (update_viewer,
 				/* TRANSLATORS: title: nothing to do */
 				_("No updates are available"),



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