[nautilus: 2/3] eel: self-checks: Fix misaligned arguments
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus: 2/3] eel: self-checks: Fix misaligned arguments
- Date: Mon, 19 Mar 2018 18:04:14 +0000 (UTC)
commit aa7cfcf01c64cf0cea64dd2af036ea5c9d0d63e5
Author: Alexandru Fazakas <alex fazakas97 yahoo com>
Date: Sat Mar 17 23:33:30 2018 +0200
eel: self-checks: Fix misaligned arguments
A couple of arguments were misaligned, so we placed
them properly.
eel/eel-self-checks.h | 22 +++++++++++-----------
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]