[packagekit] [PATCH] error: `application' undeclared (first use in this function)

S.Çağlar Onur caglar at pardus.org.tr
Fri Oct 26 14:23:14 PDT 2007


Hi;

Could you please push this into PackageKit-Gnome to solve following error introduced by aa85dd88cb598f6fe613cad219a6746822304027;

...
pk-update-viewer.c: In function `pk_updates_progress_changed_cb':
pk-update-viewer.c:314: error: `application' undeclared (first use in this function)
pk-update-viewer.c:314: error: (Each undeclared identifier is reported only once
pk-update-viewer.c:314: error: for each function it appears in.)
make[2]: *** [pk-update-viewer.o] Hata 1
make[2]: `/home/caglar/buildbox/PackageKit-gnome/src' dizininden çıkılıyor
make[1]: *** [all-recursive] Hata 1
make[1]: `/home/caglar/buildbox/PackageKit-gnome' dizininden çıkılıyor
make: *** [all] Hata 2

diff --git a/src/pk-update-viewer.c b/src/pk-update-viewer.c
index 7a7065b..b74539a 100644
--- a/src/pk-update-viewer.c
+++ b/src/pk-update-viewer.c
@@ -311,7 +311,7 @@ pk_updates_progress_changed_cb (PkClient *client, guint percentage, guint subper
 				guint elapsed, guint remaining, gpointer data)
 {
 	pk_statusbar_set_percentage (statusbar, percentage);
-	pk_statusbar_set_remaining (application->priv->statusbar, remaining);
+	pk_statusbar_set_remaining (statusbar, remaining);
 }
 
 /**

Cheers
-- 
S.Çağlar Onur <caglar at pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!



More information about the PackageKit mailing list