Mercurial > geeqie
diff src/main.c @ 793:baade53888be
used new notification in cache_maint
author | nadvornik |
---|---|
date | Fri, 06 Jun 2008 22:34:15 +0000 |
parents | a20ff446347e |
children | 278962ba162a |
line wrap: on
line diff
--- a/src/main.c Fri Jun 06 22:11:03 2008 +0000 +++ b/src/main.c Fri Jun 06 22:34:15 2008 +0000 @@ -27,6 +27,7 @@ #include "ui_bookmark.h" #include "ui_fileops.h" #include "ui_utildlg.h" +#include "cache_maint.h" #include <gdk/gdkkeysyms.h> /* for keyboard values */ @@ -679,6 +680,10 @@ #if 1 log_printf("%s %s, This is an alpha release.\n", GQ_APPNAME, VERSION); #endif + + /* register global notify functions */ + file_data_register_notify_func(cache_notify_cb, NULL, NOTIFY_PRIORITY_HIGH); + parse_command_line_for_debug_option(argc, argv); options = init_options(NULL);