[gthumb] spaces to tabs
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] spaces to tabs
- Date: Sat, 19 Jun 2021 18:10:35 +0000 (UTC)
commit 6822e55bb648869d5432f429a05dcceb30375157
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun May 16 12:50:45 2021 +0200
spaces to tabs
extensions/list_tools/gth-script.c | 40 +++++++++++++++++++-------------------
gthumb/str-utils.h | 20 ++++++++++---------
gthumb/typedefs.h | 1 -
gthumb/uri-utils.h | 12 ++++++------
4 files changed, 37 insertions(+), 36 deletions(-)
---
diff --git a/extensions/list_tools/gth-script.c b/extensions/list_tools/gth-script.c
index 7d4800ae..5c9e641c 100644
--- a/extensions/list_tools/gth-script.c
+++ b/extensions/list_tools/gth-script.c
@@ -169,13 +169,13 @@ detailed_action_from_id (char *id)
static void
gth_script_set_property (GObject *object,
- guint property_id,
- const GValue *value,
- GParamSpec *pspec)
+ guint property_id,
+ const GValue *value,
+ GParamSpec *pspec)
{
GthScript *self;
- self = GTH_SCRIPT (object);
+ self = GTH_SCRIPT (object);
switch (property_id) {
case PROP_ID:
@@ -222,13 +222,13 @@ gth_script_set_property (GObject *object,
static void
gth_script_get_property (GObject *object,
- guint property_id,
- GValue *value,
- GParamSpec *pspec)
+ guint property_id,
+ GValue *value,
+ GParamSpec *pspec)
{
GthScript *self;
- self = GTH_SCRIPT (object);
+ self = GTH_SCRIPT (object);
switch (property_id) {
case PROP_ID:
@@ -277,24 +277,24 @@ gth_script_class_init (GthScriptClass *klass)
g_object_class_install_property (object_class,
PROP_ID,
g_param_spec_string ("id",
- "ID",
- "The object id",
- NULL,
- G_PARAM_READWRITE));
+ "ID",
+ "The object id",
+ NULL,
+ G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_DISPLAY_NAME,
g_param_spec_string ("display-name",
- "Display name",
- "The user visible name",
- NULL,
- G_PARAM_READWRITE));
+ "Display name",
+ "The user visible name",
+ NULL,
+ G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_COMMAND,
g_param_spec_string ("command",
- "Command",
- "The command to execute",
- NULL,
- G_PARAM_READWRITE));
+ "Command",
+ "The command to execute",
+ NULL,
+ G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_VISIBLE,
g_param_spec_boolean ("visible",
diff --git a/gthumb/str-utils.h b/gthumb/str-utils.h
index 950ad36d..0235d942 100644
--- a/gthumb/str-utils.h
+++ b/gthumb/str-utils.h
@@ -35,7 +35,7 @@ gboolean _g_str_n_equal (const char *str1,
gsize size);
void _g_str_set (char **str,
const char *value);
-char ** _g_strv_take_from_str_list
+char ** _g_strv_take_from_str_list
(GList *str_list,
int size);
char * _g_str_random (int len);
@@ -51,31 +51,32 @@ int _g_strv_find (char **strv,
const char *str);
gboolean _g_strv_contains (char **strv,
const char *str);
-char ** _g_strv_prepend (char **strv,
+char ** _g_strv_prepend (char **strv,
const char *str);
-char ** _g_strv_concat (char **strv1,
+char ** _g_strv_concat (char **strv1,
char **strv2);
gboolean _g_strv_remove (char **strv,
const char *str);
/* UTF-8 utils */
-char * _g_utf8_strndup (const char *str,
- gssize size);
+char * _g_utf8_strndup (const char *str,
+ gssize size);
const char * _g_utf8_find_str (const char *haystack,
const char *needle);
-char ** _g_utf8_split (const char *str,
+char ** _g_utf8_split (const char *str,
const char *separator,
int max_tokens);
char * _g_utf8_replace_str (const char *str,
const char *old_str,
const char *new_str);
-char * _g_utf8_replace_pattern (const char *str,
+char * _g_utf8_replace_pattern
+ (const char *str,
const char *pattern,
const char *replacement);
char * _g_utf8_last_char (const char *str,
glong *p_size);
-gboolean _g_utf8_n_equal (const char *str1,
+gboolean _g_utf8_n_equal (const char *str1,
const char *str2,
glong size);
const char * _g_utf8_after_ascii_space
@@ -94,7 +95,8 @@ char * _g_utf8_rstrip (const char *str);
char * _g_utf8_translate (const char *str,
...) G_GNUC_NULL_TERMINATED;
char * _g_utf8_escape_xml (const char *str);
-char * _g_utf8_text_escape_xml (const char *str);
+char * _g_utf8_text_escape_xml
+ (const char *str);
char * _g_utf8_remove_string_properties
(const char *str);
diff --git a/gthumb/typedefs.h b/gthumb/typedefs.h
index 1fdcb437..ca127fea 100644
--- a/gthumb/typedefs.h
+++ b/gthumb/typedefs.h
@@ -181,7 +181,6 @@ typedef void (*DialogCallback) (gboolean opened,
GtkWidget *dialog,
gpointer user_data);
-
G_END_DECLS
#endif /* TYPEDEFS_H */
diff --git a/gthumb/uri-utils.h b/gthumb/uri-utils.h
index c1987129..6c7e3dfb 100644
--- a/gthumb/uri-utils.h
+++ b/gthumb/uri-utils.h
@@ -51,9 +51,9 @@ gboolean _g_uri_split (const char *uri,
char * _g_uri_join (UriParts *parts);
void _g_uri_parts_init (UriParts *parts);
void _g_uri_parts_clear (UriParts *parts);
-char * _g_uri_get_part (const char *uri,
+char * _g_uri_get_part (const char *uri,
UriPart part);
-char * _g_uri_get_path (const char *uri);
+char * _g_uri_get_path (const char *uri);
char * _g_uri_get_basename (const char *uri);
char * _g_uri_get_extension (const char *uri);
char * _g_uri_get_scheme (const char *uri);
@@ -62,17 +62,17 @@ char * _g_uri_get_relative_path (const char *uri,
gboolean _g_uri_is_parent (const char *uri,
const char *file);
char * _g_uri_get_parent (const char *uri);
-char * _g_uri_remove_extension (const char *uri);
+char * _g_uri_remove_extension (const char *uri);
char * _g_uri_from_path (const char *path);
-const char * _g_uri_get_home (void);
+const char * _g_uri_get_home (void);
char * _g_uri_append_path (const char *uri,
const char *path);
/* Path utils */
-char ** _g_path_split_components (const char *path,
+char ** _g_path_split_components (const char *path,
int *size);
-char * _g_path_join_components (char **comp_v);
+char * _g_path_join_components (char **comp_v);
char * _g_path_join (const char *first,
...) G_GNUC_NULL_TERMINATED;
const char * _g_path_get_basename (const char *path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]