Fix trailing white space and end of file

This commit is contained in:
Kate Hsuan 2025-01-07 15:49:12 +08:00
parent 52bfd8d924
commit 2678cb00d4
37 changed files with 5 additions and 38 deletions

View file

@ -716,4 +716,3 @@ up_client_new_finish (GAsyncResult *res,
return g_task_propagate_pointer (G_TASK (res), error);
}

View file

@ -103,4 +103,3 @@ gboolean up_client_get_on_battery (UpClient *client);
G_END_DECLS
#endif /* __UP_CLIENT_H */

View file

@ -94,4 +94,3 @@ const gchar *up_device_get_object_path (UpDevice *device);
G_END_DECLS
#endif /* __UP_DEVICE_H */

View file

@ -352,4 +352,3 @@ up_history_item_new (void)
{
return UP_HISTORY_ITEM (g_object_new (UP_TYPE_HISTORY_ITEM, NULL));
}

View file

@ -69,4 +69,3 @@ gboolean up_history_item_set_from_string (UpHistoryItem *history_item,
G_END_DECLS
#endif /* __UP_HISTORY_ITEM_H */

View file

@ -226,4 +226,3 @@ up_stats_item_new (void)
{
return UP_STATS_ITEM (g_object_new (UP_TYPE_STATS_ITEM, NULL));
}

View file

@ -61,4 +61,3 @@ void up_stats_item_set_accuracy (UpStatsItem *stats_item,
G_END_DECLS
#endif /* __UP_STATS_ITEM_H */

View file

@ -139,4 +139,3 @@ UpDeviceLevel up_device_level_from_string (const gchar *level);
G_END_DECLS
#endif /* __UP_TYPES_H */

View file

@ -45,4 +45,3 @@
#undef __UPOWER_H_INSIDE__
#endif /* __UPOWER_H__ */

View file

@ -37,4 +37,3 @@ up_native_get_native_path (GObject *object)
{
return "/sys/dummy";
}

View file

@ -228,4 +228,3 @@ static void up_acpi_native_get_property (GObject * object, guint property_id, GV
break;
}
}

View file

@ -383,4 +383,3 @@ up_backend_new (void)
{
return g_object_new (UP_TYPE_BACKEND, NULL);
}

View file

@ -52,4 +52,3 @@ GType up_device_supply_get_type (void);
G_END_DECLS
#endif /* __UP_DEVICE_SUPPLY_H__ */

View file

@ -118,4 +118,3 @@ up_get_string_sysctl (GError **err, const gchar *format, ...)
return g_strdup ("asdf");
#endif
}

View file

@ -863,4 +863,3 @@ up_backend_new (void)
{
return g_object_new (UP_TYPE_BACKEND, NULL);
}

View file

@ -52,4 +52,3 @@ void up_device_bluez_update (UpDeviceBluez *bluez,
G_END_DECLS
#endif /* __UP_DEVICE_BLUEZ_H__ */

View file

@ -51,4 +51,3 @@ GType up_device_hid_get_type (void);
G_END_DECLS
#endif /* __UP_DEVICE_HID_H__ */

View file

@ -53,4 +53,3 @@ GType up_device_idevice_get_type (void);
G_END_DECLS
#endif /* __UP_DEVICE_IDEVICE_H__ */

View file

@ -54,4 +54,3 @@ UpDeviceState up_device_supply_get_state (GUdevDevice *native);
G_END_DECLS
#endif /* __UP_DEVICE_SUPPLY_H__ */

View file

@ -51,4 +51,3 @@ GType up_device_wup_get_type (void);
G_END_DECLS
#endif /* __UP_DEVICE_WUP_H__ */

View file

@ -39,4 +39,3 @@ gboolean up_input_get_switch_value (UpInput *input);
G_END_DECLS
#endif /* __UP_INPUT_H__ */

View file

@ -59,4 +59,3 @@ up_native_get_native_path (GObject *object)
* fallback for completeness */
return g_udev_device_get_sysfs_path (device);
}

View file

@ -685,4 +685,3 @@ up_backend_finalize (GObject *object)
G_OBJECT_CLASS (up_backend_parent_class)->finalize (object);
}

View file

@ -78,4 +78,3 @@ int up_backend_inhibitor_lock_take (UpBackend *backend,
G_END_DECLS
#endif /* __UP_BACKEND_H */

View file

@ -183,4 +183,3 @@ up_config_new (void)
}
return UP_CONFIG (up_config_object);
}

View file

@ -212,4 +212,3 @@ up_device_list_new (void)
{
return g_object_new (UP_TYPE_DEVICE_LIST, NULL);
}

View file

@ -65,4 +65,3 @@ GPtrArray *up_device_list_get_array (UpDeviceList *list);
G_END_DECLS
#endif /* __UP_DEVICE_LIST_H */

View file

@ -956,4 +956,3 @@ up_history_new (void)
{
return g_object_new (UP_TYPE_HISTORY, NULL);
}

View file

@ -91,4 +91,3 @@ void up_history_set_directory (UpHistory *history,
G_END_DECLS
#endif /* __UP_HISTORY_H */

View file

@ -30,4 +30,3 @@ const gchar *up_native_get_native_path (GObject *object);
G_END_DECLS
#endif /* __UP_NATIVE_H__ */

View file

@ -190,4 +190,3 @@ up_polkit_new (void)
{
return UP_POLKIT (g_object_new (UP_TYPE_POLKIT, NULL));
}

View file

@ -70,4 +70,3 @@ gboolean up_polkit_is_allowed (UpPolkit *polkit,
G_END_DECLS
#endif /* __UP_POLKIT_H */

View file

@ -320,4 +320,3 @@ main (int argc, char **argv)
return g_test_run ();
}