diff options
Diffstat (limited to 'e-util/e-canvas-utils.c')
-rw-r--r-- | e-util/e-canvas-utils.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/e-util/e-canvas-utils.c b/e-util/e-canvas-utils.c index ec3aad3858..780db8075f 100644 --- a/e-util/e-canvas-utils.c +++ b/e-util/e-canvas-utils.c @@ -21,11 +21,11 @@ * */ -#ifdef HAVE_CONFIG_H +#include "e-canvas-utils.h" + #include <config.h> -#endif -#include "e-canvas-utils.h" +#include <libedataserver/libedataserver.h> void e_canvas_item_move_absolute (GnomeCanvasItem *item, @@ -216,7 +216,7 @@ e_canvas_item_show_area_delayed (GnomeCanvasItem *item, dac->y1 = y1; dac->x2 = x2; dac->y2 = y2; - dac->canvas = item->canvas; - g_object_ref (item->canvas); - g_timeout_add (delay, show_area_timeout, dac); + dac->canvas = g_object_ref (item->canvas); + + e_named_timeout_add (delay, show_area_timeout, dac); } |