More work on merging history view
[ephy-soc.git] / lib / ephy-object-helpers.c
blob7d8112691705df39d1922fda13e72d0450fb212a
1 /*
2 * Copyright © 2005 Christian Persch
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2, or (at your option)
7 * any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 * $Id: ephy-object-helpers.c 6952 2007-03-11 19:42:02Z chpe $
21 #include "config.h"
23 #include "ephy-object-helpers.h"
25 static gboolean
26 idle_unref (gpointer object)
28 g_object_unref (object);
30 /* don't run again */
31 return FALSE;
34 void
35 ephy_object_idle_unref (gpointer object)
37 g_idle_add ((GSourceFunc) idle_unref, object);