summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 18:04:33 +0200
committerraveit65 <[email protected]>2021-12-11 16:12:28 +0100
commit812c6ed2fc55b62925e1c147eb661f9dca5e1735 (patch)
tree2627a864c1d14b720ff1dda95e5695388aa6a6c3
parent727cdfd03c7c66711f88b2b3a424b800e32e767e (diff)
downloadmate-polkit-812c6ed2fc55b62925e1c147eb661f9dca5e1735.tar.bz2
mate-polkit-812c6ed2fc55b62925e1c147eb661f9dca5e1735.tar.xz
Use a blank line at most
-rw-r--r--src/main.c1
-rw-r--r--src/polkitmateauthenticationdialog.c4
-rw-r--r--src/polkitmateauthenticator.c4
-rw-r--r--src/polkitmatelistener.c1
4 files changed, 0 insertions, 10 deletions
diff --git a/src/main.c b/src/main.c
index 43616cd..8c5f437 100644
--- a/src/main.c
+++ b/src/main.c
@@ -42,7 +42,6 @@
#define SM_DBUS_INTERFACE "org.gnome.SessionManager"
#define SM_CLIENT_DBUS_INTERFACE "org.gnome.SessionManager.ClientPrivate"
-
/* the Authority */
static PolkitAuthority *authority = NULL;
diff --git a/src/polkitmateauthenticationdialog.c b/src/polkitmateauthenticationdialog.c
index 5d96bf0..13123f2 100644
--- a/src/polkitmateauthenticationdialog.c
+++ b/src/polkitmateauthenticationdialog.c
@@ -277,7 +277,6 @@ create_user_combobox (PolkitMateAuthenticationDialog *dialog)
USERNAME_COL, NULL,
-1);
-
/* For each user */
for (i = 0, n = 0; dialog->priv->users[n] != NULL; n++)
{
@@ -410,7 +409,6 @@ get_image (PolkitMateAuthenticationDialog *dialog)
goto out;
}
-
pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
"dialog-password",
48,
@@ -942,7 +940,6 @@ polkit_mate_authentication_dialog_class_init (PolkitMateAuthenticationDialogClas
G_PARAM_STATIC_NICK |
G_PARAM_STATIC_BLURB));
-
g_object_class_install_property (gobject_class,
PROP_MESSAGE,
g_param_spec_string ("message",
@@ -1184,7 +1181,6 @@ polkit_mate_authentication_dialog_set_info_message (PolkitMateAuthenticationDial
gtk_label_set_markup (GTK_LABEL (dialog->priv->info_label), info_markup);
}
-
/**
* polkit_mate_authentication_dialog_cancel:
* @dialog: A #PolkitMateAuthenticationDialog.
diff --git a/src/polkitmateauthenticator.c b/src/polkitmateauthenticator.c
index 5e54c13..1ce8cc6 100644
--- a/src/polkitmateauthenticator.c
+++ b/src/polkitmateauthenticator.c
@@ -20,7 +20,6 @@
* Author: David Zeuthen <[email protected]>
*/
-
#include "config.h"
#include <string.h>
@@ -365,7 +364,6 @@ session_show_info (PolkitAgentSession *session,
gtk_window_present (GTK_WINDOW (authenticator->dialog));
}
-
static void
session_completed (PolkitAgentSession *session,
gboolean gained_authorization,
@@ -380,7 +378,6 @@ session_completed (PolkitAgentSession *session,
g_main_loop_quit (authenticator->loop);
}
-
static gboolean
do_initiate (gpointer user_data)
{
@@ -517,4 +514,3 @@ polkit_mate_authenticator_get_cookie (PolkitMateAuthenticator *authenticator)
return authenticator->cookie;
}
-
diff --git a/src/polkitmatelistener.c b/src/polkitmatelistener.c
index f97ac0a..fe8430f 100644
--- a/src/polkitmatelistener.c
+++ b/src/polkitmatelistener.c
@@ -20,7 +20,6 @@
* Author: David Zeuthen <[email protected]>
*/
-
#include "config.h"
#include <string.h>