summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 18:08:57 +0200
committerraveit65 <[email protected]>2021-11-20 16:04:11 +0100
commit891e848a195afe34f73b63b4d872c7e7f9f9a5c6 (patch)
tree48a71ec928bfd2764b04a6567ee52a5a735a59c9 /src
parent8297a0f47b43f5e051ad2696d0843d23b236e7ec (diff)
downloadmate-screensaver-891e848a195afe34f73b63b4d872c7e7f9f9a5c6.tar.bz2
mate-screensaver-891e848a195afe34f73b63b4d872c7e7f9f9a5c6.tar.xz
Use a blank line at most
Diffstat (limited to 'src')
-rw-r--r--src/gs-auth-pam.c1
-rw-r--r--src/gs-auth-pwent.c1
-rw-r--r--src/gs-fade.c3
-rw-r--r--src/gs-listener-dbus.c1
-rw-r--r--src/gs-lock-plug.c6
-rw-r--r--src/gs-manager.c3
-rw-r--r--src/gs-prefs.c1
-rw-r--r--src/gs-watcher-x11.c1
-rw-r--r--src/mate-screensaver-dialog.c2
-rw-r--r--src/mate-screensaver-preferences.c2
-rw-r--r--src/setuid.c2
-rw-r--r--src/subprocs.c2
-rw-r--r--src/test-passwd.c1
13 files changed, 0 insertions, 26 deletions
diff --git a/src/gs-auth-pam.c b/src/gs-auth-pam.c
index 734b80c..0420b9e 100644
--- a/src/gs-auth-pam.c
+++ b/src/gs-auth-pam.c
@@ -65,7 +65,6 @@
# define PAM_NO_DELAY(pamh) /* */
#endif /* !HAVE_PAM_FAIL_DELAY */
-
/* On SunOS 5.6, and on Linux with PAM 0.64, pam_strerror() takes two args.
On some other Linux systems with some other version of PAM (e.g.,
whichever Debian release comes with a 2.2.5 kernel) it takes one arg.
diff --git a/src/gs-auth-pwent.c b/src/gs-auth-pwent.c
index b954caa..377e5cd 100644
--- a/src/gs-auth-pwent.c
+++ b/src/gs-auth-pwent.c
@@ -213,7 +213,6 @@ gs_auth_priv_init (void)
}
}
-
gboolean
gs_auth_init (void)
{
diff --git a/src/gs-fade.c b/src/gs-fade.c
index 960dbfa..bf25b2f 100644
--- a/src/gs-fade.c
+++ b/src/gs-fade.c
@@ -48,7 +48,6 @@
/* XFree86 4.x+ Gamma fading */
-
#ifdef HAVE_XF86VMODE_GAMMA
#include <X11/extensions/xf86vmode.h>
@@ -257,7 +256,6 @@ xf86_whack_gamma (int screen,
# define XF86_VIDMODE_GAMMA_RAMP_MIN_MAJOR 2
# define XF86_VIDMODE_GAMMA_RAMP_MIN_MINOR 1
-
gboolean
gs_fade_get_enabled (GSFade *fade)
{
@@ -307,7 +305,6 @@ gamma_fade_setup (GSFade *fade)
{
/* have ramps */
-
res = XF86VidModeGetGammaRampSize (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
GDK_SCREEN_XNUMBER (gdk_screen_get_default ()),
&screen_priv->info->size);
diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c
index 21aa898..0bbd17e 100644
--- a/src/gs-listener-dbus.c
+++ b/src/gs-listener-dbus.c
@@ -2208,7 +2208,6 @@ gs_listener_class_init (GSListenerClass *klass)
G_PARAM_READWRITE));
}
-
static gboolean
screensaver_is_running (DBusConnection *connection)
{
diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index 5e09f9c..148cfab 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -62,7 +62,6 @@
#define KEY_LOCK_DIALOG_T_FMT "lock-dialog-time-format"
#define KEY_LOCK_DIALOG_D_FMT "lock-dialog-date-format"
-
#define MDM_FLEXISERVER_COMMAND "mdmflexiserver"
#define MDM_FLEXISERVER_ARGS "--startnew Standard"
@@ -137,7 +136,6 @@ struct _ResponseData
gint response_id;
};
-
enum
{
RESPONSE,
@@ -456,7 +454,6 @@ dialog_timed_out (gpointer user_data)
return FALSE;
}
-
static void
capslock_update (GSLockPlug *plug,
gboolean is_on)
@@ -687,7 +684,6 @@ gs_lock_plug_run (GSLockPlug *plug)
return ri.response_id;
}
-
static cairo_surface_t *
surface_from_pixbuf (GdkPixbuf *pixbuf)
{
@@ -872,7 +868,6 @@ frame_pixbuf (GdkPixbuf *source)
h);
rowstride = gdk_pixbuf_get_rowstride (dest);
-
data = g_new0 (guint8, h * rowstride);
surface = cairo_image_surface_create_for_data (data,
@@ -1056,7 +1051,6 @@ gs_lock_plug_show (GtkWidget *widget)
gs_profile_end ("parent");
-
if (plug->priv->auth_face_image)
{
set_face_image (plug);
diff --git a/src/gs-manager.c b/src/gs-manager.c
index 8b67846..b7f95df 100644
--- a/src/gs-manager.c
+++ b/src/gs-manager.c
@@ -267,7 +267,6 @@ manager_select_theme_for_job (GSManager *manager,
gs_job_set_command (job, command);
-
if (info != NULL)
{
gs_theme_info_unref (info);
@@ -1075,7 +1074,6 @@ remove_unfade_idle (GSManager *manager)
}
}
-
static gboolean
window_deactivated_idle (gpointer data)
{
@@ -1230,7 +1228,6 @@ unfade_idle (GSManager *manager)
return FALSE;
}
-
static void
add_unfade_idle (GSManager *manager)
{
diff --git a/src/gs-prefs.c b/src/gs-prefs.c
index 2599223..7fc8522 100644
--- a/src/gs-prefs.c
+++ b/src/gs-prefs.c
@@ -115,7 +115,6 @@ gs_prefs_class_init (GSPrefsClass *klass)
object_class->get_property = gs_prefs_get_property;
object_class->set_property = gs_prefs_set_property;
-
signals [CHANGED] =
g_signal_new ("changed",
G_TYPE_FROM_CLASS (object_class),
diff --git a/src/gs-watcher-x11.c b/src/gs-watcher-x11.c
index 418d15c..a5e69f9 100644
--- a/src/gs-watcher-x11.c
+++ b/src/gs-watcher-x11.c
@@ -642,7 +642,6 @@ disable_builtin_screensaver (GSWatcher *watcher,
}
}
-
/* This timer goes off every few minutes, whether the user is idle or not,
to try and clean up anything that has gone wrong.
diff --git a/src/mate-screensaver-dialog.c b/src/mate-screensaver-dialog.c
index d1dc21c..24c2610 100644
--- a/src/mate-screensaver-dialog.c
+++ b/src/mate-screensaver-dialog.c
@@ -421,7 +421,6 @@ static gboolean popup_dialog_idle(gpointer data)
return FALSE;
}
-
/*
* Copyright (c) 1991-2004 Jamie Zawinski <[email protected]>
* Copyright (c) 2005 William Jon McCann <[email protected]>
@@ -466,7 +465,6 @@ privileged_initialization (int* argc, char** argv)
return ret;
}
-
/*
* Copyright (c) 1991-2004 Jamie Zawinski <[email protected]>
* Copyright (c) 2005 William Jon McCann <[email protected]>
diff --git a/src/mate-screensaver-preferences.c b/src/mate-screensaver-preferences.c
index 3c7621a..e2d332d 100644
--- a/src/mate-screensaver-preferences.c
+++ b/src/mate-screensaver-preferences.c
@@ -1420,7 +1420,6 @@ spawn_command_line_on_display_sync (GdkDisplay *display,
return retval;
}
-
static GdkVisual *
get_best_visual_for_display (GdkDisplay *display)
{
@@ -1475,7 +1474,6 @@ out:
return visual;
}
-
static void
widget_set_best_visual (GtkWidget *widget)
{
diff --git a/src/setuid.c b/src/setuid.c
index b40e750..5784230 100644
--- a/src/setuid.c
+++ b/src/setuid.c
@@ -156,7 +156,6 @@ set_ids_by_number (uid_t uid,
return FALSE;
}
-
/* If we've been run as setuid or setgid to someone else (most likely root)
turn off the extra permissions so that random user-specified programs
don't get special privileges. (On some systems it is necessary to install
@@ -229,7 +228,6 @@ hack_uid (char **nolock_reason,
}
}
-
/* Locking can't work when running as root, because we have no way of
knowing what the user id of the logged in user is (so we don't know
whose password to prompt for.)
diff --git a/src/subprocs.c b/src/subprocs.c
index 344f311..969375c 100644
--- a/src/subprocs.c
+++ b/src/subprocs.c
@@ -51,7 +51,6 @@
*/
static int block_sigchld_handler = 0;
-
#ifdef HAVE_SIGACTION
sigset_t
#else /* !HAVE_SIGACTION */
@@ -157,7 +156,6 @@ await_dying_children (int pid,
}
}
-
#else /* VMS */
static void await_dying_children (saver_info *si)
{
diff --git a/src/test-passwd.c b/src/test-passwd.c
index a4313ad..debfb21 100644
--- a/src/test-passwd.c
+++ b/src/test-passwd.c
@@ -73,7 +73,6 @@ privileged_initialization (void)
return ret;
}
-
/* Figure out what locking mechanisms are supported.
*/
static gboolean