From d28be2650bfb4b673f1c71ff8a3d199ae22078c9 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Mon, 9 May 2022 22:00:18 +0200 Subject: [PATCH] Fix header alignment Uncrustify messed up a bit because of the it expects a semicolon for the G_* () macros See https://github.com/uncrustify/uncrustify/issues/3393 --- plugins/sip/calls-sip-provider.h | 48 ++++++++++++++++---------------- src/calls-contacts-provider.h | 22 +++++++-------- src/calls-dbus-manager.h | 12 ++++---- src/calls-settings.h | 28 +++++++++---------- 4 files changed, 55 insertions(+), 55 deletions(-) diff --git a/plugins/sip/calls-sip-provider.h b/plugins/sip/calls-sip-provider.h index edd2df0..de095d6 100644 --- a/plugins/sip/calls-sip-provider.h +++ b/plugins/sip/calls-sip-provider.h @@ -34,31 +34,31 @@ G_BEGIN_DECLS #define CALLS_TYPE_SIP_PROVIDER (calls_sip_provider_get_type ()) -G_DECLARE_FINAL_TYPE (CallsSipProvider, calls_sip_provider, CALLS, SIP_PROVIDER, CallsProvider) +G_DECLARE_FINAL_TYPE (CallsSipProvider, calls_sip_provider, CALLS, SIP_PROVIDER, CallsProvider); -CallsSipProvider *calls_sip_provider_new (void); -CallsSipOrigin *calls_sip_provider_add_origin (CallsSipProvider *self, - const char *id, - const char *host, - const char *user, - const char *password, - const char *display_name, - const char *transport_protocol, - gint port, - gboolean store_credentials); -CallsSipOrigin *calls_sip_provider_add_origin_full (CallsSipProvider *self, - const char *id, - const char *host, - const char *user, - const char *password, - const char *display_name, - const char *transport_protocol, - gint port, - gboolean auto_connect, - gboolean direct_mode, - gint local_port, - gboolean use_for_tel, - gboolean store_credentials); +CallsSipProvider *calls_sip_provider_new (void); +CallsSipOrigin *calls_sip_provider_add_origin (CallsSipProvider *self, + const char *id, + const char *host, + const char *user, + const char *password, + const char *display_name, + const char *transport_protocol, + gint port, + gboolean store_credentials); +CallsSipOrigin *calls_sip_provider_add_origin_full (CallsSipProvider *self, + const char *id, + const char *host, + const char *user, + const char *password, + const char *display_name, + const char *transport_protocol, + gint port, + gboolean auto_connect, + gboolean direct_mode, + gint local_port, + gboolean use_for_tel, + gboolean store_credentials); gboolean calls_sip_provider_remove_origin (CallsSipProvider *self, CallsSipOrigin *origin); void calls_sip_provider_load_accounts (CallsSipProvider *self, diff --git a/src/calls-contacts-provider.h b/src/calls-contacts-provider.h index 9f7d1aa..9ed1365 100644 --- a/src/calls-contacts-provider.h +++ b/src/calls-contacts-provider.h @@ -47,17 +47,17 @@ typedef void (*IdleCallback) (gpointer user_data, #define CALLS_TYPE_CONTACTS_PROVIDER (calls_contacts_provider_get_type ()) -G_DECLARE_FINAL_TYPE (CallsContactsProvider, calls_contacts_provider, CALLS, CONTACTS_PROVIDER, GObject) +G_DECLARE_FINAL_TYPE (CallsContactsProvider, calls_contacts_provider, CALLS, CONTACTS_PROVIDER, GObject); -CallsContactsProvider *calls_contacts_provider_new (CallsSettings *settings); -GeeCollection *calls_contacts_provider_get_individuals (CallsContactsProvider *self); -CallsBestMatch *calls_contacts_provider_lookup_id (CallsContactsProvider *self, - const char *id); -void calls_contacts_provider_consume_iter_on_idle (GeeIterator *iter, - IdleCallback callback, - gpointer user_data); -gboolean calls_contacts_provider_get_can_add_contacts (CallsContactsProvider *self); -void calls_contacts_provider_add_new_contact (CallsContactsProvider *self, - const char *phone_number); +CallsContactsProvider *calls_contacts_provider_new (CallsSettings *settings); +GeeCollection *calls_contacts_provider_get_individuals (CallsContactsProvider *self); +CallsBestMatch *calls_contacts_provider_lookup_id (CallsContactsProvider *self, + const char *id); +void calls_contacts_provider_consume_iter_on_idle (GeeIterator *iter, + IdleCallback callback, + gpointer user_data); +gboolean calls_contacts_provider_get_can_add_contacts (CallsContactsProvider *self); +void calls_contacts_provider_add_new_contact (CallsContactsProvider *self, + const char *phone_number); G_END_DECLS diff --git a/src/calls-dbus-manager.h b/src/calls-dbus-manager.h index 7534d42..be579b8 100644 --- a/src/calls-dbus-manager.h +++ b/src/calls-dbus-manager.h @@ -16,11 +16,11 @@ G_BEGIN_DECLS #define CALLS_TYPE_DBUS_MANAGER calls_dbus_manager_get_type () G_DECLARE_FINAL_TYPE (CallsDBusManager, calls_dbus_manager, - CALLS, DBUS_MANAGER, GObject) + CALLS, DBUS_MANAGER, GObject); -CallsDBusManager *calls_dbus_manager_new (void); -gboolean calls_dbus_manager_register (CallsDBusManager *self, - GDBusConnection *connection, - const char *object_path, - GError **error); +CallsDBusManager *calls_dbus_manager_new (void); +gboolean calls_dbus_manager_register (CallsDBusManager *self, + GDBusConnection *connection, + const char *object_path, + GError **error); G_END_DECLS diff --git a/src/calls-settings.h b/src/calls-settings.h index 2e90d68..4ce5dbb 100644 --- a/src/calls-settings.h +++ b/src/calls-settings.h @@ -30,20 +30,20 @@ G_BEGIN_DECLS #define CALLS_TYPE_SETTINGS (calls_settings_get_type ()) -G_DECLARE_FINAL_TYPE (CallsSettings, calls_settings, CALLS, SETTINGS, GObject) +G_DECLARE_FINAL_TYPE (CallsSettings, calls_settings, CALLS, SETTINGS, GObject); -CallsSettings *calls_settings_new (void); -gboolean calls_settings_get_use_default_origins (CallsSettings *self); -void calls_settings_set_use_default_origins (CallsSettings *self, - gboolean enable); -char *calls_settings_get_country_code (CallsSettings *self); -void calls_settings_set_country_code (CallsSettings *self, - const char *country_code); -char **calls_settings_get_autoload_plugins (CallsSettings *self); -void calls_settings_set_autoload_plugins (CallsSettings *self, - const char * const *plugins); -char **calls_settings_get_preferred_audio_codecs (CallsSettings *self); -void calls_settings_set_preferred_audio_codecs (CallsSettings *self, - const char * const *codecs); +CallsSettings *calls_settings_new (void); +gboolean calls_settings_get_use_default_origins (CallsSettings *self); +void calls_settings_set_use_default_origins (CallsSettings *self, + gboolean enable); +char *calls_settings_get_country_code (CallsSettings *self); +void calls_settings_set_country_code (CallsSettings *self, + const char *country_code); +char **calls_settings_get_autoload_plugins (CallsSettings *self); +void calls_settings_set_autoload_plugins (CallsSettings *self, + const char * const *plugins); +char **calls_settings_get_preferred_audio_codecs (CallsSettings *self); +void calls_settings_set_preferred_audio_codecs (CallsSettings *self, + const char * const *codecs); G_END_DECLS