diff options
| author | Bastien Nocera <hadess@hadess.net> | 2013-10-30 02:04:54 +0800 |
|---|---|---|
| committer | Matthew Barnes <mbarnes@redhat.com> | 2013-10-30 03:22:35 +0800 |
| commit | bc0d5d40ed39c92dcdf62ae891a2e99c25237d74 (patch) | |
| tree | a07763eeaa20602bd4c0620b2fe67c443c52d29c /e-util/e-activity-bar.c | |
| parent | d3e0f96c73dde49acde92f6347b9e362d85e94aa (diff) | |
| download | gsoc2013-evolution-bc0d5d40ed39c92dcdf62ae891a2e99c25237d74.tar gsoc2013-evolution-bc0d5d40ed39c92dcdf62ae891a2e99c25237d74.tar.gz gsoc2013-evolution-bc0d5d40ed39c92dcdf62ae891a2e99c25237d74.tar.bz2 gsoc2013-evolution-bc0d5d40ed39c92dcdf62ae891a2e99c25237d74.tar.lz gsoc2013-evolution-bc0d5d40ed39c92dcdf62ae891a2e99c25237d74.tar.xz gsoc2013-evolution-bc0d5d40ed39c92dcdf62ae891a2e99c25237d74.tar.zst gsoc2013-evolution-bc0d5d40ed39c92dcdf62ae891a2e99c25237d74.zip | |
Bug 710797 - Name all the timeouts added with g_timeout_add()
Diffstat (limited to 'e-util/e-activity-bar.c')
| -rw-r--r-- | e-util/e-activity-bar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/e-util/e-activity-bar.c b/e-util/e-activity-bar.c index 51435d3dda..700f3fe9cf 100644 --- a/e-util/e-activity-bar.c +++ b/e-util/e-activity-bar.c @@ -16,11 +16,11 @@ * */ -#ifdef HAVE_CONFIG_H +#include "e-activity-bar.h" + #include <config.h> -#endif -#include "e-activity-bar.h" +#include <libedataserver/libedataserver.h> #define E_ACTIVITY_BAR_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE \ @@ -70,7 +70,7 @@ activity_bar_feedback (EActivityBar *bar) /* Hold a reference on the EActivity for a short * period so the activity bar stays visible. */ - bar->priv->timeout_id = g_timeout_add_seconds_full ( + bar->priv->timeout_id = e_named_timeout_add_seconds_full ( G_PRIORITY_LOW, FEEDBACK_PERIOD, (GSourceFunc) gtk_false, g_object_ref (activity), (GDestroyNotify) g_object_unref); } |
