summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-04-11 23:20:54 +0100
committerRichard Hughes <richard@hughsie.com>2008-04-11 23:21:20 +0100
commit096ac3cb4f65c84c92077d0c192e597f7062d4eb (patch)
tree76346800f7d43edda757ba0ff455ea09eb408ae8
parent315aef73a46bceb3998210ddcc4cee156ae42470 (diff)
watch for all changes on the config file, to properly detect rpm upgrades
-rw-r--r--src/pk-restart-gio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pk-restart-gio.c b/src/pk-restart-gio.c
index 404d67076..d66e72490 100644
--- a/src/pk-restart-gio.c
+++ b/src/pk-restart-gio.c
@@ -90,9 +90,6 @@ static void
pk_restart_monitor_changed (GFileMonitor *monitor, GFile *file, GFile *other_file,
GFileMonitorEvent event_type, PkRestart *restart)
{
- if (event_type != G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT) {
- return;
- }
pk_debug ("emit: restart-schedule");
g_signal_emit (restart, signals [PK_RESTART_SCHEDULE], 0);
}