X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgpollfilemonitor.c;h=10c2d86d2dd533bf9ef90cd731447d0a514f988b;hb=7e5e3e142f856ac80e83a9a5110b51aa4b5b0821;hp=51d04efc63dd7b21694523f10a9951f6f54ed4cd;hpb=45a1c41e8cfdeb4edeb7a671b95e599a49c6c281;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gpollfilemonitor.c b/gio/gpollfilemonitor.c index 51d04ef..10c2d86 100644 --- a/gio/gpollfilemonitor.c +++ b/gio/gpollfilemonitor.c @@ -13,9 +13,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General - * Public License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. + * Public License along with this library; if not, see . * * Author: Alexander Larsson */ @@ -28,7 +26,6 @@ #include "gfilemonitor.h" #include "gfileinfo.h" -#include "gioalias.h" static gboolean g_poll_file_monitor_cancel (GFileMonitor* monitor); static void schedule_poll_timeout (GPollFileMonitor* poll_monitor); @@ -168,7 +165,7 @@ poll_file_timeout (gpointer data) g_file_query_info_async (poll_monitor->file, G_FILE_ATTRIBUTE_ETAG_VALUE "," G_FILE_ATTRIBUTE_STANDARD_SIZE, 0, 0, NULL, got_new_info, g_object_ref (poll_monitor)); - return FALSE; + return G_SOURCE_REMOVE; } static void