gwin32fsmonitorutils: coding style fixes

This commit is contained in:
Ignacio Casal Quinteiro
2016-03-01 08:37:14 +01:00
parent 7f60cbb701
commit 007e3c5939

View File

@@ -32,7 +32,7 @@
static gboolean
g_win32_fs_monitor_handle_event (GWin32FSMonitorPrivate *monitor,
gchar *filename,
const gchar *filename,
PFILE_NOTIFY_INFORMATION pfni)
{
GFileMonitorEvent fme;
@@ -103,6 +103,7 @@ g_win32_fs_monitor_handle_event (GWin32FSMonitorPrivate *monitor,
g_assert_not_reached ();
break;
}
if (fme != -1)
return g_file_monitor_source_handle_event (monitor->fms,
fme,
@@ -153,7 +154,9 @@ g_win32_fs_monitor_callback (DWORD error,
glong file_name_len;
gchar *changed_file;
changed_file = g_utf16_to_utf8 (pfile_notify_walker->FileName, pfile_notify_walker->FileNameLength / sizeof(WCHAR), NULL, &file_name_len, NULL);
changed_file = g_utf16_to_utf8 (pfile_notify_walker->FileName,
pfile_notify_walker->FileNameLength / sizeof(WCHAR),
NULL, &file_name_len, NULL);
if (monitor->isfile)
{
@@ -220,6 +223,7 @@ g_win32_fs_monitor_callback (DWORD error,
g_free (changed_file);
}
monitor->pfni_prev = pfile_notify_walker;
offset += pfile_notify_walker->NextEntryOffset;
}