mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 15:48:54 +02:00
gwin32fsmonitorutils: coding style fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user