summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 18:14:21 +0200
committerraveit65 <[email protected]>2021-12-11 15:38:28 +0100
commitd2dc831499db3f3362e98795b9078975b9958581 (patch)
tree8a842d406c9db383b8113aba8581d264554d3486 /src
parent470f498e34fa148065e717aabbc7bbe6c4017097 (diff)
downloadmate-terminal-d2dc831499db3f3362e98795b9078975b9958581.tar.bz2
mate-terminal-d2dc831499db3f3362e98795b9078975b9958581.tar.xz
Use a blank line at most
Diffstat (limited to 'src')
-rw-r--r--src/skey/btoe.c1
-rw-r--r--src/skey/md4.c5
-rw-r--r--src/skey/sha1.c1
-rw-r--r--src/skey/skey.c1
-rw-r--r--src/terminal-app.c3
-rw-r--r--src/terminal-app.h1
-rw-r--r--src/terminal-encoding.c1
-rw-r--r--src/terminal-options.c2
-rw-r--r--src/terminal-screen.c1
-rw-r--r--src/terminal-search-dialog.c6
-rw-r--r--src/terminal-search-dialog.h1
-rw-r--r--src/terminal-util.c1
-rw-r--r--src/terminal-window.c6
-rw-r--r--src/terminal.c1
14 files changed, 0 insertions, 31 deletions
diff --git a/src/skey/btoe.c b/src/skey/btoe.c
index bad4e81..f08dd3c 100644
--- a/src/skey/btoe.c
+++ b/src/skey/btoe.c
@@ -274,7 +274,6 @@ char *btoe(unsigned char *md)
}
-
/*
* Extract 'length' bits from the char array 's'
* starting with bit 'start'
diff --git a/src/skey/md4.c b/src/skey/md4.c
index 3c7fe82..ce8eb23 100644
--- a/src/skey/md4.c
+++ b/src/skey/md4.c
@@ -23,7 +23,6 @@
* written by Colin Plumb in 1993.
*/
-
#include <string.h>
#include <stdlib.h>
#include "config.h"
@@ -36,7 +35,6 @@
#else
static void byteReverse(unsigned char *buf, unsigned longs);
-
/*
* Note: this code is harmless on little-endian machines.
*/
@@ -192,7 +190,6 @@ void MD4Final(unsigned char* digest, MD4_CTX *ctx)
(a) = rotl32 ((a), (s)); \
}
-
/*
* The core of the MD4 algorithm
*/
@@ -256,7 +253,6 @@ void MD4Transform(guint32 buf[4], guint32 const in[16])
HH(c, d, a, b, in[7], 11); /* 47 */
HH(b, c, d, a, in[15], 15); /* 48 */
-
buf[0] += a;
buf[1] += b;
buf[2] += c;
@@ -292,7 +288,6 @@ int MD4Keycrunch( char *result, const char *seed, const char *passphrase)
return 0;
}
-
void MD4SKey(char *x)
{
MD4_CTX md;
diff --git a/src/skey/sha1.c b/src/skey/sha1.c
index 4537781..12fb478 100644
--- a/src/skey/sha1.c
+++ b/src/skey/sha1.c
@@ -35,7 +35,6 @@ static void byteReverse(unsigned char *buf, unsigned longs)
}
#endif
-
int SHA1Keycrunch(char *result, const char *seed, const char *passphrase)
{
char *buf;
diff --git a/src/skey/skey.c b/src/skey/skey.c
index fde2d15..0d35f9f 100644
--- a/src/skey/skey.c
+++ b/src/skey/skey.c
@@ -23,7 +23,6 @@ static struct skey_hash hash_table[] =
{ SHA1Keycrunch, SHA1SKey }
};
-
char *skey(SKeyAlgorithm algorithm, int seq, const char *seed, const char *passphrase)
{
char key[SKEY_SIZE];
diff --git a/src/terminal-app.c b/src/terminal-app.c
index 83eda4d..8c938a9 100644
--- a/src/terminal-app.c
+++ b/src/terminal-app.c
@@ -158,7 +158,6 @@ static TerminalApp *global_app = NULL;
#define ENCODING_LIST_KEY "active-encodings"
-
/* two following functions were copied from libmate-desktop to get rid
* of dependency on it
*
@@ -287,7 +286,6 @@ terminal_app_get_workspace_for_window (TerminalWindow *window)
return ret;
}
-
/* Menubar mnemonics settings handling */
static int
@@ -1438,7 +1436,6 @@ terminal_app_init (TerminalApp *app)
G_CALLBACK(terminal_app_system_font_notify_cb),
app);
-
g_signal_connect (settings_global,
"changed::" ENABLE_MNEMONICS_KEY,
G_CALLBACK(terminal_app_enable_mnemonics_notify_cb),
diff --git a/src/terminal-app.h b/src/terminal-app.h
index d6a070e..aeaca4c 100644
--- a/src/terminal-app.h
+++ b/src/terminal-app.h
@@ -130,7 +130,6 @@ void terminal_app_edit_keybindings (TerminalApp *app,
void terminal_app_edit_encodings (TerminalApp *app,
GtkWindow *transient_parent);
-
GList* terminal_app_get_profile_list (TerminalApp *app);
TerminalProfile* terminal_app_ensure_profile_fallback (TerminalApp *app);
diff --git a/src/terminal-encoding.c b/src/terminal-encoding.c
index a7e033e..36b9aca 100644
--- a/src/terminal-encoding.c
+++ b/src/terminal-encoding.c
@@ -590,7 +590,6 @@ terminal_encodings_get_builtins (void)
NULL,
(GDestroyNotify) terminal_encoding_unref);
-
/* Placeholder entry for the current locale's charset */
encoding = terminal_encoding_new ("current",
_("Current Locale"),
diff --git a/src/terminal-options.c b/src/terminal-options.c
index c58cc48..352466f 100644
--- a/src/terminal-options.c
+++ b/src/terminal-options.c
@@ -180,7 +180,6 @@ unsupported_option_callback (const gchar *option_name,
return TRUE; /* we do not want to bail out here but continue */
}
-
static gboolean G_GNUC_NORETURN
option_version_cb (const gchar *option_name,
const gchar *value,
@@ -282,7 +281,6 @@ option_profile_id_cb (const gchar *option_name,
return TRUE;
}
-
static gboolean
option_window_callback (const gchar *option_name,
const gchar *value,
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index 893c6e9..9341dd5 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -180,7 +180,6 @@ static guint n_url_regexes;
static void terminal_screen_url_match_remove (TerminalScreen *screen);
-
#ifdef ENABLE_SKEY
static const TerminalRegexPattern skey_regex_patterns[] =
{
diff --git a/src/terminal-search-dialog.c b/src/terminal-search-dialog.c
index 1957b63..2e73ee5 100644
--- a/src/terminal-search-dialog.c
+++ b/src/terminal-search-dialog.c
@@ -43,7 +43,6 @@ get_quark (void)
return quark;
}
-
#define TERMINAL_SEARCH_DIALOG_GET_PRIVATE(object) \
((TerminalSearchDialogPrivate *) g_object_get_qdata (G_OBJECT (object), get_quark ()))
@@ -68,7 +67,6 @@ typedef struct _TerminalSearchDialogPrivate
guint32 regex_compile_flags;
} TerminalSearchDialogPrivate;
-
static void update_sensitivity (void *unused,
GtkWidget *dialog);
static void response_handler (GtkWidget *dialog,
@@ -76,7 +74,6 @@ static void response_handler (GtkWidget *dialog,
gpointer data);
static void terminal_search_dialog_private_destroy (TerminalSearchDialogPrivate *priv);
-
GtkWidget *
terminal_search_dialog_new (GtkWindow *parent)
{
@@ -105,7 +102,6 @@ terminal_search_dialog_new (GtkWindow *parent)
g_object_set_qdata_full (G_OBJECT (dialog), get_quark (), priv,
(GDestroyNotify) terminal_search_dialog_private_destroy);
-
priv->search_text_entry = gtk_bin_get_child (GTK_BIN (priv->search_entry));
gtk_widget_set_size_request (priv->search_entry, 300, -1);
@@ -165,7 +161,6 @@ terminal_search_dialog_private_destroy (TerminalSearchDialogPrivate *priv)
g_free (priv);
}
-
static void
update_sensitivity (void *unused, GtkWidget *dialog)
{
@@ -287,7 +282,6 @@ response_handler (GtkWidget *dialog,
history_entry_insert (priv->store, str);
}
-
void
terminal_search_dialog_set_search_text (GtkWidget *dialog,
const gchar *text)
diff --git a/src/terminal-search-dialog.h b/src/terminal-search-dialog.h
index 02e6372..8a91d1e 100644
--- a/src/terminal-search-dialog.h
+++ b/src/terminal-search-dialog.h
@@ -33,7 +33,6 @@ typedef enum _TerminalSearchFlags
TERMINAL_SEARCH_FLAG_WRAP_AROUND = 1 << 1
} TerminalSearchFlags;
-
GtkWidget *terminal_search_dialog_new (GtkWindow *parent);
void terminal_search_dialog_present (GtkWidget *dialog);
diff --git a/src/terminal-util.c b/src/terminal-util.c
index e906f42..338ded3 100644
--- a/src/terminal-util.c
+++ b/src/terminal-util.c
@@ -168,7 +168,6 @@ terminal_util_set_atk_name_description (GtkWidget *widget,
return;
}
-
if (!GTK_IS_ACCESSIBLE (obj))
return; /* This means GAIL is not loaded so we have the NoOp accessible */
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 9b50490..5540557 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -1741,7 +1741,6 @@ terminal_window_map_event (GtkWidget *widget,
return FALSE;
}
-
static gboolean
terminal_window_state_event (GtkWidget *widget,
GdkEventWindowState *event)
@@ -3600,7 +3599,6 @@ confirm_close_window_or_tab (TerminalWindow *window,
g_list_free (tabs);
}
-
if (has_processes)
{
if (n_tabs > 1)
@@ -3614,7 +3612,6 @@ confirm_close_window_or_tab (TerminalWindow *window,
else
return FALSE;
-
builder = gtk_builder_new_from_resource (TERMINAL_RESOURCES_PATH_PREFIX G_DIR_SEPARATOR_S "ui/confirm-close-dialog.ui");
priv->confirm_close_dialog = dialog = GTK_WIDGET (gtk_builder_get_object (builder, "confirm_close_dialog"));
if (n_tabs > 1) {
@@ -4044,7 +4041,6 @@ view_zoom_normal_callback (GtkAction *action,
terminal_window_update_zoom_sensitivity (window);
}
-
static void
search_find_response_callback (GtkWidget *dialog,
int response,
@@ -4385,7 +4381,6 @@ help_about_callback (GtkAction *action,
gsize data_len, n_authors = 0, n_contributors = 0, n_artists = 0, n_documenters = 0 , i;
GPtrArray *array;
-
bytes = g_resources_lookup_data (TERMINAL_RESOURCES_PATH_PREFIX G_DIR_SEPARATOR_S "ui/terminal.about",
G_RESOURCE_LOOKUP_FLAGS_NONE,
&error);
@@ -4535,7 +4530,6 @@ terminal_window_save_state (TerminalWindow *window,
g_strfreev (tab_names);
}
-
TerminalWindow *
terminal_window_get_latest_focused (TerminalWindow *window1,
TerminalWindow *window2)
diff --git a/src/terminal.c b/src/terminal.c
index f15248f..0be68cf 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -291,7 +291,6 @@ name_acquired_cb (GDBusConnection *connection,
g_assert_not_reached ();
}
-
if (!terminal_app_handle_options (terminal_app_get (), data->options, TRUE /* do resume */, &error))
{
g_printerr ("Failed to handle options: %s\n", error->message);