diff options
author | Alexandru Fazakas <alex.fazakas97@yahoo.com> | 2018-03-17 23:33:30 +0200 |
---|---|---|
committer | Alexandru Fazakas <alex.fazakas97@yahoo.com> | 2018-03-19 14:49:44 +0200 |
commit | aa7cfcf01c64cf0cea64dd2af036ea5c9d0d63e5 (patch) | |
tree | a150625f65a318ebd4f588738c2da3bc64fa61ec | |
parent | 95ecfc8ea0629801ae1f8119f3be0b3526e6b147 (diff) | |
download | nautilus-aa7cfcf01c64cf0cea64dd2af036ea5c9d0d63e5.tar.gz |
eel: self-checks: Fix misaligned arguments
A couple of arguments were misaligned, so we placed
them properly.
-rw-r--r-- | eel/eel-self-checks.h | 22 | ||||
-rw-r--r-- | libnautilus-extension/nautilus-extension.h | 7 |
2 files changed, 14 insertions, 15 deletions
diff --git a/eel/eel-self-checks.h b/eel/eel-self-checks.h index 1b7a0da80..ac48e1fb5 100644 --- a/eel/eel-self-checks.h +++ b/eel/eel-self-checks.h @@ -48,26 +48,26 @@ void eel_exit_if_self_checks_failed (void); void eel_before_check_function (const char *name); void eel_after_check_function (void); void eel_before_check (const char *expression, - const char *file_name, - int line_number); + const char *file_name, + int line_number); void eel_after_check (void); /* Both 'result' and 'expected' get freed with g_free */ void eel_report_check_failure (char *result, - char *expected); + char *expected); void eel_check_boolean_result (gboolean result, - gboolean expected_value); + gboolean expected_value); void eel_check_integer_result (long result, - long expected_value); + long expected_value); void eel_check_double_result (double result, - double expected_value); + double expected_value); void eel_check_rectangle_result (EelIRect result, - int expected_x0, - int expected_y0, - int expected_x1, - int expected_y1); + int expected_x0, + int expected_y0, + int expected_x1, + int expected_y1); void eel_check_string_result (char *result, - const char *expected_value); + const char *expected_value); #define EEL_SELF_CHECK_FUNCTION_PROTOTYPE(function) \ void function (void); diff --git a/libnautilus-extension/nautilus-extension.h b/libnautilus-extension/nautilus-extension.h index 43d90df5a..7723f453a 100644 --- a/libnautilus-extension/nautilus-extension.h +++ b/libnautilus-extension/nautilus-extension.h @@ -15,9 +15,6 @@ * You should have received a copy of the GNU Lesser General Public * License along with libnautilus-extension. If not, see <https://www.gnu.org/licenses/>. */ - -#pragma once - #ifndef NAUTILUS_EXTENSION_H #define NAUTILUS_EXTENSION_H @@ -40,4 +37,6 @@ void nautilus_module_initialize (GTypeModule *module); void nautilus_module_shutdown (void); void nautilus_module_list_types (const GType **types, - int *num_types);
\ No newline at end of file + int *num_types); + +#endif
\ No newline at end of file |