summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-settings-daemon/main.c1
-rw-r--r--mate-settings-daemon/mate-settings-manager.c1
-rw-r--r--mate-settings-daemon/mate-settings-plugin-info.c3
-rw-r--r--plugins/a11y-keyboard/msd-a11y-keyboard-manager.c2
-rw-r--r--plugins/a11y-keyboard/msd-a11y-preferences-dialog.c2
-rw-r--r--plugins/clipboard/list.c1
-rw-r--r--plugins/clipboard/list.h2
-rw-r--r--plugins/clipboard/msd-clipboard-manager.c1
-rw-r--r--plugins/clipboard/xutils.c1
-rw-r--r--plugins/clipboard/xutils.h1
-rw-r--r--plugins/common/eggaccelerators.h1
-rw-r--r--plugins/common/msd-keygrab.h1
-rw-r--r--plugins/datetime/msd-datetime-mechanism-main.c1
-rw-r--r--plugins/datetime/msd-datetime-mechanism.c7
-rw-r--r--plugins/datetime/msd-datetime-mechanism.h1
-rw-r--r--plugins/datetime/system-timezone.c4
-rw-r--r--plugins/datetime/system-timezone.h1
-rw-r--r--plugins/housekeeping/msd-disk-space.c2
-rw-r--r--plugins/housekeeping/msd-housekeeping-manager.c2
-rw-r--r--plugins/keybindings/msd-keybindings-manager.c1
-rw-r--r--plugins/keyboard/delayed-dialog.h1
-rw-r--r--plugins/keyboard/msd-keyboard-manager.c1
-rw-r--r--plugins/keyboard/msd-keyboard-xkb.c1
-rw-r--r--plugins/mouse/msd-locate-pointer.c2
-rw-r--r--plugins/mouse/msd-mouse-manager.c3
-rw-r--r--plugins/mouse/msd-timeline.c1
-rw-r--r--plugins/mouse/msd-timeline.h2
-rw-r--r--plugins/mpris/msd-mpris-manager.c1
-rw-r--r--plugins/smartcard/msd-smartcard-manager.c1
-rw-r--r--plugins/xrandr/msd-xrandr-manager.c1
-rw-r--r--plugins/xrdb/msd-xrdb-manager.c1
-rw-r--r--plugins/xsettings/fontconfig-monitor.c2
-rw-r--r--plugins/xsettings/xsettings-manager.h2
33 files changed, 0 insertions, 55 deletions
diff --git a/mate-settings-daemon/main.c b/mate-settings-daemon/main.c
index df8dff2..9d30631 100644
--- a/mate-settings-daemon/main.c
+++ b/mate-settings-daemon/main.c
@@ -420,7 +420,6 @@ parse_args (int *argc, char ***argv)
mate_settings_profile_start (NULL);
-
context = g_option_context_new (NULL);
g_option_context_add_main_entries (context, entries, NULL);
diff --git a/mate-settings-daemon/mate-settings-manager.c b/mate-settings-daemon/mate-settings-manager.c
index 91b5d13..719d966 100644
--- a/mate-settings-daemon/mate-settings-manager.c
+++ b/mate-settings-daemon/mate-settings-manager.c
@@ -176,7 +176,6 @@ is_schema (const char *schema)
in_schema = (is_item_in_schema (non_relocatable, schema) ||
is_item_in_schema (relocatable, schema));
-
g_strfreev (non_relocatable);
g_strfreev (relocatable);
diff --git a/mate-settings-daemon/mate-settings-plugin-info.c b/mate-settings-daemon/mate-settings-plugin-info.c
index 1f51270..b258612 100644
--- a/mate-settings-daemon/mate-settings-plugin-info.c
+++ b/mate-settings-daemon/mate-settings-plugin-info.c
@@ -70,7 +70,6 @@ struct MateSettingsPluginInfoPrivate
int priority;
};
-
enum {
ACTIVATED,
DEACTIVATED,
@@ -319,7 +318,6 @@ mate_settings_plugin_info_deactivate (MateSettingsPluginInfo *info)
return TRUE;
}
-
static gboolean
load_plugin_module (MateSettingsPluginInfo *info)
{
@@ -481,7 +479,6 @@ mate_settings_plugin_info_get_copyright (MateSettingsPluginInfo *info)
return info->priv->copyright;
}
-
const char *
mate_settings_plugin_info_get_location (MateSettingsPluginInfo *info)
{
diff --git a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
index 9ccd80a..d354db5 100644
--- a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
+++ b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
@@ -640,7 +640,6 @@ ax_slowkeys_warning_post_bubble (MsdA11yKeyboardManager *manager,
#endif /* HAVE_LIBNOTIFY */
}
-
static void
ax_slowkeys_warning_post_dialog (MsdA11yKeyboardManager *manager,
gboolean enabled)
@@ -1144,7 +1143,6 @@ start_a11y_keyboard_idle_cb (MsdA11yKeyboardManager *manager)
return FALSE;
}
-
gboolean
msd_a11y_keyboard_manager_start (MsdA11yKeyboardManager *manager,
GError **error)
diff --git a/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c b/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c
index 844c070..e477a61 100644
--- a/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c
+++ b/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c
@@ -42,7 +42,6 @@
#define SM_DBUS_PATH "/org/gnome/SessionManager"
#define SM_DBUS_INTERFACE "org.gnome.SessionManager"
-
#define GTKBUILDER_UI_FILE "msd-a11y-preferences-dialog.ui"
#define KEY_A11Y_SCHEMA "org.mate.accessibility-keyboard"
@@ -841,7 +840,6 @@ msd_a11y_preferences_dialog_init (MsdA11yPreferencesDialog *dialog)
G_CALLBACK (on_response),
dialog);
-
gtk_widget_show_all (GTK_WIDGET (dialog));
}
diff --git a/plugins/clipboard/list.c b/plugins/clipboard/list.c
index bc67053..90ec339 100644
--- a/plugins/clipboard/list.c
+++ b/plugins/clipboard/list.c
@@ -25,7 +25,6 @@
#include <stdlib.h>
#include <list.h>
-
void
list_foreach (List *list,
Callback func,
diff --git a/plugins/clipboard/list.h b/plugins/clipboard/list.h
index babac90..ae41ca1 100644
--- a/plugins/clipboard/list.h
+++ b/plugins/clipboard/list.h
@@ -24,12 +24,10 @@
#ifndef LIST_H
#define LIST_H
-
typedef struct _List List;
typedef void (*Callback) (void *data,
void *user_data);
-
struct _List
{
void *data;
diff --git a/plugins/clipboard/msd-clipboard-manager.c b/plugins/clipboard/msd-clipboard-manager.c
index 67b6f66..ef4007a 100644
--- a/plugins/clipboard/msd-clipboard-manager.c
+++ b/plugins/clipboard/msd-clipboard-manager.c
@@ -860,7 +860,6 @@ start_clipboard_idle_cb (MsdClipboardManager *manager)
{
XClientMessageEvent xev;
-
mate_settings_profile_start (NULL);
init_atoms (manager->priv->display);
diff --git a/plugins/clipboard/xutils.c b/plugins/clipboard/xutils.c
index e799fda..4aba854 100644
--- a/plugins/clipboard/xutils.c
+++ b/plugins/clipboard/xutils.c
@@ -42,7 +42,6 @@ Atom XA_TIMESTAMP;
unsigned long SELECTION_MAX_SIZE = 0;
-
void
init_atoms (Display *display)
{
diff --git a/plugins/clipboard/xutils.h b/plugins/clipboard/xutils.h
index 197e9dd..01aab6f 100644
--- a/plugins/clipboard/xutils.h
+++ b/plugins/clipboard/xutils.h
@@ -26,7 +26,6 @@
#include <X11/Xlib.h>
-
extern Atom XA_ATOM_PAIR;
extern Atom XA_CLIPBOARD_MANAGER;
extern Atom XA_CLIPBOARD;
diff --git a/plugins/common/eggaccelerators.h b/plugins/common/eggaccelerators.h
index 6e0e431..547cf9f 100644
--- a/plugins/common/eggaccelerators.h
+++ b/plugins/common/eggaccelerators.h
@@ -95,5 +95,4 @@ gchar* egg_virtual_accelerator_label (guint accelerator_key,
}
#endif
-
#endif /* __EGG_ACCELERATORS_H__ */
diff --git a/plugins/common/msd-keygrab.h b/plugins/common/msd-keygrab.h
index f69307f..03892ca 100644
--- a/plugins/common/msd-keygrab.h
+++ b/plugins/common/msd-keygrab.h
@@ -34,7 +34,6 @@ typedef struct {
guint *keycodes;
} Key;
-
void grab_key_unsafe (Key *key,
gboolean grab,
GSList *screens);
diff --git a/plugins/datetime/msd-datetime-mechanism-main.c b/plugins/datetime/msd-datetime-mechanism-main.c
index 3572829..be02ce6 100644
--- a/plugins/datetime/msd-datetime-mechanism-main.c
+++ b/plugins/datetime/msd-datetime-mechanism-main.c
@@ -39,7 +39,6 @@
#include <dbus/dbus-glib.h>
#include <dbus/dbus-glib-lowlevel.h>
-
#include "msd-datetime-mechanism.h"
static DBusGProxy *
diff --git a/plugins/datetime/msd-datetime-mechanism.c b/plugins/datetime/msd-datetime-mechanism.c
index 0a604f6..d94d575 100644
--- a/plugins/datetime/msd-datetime-mechanism.c
+++ b/plugins/datetime/msd-datetime-mechanism.c
@@ -88,7 +88,6 @@ msd_datetime_mechanism_error_quark (void)
return ret;
}
-
#define ENUM_ENTRY(NAME, DESC) { NAME, "" #NAME "", DESC }
GType
@@ -114,7 +113,6 @@ msd_datetime_mechanism_error_get_type (void)
return etype;
}
-
static GObject *
msd_datetime_mechanism_constructor (GType type,
guint n_construct_properties,
@@ -207,7 +205,6 @@ error:
return FALSE;
}
-
MsdDatetimeMechanism *
msd_datetime_mechanism_new (void)
{
@@ -270,7 +267,6 @@ _check_polkit_for_action (MsdDatetimeMechanism *mechanism, DBusGMethodInvocation
return TRUE;
}
-
static gboolean
_set_time (MsdDatetimeMechanism *mechanism,
const struct timeval *tv,
@@ -425,7 +421,6 @@ msd_datetime_mechanism_adjust_time (MsdDatetimeMechanism *mechanism,
return _set_time (mechanism, &tv, context);
}
-
gboolean
msd_datetime_mechanism_set_timezone (MsdDatetimeMechanism *mechanism,
const char *zone_file,
@@ -465,7 +460,6 @@ msd_datetime_mechanism_set_timezone (MsdDatetimeMechanism *mechanism,
return TRUE;
}
-
gboolean
msd_datetime_mechanism_get_timezone (MsdDatetimeMechanism *mechism,
DBusGMethodInvocation *context)
@@ -625,7 +619,6 @@ check_can_do (MsdDatetimeMechanism *mechanism,
g_object_unref (result);
}
-
gboolean
msd_datetime_mechanism_can_set_time (MsdDatetimeMechanism *mechanism,
DBusGMethodInvocation *context)
diff --git a/plugins/datetime/msd-datetime-mechanism.h b/plugins/datetime/msd-datetime-mechanism.h
index 86791f3..3a0f502 100644
--- a/plugins/datetime/msd-datetime-mechanism.h
+++ b/plugins/datetime/msd-datetime-mechanism.h
@@ -62,7 +62,6 @@ typedef enum
GType msd_datetime_mechanism_error_get_type (void);
#define MSD_DATETIME_MECHANISM_TYPE_ERROR (msd_datetime_mechanism_error_get_type ())
-
GQuark msd_datetime_mechanism_error_quark (void);
GType msd_datetime_mechanism_get_type (void);
MsdDatetimeMechanism *msd_datetime_mechanism_new (void);
diff --git a/plugins/datetime/system-timezone.c b/plugins/datetime/system-timezone.c
index e4ba56f..0672e3b 100644
--- a/plugins/datetime/system-timezone.c
+++ b/plugins/datetime/system-timezone.c
@@ -281,7 +281,6 @@ system_timezone_monitor_changed (GFileMonitor *handle G_GNUC_UNUSED,
g_free (new_tz);
}
-
/*
* Code to deal with the system timezone on all distros.
* There's no dependency on the SystemTimezone GObject here.
@@ -370,7 +369,6 @@ system_timezone_write_etc_timezone (const char *tz,
return retval;
}
-
/* Read a file that looks like a key-file (but there's no need for groups)
* and get the last value for a specific key */
static char *
@@ -696,7 +694,6 @@ recursive_compare (struct stat *localtime_stat,
return NULL;
}
-
static gboolean
files_are_identical_inode (struct stat *a_stat,
struct stat *b_stat,
@@ -707,7 +704,6 @@ files_are_identical_inode (struct stat *a_stat,
return (a_stat->st_ino == b_stat->st_ino);
}
-
/* Determine if /etc/localtime is a hard link to some file, by looking at
* the inodes */
static char *
diff --git a/plugins/datetime/system-timezone.h b/plugins/datetime/system-timezone.h
index d98ca5d..233f997 100644
--- a/plugins/datetime/system-timezone.h
+++ b/plugins/datetime/system-timezone.h
@@ -36,7 +36,6 @@ extern "C" {
#define SYSTEM_ZONEINFODIR "/usr/share/zoneinfo"
#endif
-
#define SYSTEM_TIMEZONE_TYPE (system_timezone_get_type ())
#define SYSTEM_TIMEZONE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SYSTEM_TIMEZONE_TYPE, SystemTimezone))
#define SYSTEM_TIMEZONE_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), SYSTEM_TIMEZONE_TYPE, SystemTimezoneClass))
diff --git a/plugins/housekeeping/msd-disk-space.c b/plugins/housekeeping/msd-disk-space.c
index ad1b7a0..91738e0 100644
--- a/plugins/housekeeping/msd-disk-space.c
+++ b/plugins/housekeeping/msd-disk-space.c
@@ -41,7 +41,6 @@
#include "msd-ldsm-dialog.h"
#include "msd-ldsm-trash-empty.h"
-
#define GIGABYTE 1024 * 1024 * 1024
#define CHECK_EVERY_X_SECONDS 60
@@ -280,7 +279,6 @@ ldsm_mount_is_user_ignore (const gchar *path)
return FALSE;
}
-
static gboolean
is_in (const gchar *value, const gchar *set[])
{
diff --git a/plugins/housekeeping/msd-housekeeping-manager.c b/plugins/housekeeping/msd-housekeeping-manager.c
index 8378243..1f876b3 100644
--- a/plugins/housekeeping/msd-housekeeping-manager.c
+++ b/plugins/housekeeping/msd-housekeeping-manager.c
@@ -29,7 +29,6 @@
#include "msd-housekeeping-manager.h"
#include "msd-disk-space.h"
-
/* General */
#define INTERVAL_ONCE_A_DAY 24*60*60
#define INTERVAL_TWO_MINUTES 2*60
@@ -64,7 +63,6 @@ typedef struct {
glong size;
} ThumbData;
-
static void
thumb_data_free (gpointer data)
{
diff --git a/plugins/keybindings/msd-keybindings-manager.c b/plugins/keybindings/msd-keybindings-manager.c
index 2077ef7..5ce7f0d 100644
--- a/plugins/keybindings/msd-keybindings-manager.c
+++ b/plugins/keybindings/msd-keybindings-manager.c
@@ -265,7 +265,6 @@ same_key (const Key *key, const Key *other)
} else if (key->keycodes != NULL || other->keycodes != NULL)
return FALSE;
-
return TRUE;
}
diff --git a/plugins/keyboard/delayed-dialog.h b/plugins/keyboard/delayed-dialog.h
index c1303f4..a8fb910 100644
--- a/plugins/keyboard/delayed-dialog.h
+++ b/plugins/keyboard/delayed-dialog.h
@@ -18,7 +18,6 @@
* 02110-1301, USA.
*/
-
#ifndef __DELAYED_DIALOG_H
#define __DELAYED_DIALOG_H
diff --git a/plugins/keyboard/msd-keyboard-manager.c b/plugins/keyboard/msd-keyboard-manager.c
index b05cddd..06bc322 100644
--- a/plugins/keyboard/msd-keyboard-manager.c
+++ b/plugins/keyboard/msd-keyboard-manager.c
@@ -74,7 +74,6 @@ G_DEFINE_TYPE_WITH_PRIVATE (MsdKeyboardManager, msd_keyboard_manager, G_TYPE_OBJ
static gpointer manager_object = NULL;
-
#ifdef HAVE_X11_EXTENSIONS_XKB_H
static gboolean xkb_set_keyboard_autorepeat_rate(int delay, int rate)
{
diff --git a/plugins/keyboard/msd-keyboard-xkb.c b/plugins/keyboard/msd-keyboard-xkb.c
index 9158fb4..d67db71 100644
--- a/plugins/keyboard/msd-keyboard-xkb.c
+++ b/plugins/keyboard/msd-keyboard-xkb.c
@@ -541,7 +541,6 @@ msd_keyboard_update_indicator_icons (void)
new_state |= (state ? 1 : 0);
xkl_debug (160, "Indicators state: %d\n", new_state);
-
for (i = sizeof (indicator_icons) / sizeof (indicator_icons[0]);
--i >= 0;) {
gtk_status_icon_set_from_icon_name (indicator_icons[i],
diff --git a/plugins/mouse/msd-locate-pointer.c b/plugins/mouse/msd-locate-pointer.c
index c19cdda..e384017 100644
--- a/plugins/mouse/msd-locate-pointer.c
+++ b/plugins/mouse/msd-locate-pointer.c
@@ -435,7 +435,6 @@ msd_locate_pointer (GdkDisplay *display)
msd_timeline_start (data->timeline);
}
-
#define KEYBOARD_GROUP_SHIFT 13
#define KEYBOARD_GROUP_MASK ((1 << 13) | (1 << 14))
@@ -576,7 +575,6 @@ set_locate_pointer (void)
}
}
-
int
main (int argc, char *argv[])
{
diff --git a/plugins/mouse/msd-mouse-manager.c b/plugins/mouse/msd-mouse-manager.c
index 75f20b5..92a5f0a 100644
--- a/plugins/mouse/msd-mouse-manager.c
+++ b/plugins/mouse/msd-mouse-manager.c
@@ -76,7 +76,6 @@
#define KEY_HORIZ_TWO_FINGER_SCROLL "horizontal-two-finger-scrolling"
#define KEY_TOUCHPAD_ENABLED "touchpad-enabled"
-
#if 0 /* FIXME need to fork (?) mousetweaks for this to work */
#define MATE_MOUSE_A11Y_SCHEMA "org.mate.accessibility-mouse"
#define KEY_MOUSE_A11Y_DWELL_ENABLE "dwell-enable"
@@ -118,7 +117,6 @@ static void set_tap_to_click_synaptics (XDeviceInfo *device_info
gint two_finger_tap,
gint three_finger_tap);
-
G_DEFINE_TYPE_WITH_PRIVATE (MsdMouseManager, msd_mouse_manager, G_TYPE_OBJECT)
static gpointer manager_object = NULL;
@@ -1627,7 +1625,6 @@ set_mousetweaks_daemon (MsdMouseManager *manager,
if (run_daemon)
manager->priv->mousetweaks_daemon_running = TRUE;
-
if (! g_spawn_command_line_async (comm, &error)) {
if (error->code == G_SPAWN_ERROR_NOENT &&
(dwell_enable || delay_enable)) {
diff --git a/plugins/mouse/msd-timeline.c b/plugins/mouse/msd-timeline.c
index 85f8079..20ad01f 100644
--- a/plugins/mouse/msd-timeline.c
+++ b/plugins/mouse/msd-timeline.c
@@ -65,7 +65,6 @@ enum {
static guint signals [LAST_SIGNAL] = { 0, };
-
static void msd_timeline_set_property (GObject *object,
guint prop_id,
const GValue *value,
diff --git a/plugins/mouse/msd-timeline.h b/plugins/mouse/msd-timeline.h
index 35082ab..5e69411 100644
--- a/plugins/mouse/msd-timeline.h
+++ b/plugins/mouse/msd-timeline.h
@@ -75,7 +75,6 @@ struct MsdTimelineClass
typedef gdouble (*MsdTimelineProgressFunc) (gdouble progress);
-
GType msd_timeline_get_type (void) G_GNUC_CONST;
GType msd_timeline_direction_get_type (void) G_GNUC_CONST;
GType msd_timeline_progress_type_get_type (void) G_GNUC_CONST;
@@ -120,7 +119,6 @@ void msd_timeline_set_progress_func (MsdTimeline
gdouble msd_timeline_get_progress (MsdTimeline *timeline);
-
#ifdef __cplusplus
}
#endif
diff --git a/plugins/mpris/msd-mpris-manager.c b/plugins/mpris/msd-mpris-manager.c
index 5ec761a..965bb5c 100644
--- a/plugins/mpris/msd-mpris-manager.c
+++ b/plugins/mpris/msd-mpris-manager.c
@@ -293,7 +293,6 @@ msd_name_vanished (GDBusConnection *connection,
}
}
-
gboolean
msd_mpris_manager_start (MsdMprisManager *manager,
GError **error)
diff --git a/plugins/smartcard/msd-smartcard-manager.c b/plugins/smartcard/msd-smartcard-manager.c
index 6fbcbbd..3da59f6 100644
--- a/plugins/smartcard/msd-smartcard-manager.c
+++ b/plugins/smartcard/msd-smartcard-manager.c
@@ -1208,7 +1208,6 @@ msd_smartcard_manager_worker_run (MsdSmartcardManagerWorker *worker)
{
GError *error;
-
error = NULL;
while (msd_smartcard_manager_worker_watch_for_and_process_event (worker, &error));
diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c
index 70b5ce0..37ae64f 100644
--- a/plugins/xrandr/msd-xrandr-manager.c
+++ b/plugins/xrandr/msd-xrandr-manager.c
@@ -1006,7 +1006,6 @@ sanitize (MsdXrandrManager *manager, GPtrArray *array)
}
}
-
/* Remove configurations that are duplicates of
* configurations earlier in the cycle
*/
diff --git a/plugins/xrdb/msd-xrdb-manager.c b/plugins/xrdb/msd-xrdb-manager.c
index f932d49..50961e6 100644
--- a/plugins/xrdb/msd-xrdb-manager.c
+++ b/plugins/xrdb/msd-xrdb-manager.c
@@ -47,7 +47,6 @@
#define USER_X_RESOURCES ".Xresources"
#define USER_X_DEFAULTS ".Xdefaults"
-
struct MsdXrdbManagerPrivate {
GtkWidget* widget;
};
diff --git a/plugins/xsettings/fontconfig-monitor.c b/plugins/xsettings/fontconfig-monitor.c
index 9669521..a87fc0b 100644
--- a/plugins/xsettings/fontconfig-monitor.c
+++ b/plugins/xsettings/fontconfig-monitor.c
@@ -74,7 +74,6 @@ monitor_files (GPtrArray *monitors,
FcStrListDone (list);
}
-
struct _fontconfig_monitor_handle {
GPtrArray *monitors;
@@ -144,7 +143,6 @@ stuff_changed (GFileMonitor *monitor G_GNUC_UNUSED,
handle->timeout = g_timeout_add_seconds (TIMEOUT_SECONDS, update, data);
}
-
fontconfig_monitor_handle_t *
fontconfig_monitor_start (GFunc notify_callback,
gpointer notify_data)
diff --git a/plugins/xsettings/xsettings-manager.h b/plugins/xsettings/xsettings-manager.h
index aff0209..0e2a471 100644
--- a/plugins/xsettings/xsettings-manager.h
+++ b/plugins/xsettings/xsettings-manager.h
@@ -63,8 +63,6 @@ XSettingsResult xsettings_manager_set_color (XSettingsManager *manager,
XSettingsColor *value);
XSettingsResult xsettings_manager_notify (XSettingsManager *manager);
-
-
#ifdef __cplusplus
}
#endif /* __cplusplus */