From f82081215e1f29140ab9c70e897ac62e9b456919 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Sun, 26 May 2024 21:13:08 +0200 Subject: add trailing newlines everywhere --- src/widgets/control-center/control-button.c | 2 +- src/widgets/control-center/control-button.h | 2 +- src/widgets/control-center/control-details-item.c | 2 +- src/widgets/control-center/control-details-item.h | 2 +- src/widgets/control-center/control-details.c | 2 +- src/widgets/control-center/control-details.h | 2 +- src/widgets/control-center/control-slider.c | 2 +- src/widgets/control-center/control-slider.h | 2 +- src/widgets/control-center/meson.build | 2 +- src/widgets/inset-container.c | 2 +- src/widgets/inset-container.h | 2 +- src/widgets/limit-container.c | 2 +- src/widgets/limit-container.h | 2 +- src/widgets/meson.build | 2 +- src/widgets/notification-widget.c | 2 +- src/widgets/notification-widget.h | 2 +- src/widgets/panel/meson.build | 2 +- src/widgets/panel/panel-item-clock.c | 2 +- src/widgets/panel/panel-item-clock.h | 2 +- src/widgets/panel/panel-item-icon.c | 2 +- src/widgets/panel/panel-item-icon.h | 2 +- src/widgets/panel/panel-item-status.c | 2 +- src/widgets/panel/panel-item-status.h | 2 +- src/widgets/panel/panel-item-workspaces.c | 2 +- src/widgets/panel/panel-item-workspaces.h | 2 +- src/widgets/panel/panel-item.c | 2 +- src/widgets/panel/panel-item.h | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-) (limited to 'src/widgets') 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 -- cgit v1.3.1