diff options
Diffstat (limited to 'plugins/mouse')
-rw-r--r-- | plugins/mouse/msd-locate-pointer.c | 3 | ||||
-rw-r--r-- | plugins/mouse/msd-locate-pointer.h | 1 | ||||
-rw-r--r-- | plugins/mouse/msd-mouse-manager.c | 4 | ||||
-rw-r--r-- | plugins/mouse/msd-mouse-manager.h | 1 | ||||
-rw-r--r-- | plugins/mouse/msd-mouse-plugin.c | 1 | ||||
-rw-r--r-- | plugins/mouse/msd-mouse-plugin.h | 1 | ||||
-rw-r--r-- | plugins/mouse/msd-timeline.c | 4 | ||||
-rw-r--r-- | plugins/mouse/msd-timeline.h | 3 |
8 files changed, 9 insertions, 9 deletions
diff --git a/plugins/mouse/msd-locate-pointer.c b/plugins/mouse/msd-locate-pointer.c index 060e675..e384017 100644 --- a/plugins/mouse/msd-locate-pointer.c +++ b/plugins/mouse/msd-locate-pointer.c @@ -1,6 +1,7 @@ /* msd-locate-pointer.c * * Copyright (C) 2008 Carlos Garnacho <[email protected]> + * Copyright (C) 2012-2021 MATE Developers * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by @@ -434,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)) @@ -575,7 +575,6 @@ set_locate_pointer (void) } } - int main (int argc, char *argv[]) { diff --git a/plugins/mouse/msd-locate-pointer.h b/plugins/mouse/msd-locate-pointer.h index 4e3a8b3..ba4d724 100644 --- a/plugins/mouse/msd-locate-pointer.h +++ b/plugins/mouse/msd-locate-pointer.h @@ -1,5 +1,6 @@ /* * Copyright � 2001 Jonathan Blandford <[email protected]> + * Copyright (C) 2012-2021 MATE Developers * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that diff --git a/plugins/mouse/msd-mouse-manager.c b/plugins/mouse/msd-mouse-manager.c index 9d1d7c4..92a5f0a 100644 --- a/plugins/mouse/msd-mouse-manager.c +++ b/plugins/mouse/msd-mouse-manager.c @@ -1,6 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2007 William Jon McCann <[email protected]> + * Copyright (C) 2012-2021 MATE Developers * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -75,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" @@ -117,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; @@ -1626,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-mouse-manager.h b/plugins/mouse/msd-mouse-manager.h index a6b66c0..3ba203a 100644 --- a/plugins/mouse/msd-mouse-manager.h +++ b/plugins/mouse/msd-mouse-manager.h @@ -1,6 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2007 William Jon McCann <[email protected]> + * Copyright (C) 2012-2021 MATE Developers * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/plugins/mouse/msd-mouse-plugin.c b/plugins/mouse/msd-mouse-plugin.c index 730b8ce..e510771 100644 --- a/plugins/mouse/msd-mouse-plugin.c +++ b/plugins/mouse/msd-mouse-plugin.c @@ -1,6 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2007 William Jon McCann <[email protected]> + * Copyright (C) 2012-2021 MATE Developers * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/plugins/mouse/msd-mouse-plugin.h b/plugins/mouse/msd-mouse-plugin.h index f9eb865..2809c62 100644 --- a/plugins/mouse/msd-mouse-plugin.h +++ b/plugins/mouse/msd-mouse-plugin.h @@ -1,6 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2007 William Jon McCann <[email protected]> + * Copyright (C) 2012-2021 MATE Developers * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/plugins/mouse/msd-timeline.c b/plugins/mouse/msd-timeline.c index 042cd5b..3b6cf79 100644 --- a/plugins/mouse/msd-timeline.c +++ b/plugins/mouse/msd-timeline.c @@ -1,6 +1,7 @@ /* msd-timeline.c * * Copyright (C) 2008 Carlos Garnacho <[email protected]> + * Copyright (C) 2012-2021 MATE Developers * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by @@ -64,7 +65,6 @@ enum { static guint signals [LAST_SIGNAL] = { 0, }; - static void msd_timeline_set_property (GObject *object, guint prop_id, const GValue *value, @@ -646,7 +646,7 @@ msd_timeline_set_loop (MsdTimeline *timeline, g_return_if_fail (MSD_IS_TIMELINE (timeline)); priv = msd_timeline_get_instance_private (timeline); - priv->loop = loop; + priv->loop = (loop != FALSE); g_object_notify (G_OBJECT (timeline), "loop"); } diff --git a/plugins/mouse/msd-timeline.h b/plugins/mouse/msd-timeline.h index f0ed24a..5e69411 100644 --- a/plugins/mouse/msd-timeline.h +++ b/plugins/mouse/msd-timeline.h @@ -1,6 +1,7 @@ /* msdtimeline.c * * Copyright (C) 2008 Carlos Garnacho <[email protected]> + * Copyright (C) 2012-2021 MATE Developers * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by @@ -74,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; @@ -119,7 +119,6 @@ void msd_timeline_set_progress_func (MsdTimeline gdouble msd_timeline_get_progress (MsdTimeline *timeline); - #ifdef __cplusplus } #endif |