summaryrefslogtreecommitdiff
path: root/src/eom-uri-converter.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:41:34 +0200
committerraveit65 <[email protected]>2021-11-20 17:09:50 +0100
commit3bd33d4b89dd74b5f523957d092acfdf49410280 (patch)
treee5db530b0c9d191a6ceb049be4f0815e48b5d020 /src/eom-uri-converter.c
parent785eb88e75c2da2dadfc1aca869761ece725abad (diff)
downloadeom-3bd33d4b89dd74b5f523957d092acfdf49410280.tar.bz2
eom-3bd33d4b89dd74b5f523957d092acfdf49410280.tar.xz
Use a blank line at most
Diffstat (limited to 'src/eom-uri-converter.c')
-rw-r--r--src/eom-uri-converter.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/eom-uri-converter.c b/src/eom-uri-converter.c
index 68c5714..345cf54 100644
--- a/src/eom-uri-converter.c
+++ b/src/eom-uri-converter.c
@@ -26,7 +26,6 @@ typedef struct {
} data;
} EomUCToken;
-
struct _EomURIConverterPrivate {
GFile *base_file;
GList *token_list;
@@ -88,7 +87,6 @@ eom_uri_converter_dispose (GObject *object)
priv->suffix = NULL;
}
-
G_OBJECT_CLASS (eom_uri_converter_parent_class)->dispose (object);
}
@@ -148,7 +146,6 @@ eom_uri_converter_class_init (EomURIConverterClass *klass)
1,
G_PARAM_READWRITE));
-
g_object_class_install_property (
object_class,
PROP_N_IMAGES,
@@ -169,7 +166,6 @@ eom_uc_error_quark (void)
return q;
}
-
static void
eom_uri_converter_set_property (GObject *object,
guint property_id,
@@ -418,7 +414,6 @@ eom_uri_converter_parse_string (EomURIConverter *conv, const char *string)
g_assert_not_reached ();
}
-
if (token != NULL) {
list = g_list_append (list, token);
}
@@ -500,7 +495,6 @@ eom_uri_converter_print_list (EomURIConverter *conv)
}
}
-
EomURIConverter*
eom_uri_converter_new (GFile *base_file, GdkPixbufFormat *img_format, const char *format_str)
{
@@ -615,7 +609,6 @@ append_counter (GString *str, gulong counter, EomURIConverter *conv)
return str;
}
-
static void
build_absolute_file (EomURIConverter *conv, EomImage *image, GString *str, /* input */
GFile **file, GdkPixbufFormat **format) /* output */
@@ -671,7 +664,6 @@ build_absolute_file (EomURIConverter *conv, EomImage *image, GString *str, /* i
g_object_unref (dir_file);
}
-
static GString*
replace_remove_chars (GString *str, gboolean convert_spaces, gunichar space_char)
{
@@ -801,11 +793,9 @@ eom_uri_converter_do (EomURIConverter *conv, EomImage *image,
g_string_free (repl_str, TRUE);
g_string_free (str, TRUE);
-
return (*file != NULL);
}
-
char*
eom_uri_converter_preview (const char *format_str, EomImage *img, GdkPixbufFormat *format,
gulong counter, guint n_images,
@@ -888,7 +878,6 @@ eom_uri_converter_preview (const char *format_str, EomImage *img, GdkPixbufForma
}
}
-
filename = NULL;
repl_str = replace_remove_chars (str, convert_spaces, space_char);