diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2024-05-26 21:13:08 +0200 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2024-05-26 21:13:08 +0200 |
| commit | f82081215e1f29140ab9c70e897ac62e9b456919 (patch) | |
| tree | 03c651baa397356e12df46ccfbba442321081fff | |
| parent | 2ee613d5dfb14d790bcdf52971a5c048f21e115c (diff) | |
add trailing newlines everywhere
79 files changed, 90 insertions, 77 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..592eb82 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +[*] +indent_style = tab +indent_size = 4 +insert_final_newline = true +max_line_length = 120 + +[*.{nix,build,scss}] +indent_style = space +indent_size = 2 @@ -2,4 +2,5 @@ buildDir/ build/ .idea/ .vscode/ +.cache/ subprojects/*/ @@ -25,7 +25,10 @@ devShells = { default = pkgs.mkShell { name = "foobar"; - packages = [ pkgs.libnotify ]; # for testing the notification daemon + packages = [ + pkgs.libnotify # for testing the notification daemon + pkgs.clang-tools + ]; inputsFrom = [ foobar ]; }; }; diff --git a/license.txt b/license.txt index 8275962..2a8c95f 100644 --- a/license.txt +++ b/license.txt @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE.
\ No newline at end of file +SOFTWARE. diff --git a/meson.build b/meson.build index 8beb181..d92faa4 100644 --- a/meson.build +++ b/meson.build @@ -23,4 +23,4 @@ endif subdir('res') subdir('src') -install_man('pub/foobar.1')
\ No newline at end of file +install_man('pub/foobar.1') diff --git a/pub/foobar.1 b/pub/foobar.1 index 117a283..2dbe77c 100644 --- a/pub/foobar.1 +++ b/pub/foobar.1 @@ -63,4 +63,4 @@ Sources at: <\f[I]https://github.com/hannesschulze/foobar\f[R]> .SH COPYRIGHT .PP -Copyright (c) 2024, the Foobar developers
\ No newline at end of file +Copyright (c) 2024, the Foobar developers diff --git a/pub/teatime.conf b/pub/teatime.conf index 21c02b5..b6be60a 100644 --- a/pub/teatime.conf +++ b/pub/teatime.conf @@ -62,4 +62,4 @@ width = 400 min-height = 48 spacing = 16 close-button-inset = -6 -time-format = %H:%M
\ No newline at end of file +time-format = %H:%M diff --git a/res/icons/README.md b/res/icons/README.md index ba405a2..72defae 100644 --- a/res/icons/README.md +++ b/res/icons/README.md @@ -24,4 +24,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -```
\ No newline at end of file +``` diff --git a/res/meson.build b/res/meson.build index 28f6137..d14a3a2 100644 --- a/res/meson.build +++ b/res/meson.build @@ -1,2 +1,2 @@ subdir('styles') -subdir('icons')
\ No newline at end of file +subdir('icons') diff --git a/res/styles/_common.scss b/res/styles/_common.scss index 4386b30..e9c3c93 100644 --- a/res/styles/_common.scss +++ b/res/styles/_common.scss @@ -2,4 +2,4 @@ @import './partials/notification'; @import './partials/panel'; @import './partials/launcher'; -@import './partials/control-center';
\ No newline at end of file +@import './partials/control-center'; diff --git a/res/styles/default.scss b/res/styles/default.scss index 9f7b9a4..5252cd1 100644 --- a/res/styles/default.scss +++ b/res/styles/default.scss @@ -1 +1 @@ -@import './monokai-pro';
\ No newline at end of file +@import './monokai-pro'; diff --git a/res/styles/monokai-pro.scss b/res/styles/monokai-pro.scss index 13601fe..5cf35b8 100644 --- a/res/styles/monokai-pro.scss +++ b/res/styles/monokai-pro.scss @@ -42,4 +42,4 @@ $foobar-dim-margin-small-vertical: 6px; $foobar-dim-font-large: 16px; $foobar-dim-font-small: 13px; -@import './common';
\ No newline at end of file +@import './common'; diff --git a/res/styles/partials/_base.scss b/res/styles/partials/_base.scss index 4e4b88b..b64c475 100644 --- a/res/styles/partials/_base.scss +++ b/res/styles/partials/_base.scss @@ -82,4 +82,4 @@ scale { border-color: $foobar-color-accent-primary; box-shadow: none; } -}
\ No newline at end of file +} diff --git a/res/styles/partials/_control-center.scss b/res/styles/partials/_control-center.scss index 991f8e1..e91a105 100644 --- a/res/styles/partials/_control-center.scss +++ b/res/styles/partials/_control-center.scss @@ -139,4 +139,4 @@ window.control-center { font-size: $foobar-dim-font-large; color: $foobar-color-foreground-secondary; } -}
\ No newline at end of file +} diff --git a/res/styles/partials/_launcher.scss b/res/styles/partials/_launcher.scss index baf002e..55d6bd0 100644 --- a/res/styles/partials/_launcher.scss +++ b/res/styles/partials/_launcher.scss @@ -64,4 +64,4 @@ window.launcher { color: $foobar-color-foreground-secondary; } } -}
\ No newline at end of file +} diff --git a/res/styles/partials/_notification.scss b/res/styles/partials/_notification.scss index cfcbd40..a531b87 100644 --- a/res/styles/partials/_notification.scss +++ b/res/styles/partials/_notification.scss @@ -64,4 +64,4 @@ window.notification-area { & row:selected { background: transparent; } -}
\ No newline at end of file +} diff --git a/res/styles/partials/_panel.scss b/res/styles/partials/_panel.scss index 33cb580..ae9ffdf 100644 --- a/res/styles/partials/_panel.scss +++ b/res/styles/partials/_panel.scss @@ -126,4 +126,4 @@ window.panel { font-size: $foobar-dim-font-small; } } -}
\ No newline at end of file +} diff --git a/src/application.c b/src/application.c index 485078a..a32e1ce 100644 --- a/src/application.c +++ b/src/application.c @@ -683,4 +683,4 @@ guint foobar_application_create_panel( gtk_window_present( GTK_WINDOW( panel ) ); return gtk_application_window_get_id( GTK_APPLICATION_WINDOW( panel ) ); -}
\ No newline at end of file +} diff --git a/src/application.h b/src/application.h index efd517a..c5353c3 100644 --- a/src/application.h +++ b/src/application.h @@ -16,4 +16,4 @@ void foobar_application_toggle_control_center( FoobarApplication* void foobar_application_apply_configuration ( FoobarApplication* self, FoobarGeneralConfiguration const* config ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/control-center.c b/src/control-center.c index 23c8a1a..bb22830 100644 --- a/src/control-center.c +++ b/src/control-center.c @@ -818,4 +818,4 @@ gchar* foobar_control_center_compute_visible_notification_child_name( (void)userdata; return count > 0 ? g_strdup( STACK_ITEM_LIST ) : g_strdup( STACK_ITEM_PLACEHOLDER ); -}
\ No newline at end of file +} diff --git a/src/control-center.h b/src/control-center.h index cbdc0ae..c320017 100644 --- a/src/control-center.h +++ b/src/control-center.h @@ -24,4 +24,4 @@ void foobar_control_center_apply_configuration( FoobarControlCen FoobarControlCenterConfiguration const* config, FoobarNotificationConfiguration const* notification_config ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/dbus/meson.build b/src/dbus/meson.build index ec22def..80062bd 100644 --- a/src/dbus/meson.build +++ b/src/dbus/meson.build @@ -34,4 +34,4 @@ foobar_sources += gnome.gdbus_codegen( ['org.bluez.Device1', 'org.gtk.GDBus.C.Name', 'BluezDevice'], ['org.bluez.AgentManager1', 'org.gtk.GDBus.C.Name', 'BluezAgentManager'], ], -)
\ No newline at end of file +) diff --git a/src/launcher.c b/src/launcher.c index 115c9b7..da37715 100644 --- a/src/launcher.c +++ b/src/launcher.c @@ -616,4 +616,4 @@ gboolean foobar_launcher_is_navigation_key( guint keyval ) default: return FALSE; } -}
\ No newline at end of file +} diff --git a/src/launcher.h b/src/launcher.h index 343afd4..4c3e495 100644 --- a/src/launcher.h +++ b/src/launcher.h @@ -15,4 +15,4 @@ FoobarLauncher* foobar_launcher_new ( FoobarApplicationService* void foobar_launcher_apply_configuration( FoobarLauncher* self, FoobarLauncherConfiguration const* config ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS @@ -9,4 +9,4 @@ int main( { g_autoptr( FoobarApplication ) app = foobar_application_new( ); return g_application_run( G_APPLICATION( app ), argc, argv ); -}
\ No newline at end of file +} diff --git a/src/notification-area.c b/src/notification-area.c index e8cdba4..2db5397 100644 --- a/src/notification-area.c +++ b/src/notification-area.c @@ -193,4 +193,4 @@ void foobar_notification_area_handle_item_setup( GtkExpression* item_expr = gtk_property_expression_new( GTK_TYPE_LIST_ITEM, NULL, "item" ); gtk_expression_bind( item_expr, widget, "notification", list_item ); } -}
\ No newline at end of file +} diff --git a/src/notification-area.h b/src/notification-area.h index aad2f3f..e2e546f 100644 --- a/src/notification-area.h +++ b/src/notification-area.h @@ -15,4 +15,4 @@ FoobarNotificationArea* foobar_notification_area_new ( FoobarNoti void foobar_notification_area_apply_configuration( FoobarNotificationArea* self, FoobarNotificationConfiguration const* config ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/panel.c b/src/panel.c index 4833b72..5bc7662 100644 --- a/src/panel.c +++ b/src/panel.c @@ -345,4 +345,4 @@ void foobar_panel_handle_config_change( FoobarConfiguration const* config = foobar_configuration_service_get_current( self->configuration_service ); foobar_panel_apply_configuration( self, foobar_configuration_get_panel( config ) ); -}
\ No newline at end of file +} diff --git a/src/panel.h b/src/panel.h index 46d7299..e64a7d7 100644 --- a/src/panel.h +++ b/src/panel.h @@ -31,4 +31,4 @@ FoobarPanel* foobar_panel_new ( GtkApplication* a void foobar_panel_apply_configuration( FoobarPanel* self, FoobarPanelConfiguration const* config ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/services/application-service.c b/src/services/application-service.c index 4c81a27..3885719 100644 --- a/src/services/application-service.c +++ b/src/services/application-service.c @@ -730,4 +730,4 @@ gint foobar_application_service_sort_func( gchar const* id_a = foobar_application_item_get_id( app_a ); gchar const* id_b = foobar_application_item_get_id( app_b ); return g_strcmp0( id_a, id_b ); -}
\ No newline at end of file +} diff --git a/src/services/application-service.h b/src/services/application-service.h index 46ebd3c..3c2622a 100644 --- a/src/services/application-service.h +++ b/src/services/application-service.h @@ -26,4 +26,4 @@ G_DECLARE_FINAL_TYPE( FoobarApplicationService, foobar_application_service, FOOB FoobarApplicationService* foobar_application_service_new ( void ); GListModel* foobar_application_service_get_items( FoobarApplicationService* self ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/services/audio-service.c b/src/services/audio-service.c index 25fdad9..06345f2 100644 --- a/src/services/audio-service.c +++ b/src/services/audio-service.c @@ -927,4 +927,4 @@ gboolean foobar_audio_service_output_filter_func( FoobarAudioDevice* device = item; return foobar_audio_device_get_kind( device ) == FOOBAR_AUDIO_DEVICE_OUTPUT; -}
\ No newline at end of file +} diff --git a/src/services/audio-service.h b/src/services/audio-service.h index cd30de1..a833c20 100644 --- a/src/services/audio-service.h +++ b/src/services/audio-service.h @@ -41,4 +41,4 @@ FoobarAudioDevice* foobar_audio_service_get_default_output( FoobarAudioService* GListModel* foobar_audio_service_get_inputs ( FoobarAudioService* self ); GListModel* foobar_audio_service_get_outputs ( FoobarAudioService* self ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/services/battery-service.c b/src/services/battery-service.c index 2f21070..0457547 100644 --- a/src/services/battery-service.c +++ b/src/services/battery-service.c @@ -375,4 +375,4 @@ void foobar_battery_service_update( FoobarBatteryService* self ) self->state = new_state; g_object_notify_by_pspec( G_OBJECT( self ), props[PROP_STATE] ); } -}
\ No newline at end of file +} diff --git a/src/services/battery-service.h b/src/services/battery-service.h index 9813679..bf15c4a 100644 --- a/src/services/battery-service.h +++ b/src/services/battery-service.h @@ -33,4 +33,4 @@ G_DECLARE_FINAL_TYPE( FoobarBatteryService, foobar_battery_service, FOOBAR, BATT FoobarBatteryService* foobar_battery_service_new ( void ); FoobarBatteryState const* foobar_battery_service_get_state( FoobarBatteryService* self ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/services/bluetooth-service.c b/src/services/bluetooth-service.c index 992c3b1..eb13968 100644 --- a/src/services/bluetooth-service.c +++ b/src/services/bluetooth-service.c @@ -946,4 +946,4 @@ gint foobar_bluetooth_service_sort_func( FoobarBluetoothDevice* device_a = (FoobarBluetoothDevice*)item_a; FoobarBluetoothDevice* device_b = (FoobarBluetoothDevice*)item_b; return g_strcmp0( foobar_bluetooth_device_get_name( device_a ), foobar_bluetooth_device_get_name( device_b ) ); -}
\ No newline at end of file +} diff --git a/src/services/bluetooth-service.h b/src/services/bluetooth-service.h index 05083f2..684fd45 100644 --- a/src/services/bluetooth-service.h +++ b/src/services/bluetooth-service.h @@ -38,4 +38,4 @@ void foobar_bluetooth_service_set_enabled ( FoobarBl void foobar_bluetooth_service_set_scanning ( FoobarBluetoothService* self, gboolean value ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/services/brightness-service.h b/src/services/brightness-service.h index 5fa5538..2b3799e 100644 --- a/src/services/brightness-service.h +++ b/src/services/brightness-service.h @@ -13,4 +13,4 @@ gint foobar_brightness_service_get_percentage( FoobarBrightn void foobar_brightness_service_set_percentage( FoobarBrightnessService* self, gint percentage ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/services/clock-service.c b/src/services/clock-service.c index 421ea7d..c957011 100644 --- a/src/services/clock-service.c +++ b/src/services/clock-service.c @@ -138,4 +138,4 @@ gboolean foobar_clock_service_handle_tick( gpointer userdata ) g_object_notify_by_pspec( G_OBJECT( self ), props[PROP_TIME] ); return G_SOURCE_CONTINUE; -}
\ No newline at end of file +} diff --git a/src/services/clock-service.h b/src/services/clock-service.h index 651c5b5..d435d92 100644 --- a/src/services/clock-service.h +++ b/src/services/clock-service.h @@ -11,4 +11,4 @@ G_DECLARE_FINAL_TYPE( FoobarClockService, foobar_clock_service, FOOBAR, CLOCK_SE FoobarClockService* foobar_clock_service_new ( void ); GDateTime* foobar_clock_service_get_time( FoobarClockService* self ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/services/configuration-service.c b/src/services/configuration-service.c index b56b281..f3ca010 100644 --- a/src/services/configuration-service.c +++ b/src/services/configuration-service.c @@ -3245,4 +3245,4 @@ gchar* enum_format_help_text( GType enum_type ) } return g_string_free_and_steal( result ); -}
\ No newline at end of file +} diff --git a/src/services/configuration-service.h b/src/services/configuration-service.h index c898ae7..2c1296b 100644 --- a/src/services/configuration-service.h +++ b/src/services/configuration-service.h @@ -302,4 +302,4 @@ G_DECLARE_FINAL_TYPE( FoobarConfigurationService, foobar_configuration_service, FoobarConfigurationService* foobar_configuration_service_new ( void ); FoobarConfiguration const* foobar_configuration_service_get_current( FoobarConfigurationService* self ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/services/meson.build b/src/services/meson.build index ff1c693..990102b 100644 --- a/src/services/meson.build +++ b/src/services/meson.build @@ -9,4 +9,4 @@ foobar_sources += files( 'bluetooth-service.c', 'application-service.c', 'configuration-service.c', -)
\ No newline at end of file +) diff --git a/src/services/network-service.c b/src/services/network-service.c index bbbe857..b2d1334 100644 --- a/src/services/network-service.c +++ b/src/services/network-service.c @@ -1574,4 +1574,4 @@ void foobar_network_service_update_active( FoobarNetworkService* self ) self->active = new_active; g_object_notify_by_pspec( G_OBJECT( self ), props[PROP_ACTIVE] ); } -}
\ No newline at end of file +} diff --git a/src/services/network-service.h b/src/services/network-service.h index cab0c48..2307cec 100644 --- a/src/services/network-service.h +++ b/src/services/network-service.h @@ -59,4 +59,4 @@ FoobarNetworkAdapterWired* foobar_network_service_get_wired ( FoobarNetworkServi FoobarNetworkAdapterWifi* foobar_network_service_get_wifi ( FoobarNetworkService* self ); FoobarNetworkAdapter* foobar_network_service_get_active( FoobarNetworkService* self ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/services/notification-service.c b/src/services/notification-service.c index 64f552d..1a085f0 100644 --- a/src/services/notification-service.c +++ b/src/services/notification-service.c @@ -1830,4 +1830,4 @@ gint foobar_notification_service_sort_func( return -g_date_time_compare( foobar_notification_get_time( notification_a ), foobar_notification_get_time( notification_b ) ); -}
\ No newline at end of file +} diff --git a/src/services/notification-service.h b/src/services/notification-service.h index 29b2ca7..abcca4e 100644 --- a/src/services/notification-service.h +++ b/src/services/notification-service.h @@ -53,4 +53,4 @@ FoobarNotificationService* foobar_notification_service_new ( GListModel* foobar_notification_service_get_notifications ( FoobarNotificationService* self ); GListModel* foobar_notification_service_get_popup_notifications( FoobarNotificationService* self ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/services/workspace-service.h b/src/services/workspace-service.h index 4a4a41a..c80e7dc 100644 --- a/src/services/workspace-service.h +++ b/src/services/workspace-service.h @@ -39,4 +39,4 @@ G_DECLARE_FINAL_TYPE( FoobarWorkspaceService, foobar_workspace_service, FOOBAR, FoobarWorkspaceService* foobar_workspace_service_new ( void ); GListModel* foobar_workspace_service_get_workspaces( FoobarWorkspaceService* self ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/utils.c b/src/utils.c index af1a3c7..dae3e65 100644 --- a/src/utils.c +++ b/src/utils.c @@ -22,4 +22,4 @@ gchar* foobar_get_cache_path( gchar const* filename ) } return g_strdup_printf( "%s/%s", directory_path, filename ); -}
\ No newline at end of file +} diff --git a/src/utils.h b/src/utils.h index 0adbc21..0cd6e38 100644 --- a/src/utils.h +++ b/src/utils.h @@ -6,4 +6,4 @@ G_BEGIN_DECLS gchar* foobar_get_cache_path( gchar const* filename ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/widgets/control-center/control-button.c b/src/widgets/control-center/control-button.c index f535a61..5b6d991 100644 --- a/src/widgets/control-center/control-button.c +++ b/src/widgets/control-center/control-button.c @@ -493,4 +493,4 @@ void foobar_control_button_handle_expand_clicked( GtkButton* button, gpointer us { foobar_control_button_set_expanded( self, !foobar_control_button_is_expanded( self ) ); } -}
\ No newline at end of file +} diff --git a/src/widgets/control-center/control-button.h b/src/widgets/control-center/control-button.h index 48dcfb1..d4c3737 100644 --- a/src/widgets/control-center/control-button.h +++ b/src/widgets/control-center/control-button.h @@ -28,4 +28,4 @@ void foobar_control_button_set_expanded ( FoobarControlButton* self, void foobar_control_button_set_toggled ( FoobarControlButton* self, gboolean value ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/widgets/control-center/control-details-item.c b/src/widgets/control-center/control-details-item.c index f8858d5..cb54dd3 100644 --- a/src/widgets/control-center/control-details-item.c +++ b/src/widgets/control-center/control-details-item.c @@ -304,4 +304,4 @@ void foobar_control_details_item_set_checked( ? FOOBAR_CONTROL_DETAILS_ACCESSORY_CHECKED : FOOBAR_CONTROL_DETAILS_ACCESSORY_NONE; foobar_control_details_item_set_accessory( self, accessory ); -}
\ No newline at end of file +} diff --git a/src/widgets/control-center/control-details-item.h b/src/widgets/control-center/control-details-item.h index b9be4a7..ff890f9 100644 --- a/src/widgets/control-center/control-details-item.h +++ b/src/widgets/control-center/control-details-item.h @@ -29,4 +29,4 @@ void foobar_control_details_item_set_accessory( FoobarC void foobar_control_details_item_set_checked ( FoobarControlDetailsItem* self, gboolean value ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/widgets/control-center/control-details.c b/src/widgets/control-center/control-details.c index 4f0d422..72a90aa 100644 --- a/src/widgets/control-center/control-details.c +++ b/src/widgets/control-center/control-details.c @@ -286,4 +286,4 @@ void foobar_control_details_set_inset_top( self->inset_top = value; g_object_notify_by_pspec( G_OBJECT( self ), props[PROP_INSET_TOP] ); } -}
\ No newline at end of file +} diff --git a/src/widgets/control-center/control-details.h b/src/widgets/control-center/control-details.h index 71df683..ba7b5ec 100644 --- a/src/widgets/control-center/control-details.h +++ b/src/widgets/control-center/control-details.h @@ -19,4 +19,4 @@ void foobar_control_details_set_expanded ( FoobarControlDetails* self, void foobar_control_details_set_inset_top( FoobarControlDetails* self, gint value ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/widgets/control-center/control-slider.c b/src/widgets/control-center/control-slider.c index d98dc9e..9c69190 100644 --- a/src/widgets/control-center/control-slider.c +++ b/src/widgets/control-center/control-slider.c @@ -425,4 +425,4 @@ void foobar_control_slider_handle_expand_clicked( GtkButton* button, gpointer us { foobar_control_slider_set_expanded( self, !foobar_control_slider_is_expanded( self ) ); } -}
\ No newline at end of file +} diff --git a/src/widgets/control-center/control-slider.h b/src/widgets/control-center/control-slider.h index e7dfac0..f797b5c 100644 --- a/src/widgets/control-center/control-slider.h +++ b/src/widgets/control-center/control-slider.h @@ -25,4 +25,4 @@ void foobar_control_slider_set_expanded ( FoobarControlSlider* self, void foobar_control_slider_set_percentage( FoobarControlSlider* self, gint value ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/widgets/control-center/meson.build b/src/widgets/control-center/meson.build index 5b1252d..2cdc9ca 100644 --- a/src/widgets/control-center/meson.build +++ b/src/widgets/control-center/meson.build @@ -3,4 +3,4 @@ foobar_sources += files( 'control-slider.c', 'control-details.c', 'control-details-item.c', -)
\ No newline at end of file +) diff --git a/src/widgets/inset-container.c b/src/widgets/inset-container.c index 9b9b132..052f872 100644 --- a/src/widgets/inset-container.c +++ b/src/widgets/inset-container.c @@ -360,4 +360,4 @@ void foobar_inset_container_set_inset_vertical( gtk_widget_queue_resize( GTK_WIDGET( self ) ); g_object_notify_by_pspec( G_OBJECT( self ), props[PROP_INSET_VERTICAL] ); } -}
\ No newline at end of file +} diff --git a/src/widgets/inset-container.h b/src/widgets/inset-container.h index af0e6b1..316d2be 100644 --- a/src/widgets/inset-container.h +++ b/src/widgets/inset-container.h @@ -19,4 +19,4 @@ void foobar_inset_container_set_inset_horizontal( FoobarInsetContainer* se void foobar_inset_container_set_inset_vertical ( FoobarInsetContainer* self, gint value ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/widgets/limit-container.c b/src/widgets/limit-container.c index d0686ef..123acef 100644 --- a/src/widgets/limit-container.c +++ b/src/widgets/limit-container.c @@ -338,4 +338,4 @@ void foobar_limit_container_set_max_height( gtk_widget_queue_resize( GTK_WIDGET( self ) ); g_object_notify_by_pspec( G_OBJECT( self ), props[PROP_MAX_HEIGHT] ); } -}
\ No newline at end of file +} diff --git a/src/widgets/limit-container.h b/src/widgets/limit-container.h index c5e7e70..cad19aa 100644 --- a/src/widgets/limit-container.h +++ b/src/widgets/limit-container.h @@ -19,4 +19,4 @@ void foobar_limit_container_set_max_width ( FoobarLimitContainer* self, void foobar_limit_container_set_max_height( FoobarLimitContainer* self, gint value ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/widgets/meson.build b/src/widgets/meson.build index c6baefc..7aeb3ca 100644 --- a/src/widgets/meson.build +++ b/src/widgets/meson.build @@ -5,4 +5,4 @@ foobar_sources += files( ) subdir('control-center') -subdir('panel')
\ No newline at end of file +subdir('panel') diff --git a/src/widgets/notification-widget.c b/src/widgets/notification-widget.c index 477a57c..97cfc22 100644 --- a/src/widgets/notification-widget.c +++ b/src/widgets/notification-widget.c @@ -818,4 +818,4 @@ void foobar_notification_widget_update_margins( FoobarNotificationWidget* self ) gtk_widget_set_margin_end( self->close_button, inset ); gtk_widget_set_margin_top( self->close_button, inset ); -}
\ No newline at end of file +} diff --git a/src/widgets/notification-widget.h b/src/widgets/notification-widget.h index 3c15ee4..af9de49 100644 --- a/src/widgets/notification-widget.h +++ b/src/widgets/notification-widget.h @@ -47,4 +47,4 @@ void foobar_notification_widget_set_inset_top ( void foobar_notification_widget_set_inset_bottom ( FoobarNotificationWidget* self, gint value ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/widgets/panel/meson.build b/src/widgets/panel/meson.build index abddd6d..10afc94 100644 --- a/src/widgets/panel/meson.build +++ b/src/widgets/panel/meson.build @@ -4,4 +4,4 @@ foobar_sources += files( 'panel-item-clock.c', 'panel-item-workspaces.c', 'panel-item-status.c', -)
\ No newline at end of file +) diff --git a/src/widgets/panel/panel-item-clock.c b/src/widgets/panel/panel-item-clock.c index 1efd7fa..00b2cc5 100644 --- a/src/widgets/panel/panel-item-clock.c +++ b/src/widgets/panel/panel-item-clock.c @@ -149,4 +149,4 @@ gchar* foobar_panel_item_clock_compute_label( FoobarPanelItemClock* self = (FoobarPanelItemClock*)userdata; return g_date_time_format( time, self->format ); -}
\ No newline at end of file +} diff --git a/src/widgets/panel/panel-item-clock.h b/src/widgets/panel/panel-item-clock.h index 244da2f..5ff7e5b 100644 --- a/src/widgets/panel/panel-item-clock.h +++ b/src/widgets/panel/panel-item-clock.h @@ -12,4 +12,4 @@ G_DECLARE_FINAL_TYPE( FoobarPanelItemClock, foobar_panel_item_clock, FOOBAR, PAN FoobarPanelItem* foobar_panel_item_clock_new( FoobarPanelItemConfiguration const* config, FoobarClockService* clock_service ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/widgets/panel/panel-item-icon.c b/src/widgets/panel/panel-item-icon.c index 327f027..0a3b4e9 100644 --- a/src/widgets/panel/panel-item-icon.c +++ b/src/widgets/panel/panel-item-icon.c @@ -89,4 +89,4 @@ void foobar_panel_item_icon_handle_clicked( FoobarPanelItemIcon* self = (FoobarPanelItemIcon*)userdata; foobar_panel_item_invoke_action( FOOBAR_PANEL_ITEM( self ), self->action ); -}
\ No newline at end of file +} diff --git a/src/widgets/panel/panel-item-icon.h b/src/widgets/panel/panel-item-icon.h index 77b1144..2b4ac1f 100644 --- a/src/widgets/panel/panel-item-icon.h +++ b/src/widgets/panel/panel-item-icon.h @@ -10,4 +10,4 @@ G_DECLARE_FINAL_TYPE( FoobarPanelItemIcon, foobar_panel_item_icon, FOOBAR, PANEL FoobarPanelItem* foobar_panel_item_icon_new( FoobarPanelItemConfiguration const* config ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/widgets/panel/panel-item-status.c b/src/widgets/panel/panel-item-status.c index 4deacb4..f06bb68 100644 --- a/src/widgets/panel/panel-item-status.c +++ b/src/widgets/panel/panel-item-status.c @@ -952,4 +952,4 @@ void foobar_panel_item_status_reevaluate_network( FoobarPanelItemStatus* self ) } g_value_unset( &value ); } -}
\ No newline at end of file +} diff --git a/src/widgets/panel/panel-item-status.h b/src/widgets/panel/panel-item-status.h index e18c097..0f1cfdb 100644 --- a/src/widgets/panel/panel-item-status.h +++ b/src/widgets/panel/panel-item-status.h @@ -22,4 +22,4 @@ FoobarPanelItem* foobar_panel_item_status_new( FoobarPanelItemConfiguration cons FoobarBluetoothService* bluetooth_service, FoobarNotificationService* notification_service ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/widgets/panel/panel-item-workspaces.c b/src/widgets/panel/panel-item-workspaces.c index acdd201..dff629b 100644 --- a/src/widgets/panel/panel-item-workspaces.c +++ b/src/widgets/panel/panel-item-workspaces.c @@ -324,4 +324,4 @@ gboolean foobar_panel_item_workspaces_monitor_filter_func( gpointer item, gpoint gchar const* expected = gdk_monitor_get_connector( monitor ); gchar const* actual = foobar_workspace_get_monitor( workspace ); return !expected || !g_strcmp0( expected, actual ); -}
\ No newline at end of file +} diff --git a/src/widgets/panel/panel-item-workspaces.h b/src/widgets/panel/panel-item-workspaces.h index c9d7ef1..d179217 100644 --- a/src/widgets/panel/panel-item-workspaces.h +++ b/src/widgets/panel/panel-item-workspaces.h @@ -13,4 +13,4 @@ FoobarPanelItem* foobar_panel_item_workspaces_new( FoobarPanelItemConfiguration GdkMonitor* monitor, FoobarWorkspaceService* workspace_service ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/src/widgets/panel/panel-item.c b/src/widgets/panel/panel-item.c index f2d4383..918d9f5 100644 --- a/src/widgets/panel/panel-item.c +++ b/src/widgets/panel/panel-item.c @@ -192,4 +192,4 @@ void foobar_panel_item_invoke_action( g_warn_if_reached( ); break; } -}
\ No newline at end of file +} diff --git a/src/widgets/panel/panel-item.h b/src/widgets/panel/panel-item.h index 318bd85..12a7e35 100644 --- a/src/widgets/panel/panel-item.h +++ b/src/widgets/panel/panel-item.h @@ -20,4 +20,4 @@ void foobar_panel_item_set_child ( FoobarPanelItem* self, void foobar_panel_item_invoke_action( FoobarPanelItem* self, FoobarPanelItemAction action ); -G_END_DECLS
\ No newline at end of file +G_END_DECLS diff --git a/subprojects/gtk4-layer-shell.wrap b/subprojects/gtk4-layer-shell.wrap index 2cbc691..276d77a 100644 --- a/subprojects/gtk4-layer-shell.wrap +++ b/subprojects/gtk4-layer-shell.wrap @@ -1,4 +1,4 @@ [wrap-git] url = https://github.com/wmww/gtk4-layer-shell.git revision = v1.0.2 -depth = 1
\ No newline at end of file +depth = 1 diff --git a/subprojects/gvc.wrap b/subprojects/gvc.wrap index 0d8a956..0ee5746 100644 --- a/subprojects/gvc.wrap +++ b/subprojects/gvc.wrap @@ -1,4 +1,4 @@ [wrap-git] url = https://gitlab.gnome.org/GNOME/libgnome-volume-control.git revision = 91f3f41490666a526ed78af744507d7ee1134323 -depth = 1
\ No newline at end of file +depth = 1 |
