[Frugalware-darcs] gfpm: re-added gfpm splash screen

Priyank priyank at frugalware.org
Sun Jul 1 19:57:49 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=gfpm;a=darcs_commitdiff;h=20070701175542-5ce2c-939ba81d9e6ab54f2db2f755bc5d49ed61d48167.gz;

[re-added gfpm splash screen
Priyank <priyank at frugalware.org>**20070701175542
 * added a cleanup function that unregisters dbs at exit.
] {
hunk ./src/gfpm-db.c 25
+#include <pacman.h>
hunk ./src/gfpm-db.c 46
+void
+gfpm_db_cleanup (void)
+{
+	pacman_db_unregister (sync_db);
+	pacman_db_unregister (local_db);
+	free (repo);
+
+	return;
+}
hunk ./src/gfpm-db.h 13
+void gfpm_db_cleanup (void);
hunk ./src/gfpm-interface.c 160
-	//gtk_widget_show (gfpm_splash);
-	//gtk_widget_hide (gfpm_splash);
-	gtk_widget_show_all (gfpm_mw);
+	gtk_widget_show (gfpm_splash);
hunk ./src/gfpm-interface.c 167
+	gtk_widget_hide (gfpm_splash);
+	gtk_widget_show_all (gfpm_mw);
hunk ./src/gfpm.c 76
+	gfpm_db_cleanup ();
}


More information about the Frugalware-darcs mailing list